How to include YOLOv4 confidence score in the deepstream-app output?

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) T4
• DeepStream Version Deepstream SDK 5.1

Hi,

I am using deepstream-app integrated with YOLOv4 as primary-gie, however, in the detection output, I only get zeros for all the confidence scores. I am wondering if it is possible somehow to retrieve the confidence score corresponding to each detected object as well?

Thanks

Hi,

You could add a probe for deepstream similar to slipstream/deepstream-rtsp.py at master · MegaMosquito/slipstream · GitHub

and get the confidence from the obj_meta

obj_meta=pyds.NvDsObjectMeta.cast(l_obj.data)
obj_meta.confidence

Hi,

Thanks a lot! I will check this out and update here.

Is this still an issue to support? Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.