Probability of the detection; Deepstream Yolov3

Hello everyone, I have a Python script running with a YOLOv3 network. Objects and persons are being recognized and detected. Now, I just want to display the probability during detection. This means, instead of just writing “Person1,” for example, it should write something like “person1 0.8%.” Does anyone have a simple solution for this? I’ve only found complex solutions online. I’ve also attached my configuration file.

config_infer_primary_yoloV3.txt (3.7 KB)

Yes. You can refer to deepstream_test_1.py and learn how to show your own script on the video and get the confidence from the NvDsObjectMeta structure.

Thank you for you Response yuweiw, but thats not the solution of my Problem. I need to change the ouput. The normal outputs is like “Person1” “Car4”… i want to see the probability of the classes, too. Like “Person1 0.7” “Car4 0.9”.

There is no update from you for a period, assuming this is not an issue anymore.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

You can change the display_text to anything you want to display. As per my previous reply, you can get the confidence from the NvDsObjectMeta structure.

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