marcoslucianops / DeepStream-Yolo

NVIDIA DeepStream SDK 7.0 / 6.4 / 6.3 / 6.2 / 6.1.1 / 6.1 / 6.0.1 / 6.0 / 5.1 implementation for YOLO models
MIT License
1.39k stars 344 forks source link

Detecion information python app #402

Open storm12t48 opened 1 year ago

storm12t48 commented 1 year ago

Good morning Thank you for your very good work and I encourage you to continue But I have a question I am developing an app in python by following the examples given on the official site But I can't find a way to get detection information like inference speed for example

Thanks in advance

marcoslucianops commented 1 year ago

You can use the example from NVIDIA: https://github.com/NVIDIA-AI-IOT/deepstream_python_apps/blob/master/apps/common/FPS.py

Or you can create a custom code to do it using the GStreamer probe functions.

storm12t48 commented 1 year ago

hello Sorry I don't understand I can't get this metadata NvDsFrameLatencyInfo::latency from APi: Here Saying that the binding don't work but I would like to try the creation of the probe if you have a link or something like that

marcoslucianops commented 1 year ago

Probably, there's no bindings for the Latency Measurement API for Python. Only for C/C++. The easier way is do similiar to the link I sent you.