How to show confidence value on the screen in inference of ssd model in deepstream-app

Hi everyone.

**• Hardware Platform (GPU)**
**• DeepStream 5.0**

When I run this command to inference a video file from a tlt ssd object detection model:

deepstream-app -c deepstream_app_source1_detection_models.txt

it only shows the label of detected objects. How to append confidence value on the screen? which source could should be modified?
Appending confidence value to the labels as this video:

it should be mentioned for applying ssd inference I used these files:

  • in config_infer_primary_ssd.txt
  • and in /usr/lib/x86_64-linux-gnu/ path

you can modify process_meta() function in /opt/nvidia/deepstream/deepstream-5.0/sources/apps/sample_apps/deepstream-app/deepstream_app.c to add the confidence value on display.

1 Like

Thanks a lot, @mchi.