API Changes

The sections below list APIs that were added, changed, or removed.


  • We have added the ability to configure the minimum confidence of each individual class separately for AI/ML models. void addClassMinConfidence(String detectionClass, float classMinConfidence) method - Passing classname and confidence to this method will configure the minimum confidence for detectionClass. This will supersede the confidence set for the parent model.

  • Added a utility method to convert byte[]/int[] received from camera source to Bitmap which is required as an input for the detection library. The logic used for conversion in this method is simple and basic. This method is optional. Check usage

      //Populate a pre-allocated Bitmap from an ARGB byte array.
      static Bitmap argb8888ToBitmap(byte[] argb, Bitmap output)
      // Populate a pre-allocated Bitmap from ARGB pixel values.
      static Bitmap argb8888ToBitmap(int[] argb, int width, int height, Bitmap output)
  • Added List<Recognition> classifyRecognitions(List<Recognition> recognitions, Bitmap bitmap, int sensorOrientation, float minimumConfidence) method to RoadAlertsCVModel, TrafficLightCVModel which takes input from Road Basics model and classifies the status of brake light and traffic light respectively.


  • The name of the keys used to authenticate Live Sense SDK have been changed. This has been done to be able to provide separate keys for Live Sense SDK and other HERE services like HERE Maps. Before this update, the keys to be provided in AndroidManifest.xml were the following:


        <meta-data android:name="com.here.android.maps.appid"
        <meta-data android:name="com.here.android.maps.apptoken"
        <meta-data android:name="com.here.android.maps.license.key"

    The keys that will have to be provided/updated in AndroidManifest.xml are the following:


        <meta-data android:name="com.here.see.livesense.appid"
        <meta-data android:name="com.here.see.livesense.apptoken"
        <meta-data android:name="com.here.see.livesense.license.key"

    For more details, see authenticating applications.

  • Live Sense model classes now implement new interfaces Recognizer (RoadBasicsModel, RoadSignsModel, RoadHazardsModel) and Classifier (RoadAlertsCVModel, TrafficLightCVModel)


  • List<Recognition> recognizeImage(Bitmap bitmap, int sensorOrientation, float minimumConfidence) method from RoadAlertsCVModel, TrafficLightCVModel has been replaced by classifyRecognitions() method

  • Bundled OpenCV library

results matching ""

    No results matching ""