How to display demograhics of the detected object in OSD - deepstream-test2

• Hardware Platform (Jetson / GPU)
Jetson TX2
• DeepStream Version
5.1
• JetPack Version (valid for Jetson only)
4.5.1
• TensorRT Version
7.1

I want to display the demographics of the detected primary and secondary models in the OSD in deepstream test2 app. The only thing displayed as of now is the detected labels of the models. I want to design the demographics display according to my need, I also want to know how to change the detection bounding box color and size according to my requirement.

For example:

A vehicle is detected along with its make and color, I want to display the ID of the vehcile along with its color and make on the screen. Something like the below image:

Also want to change color based on the detected class based on the secondary model.
For example: Change color of the detection bounding box to red when vehicle type is Bus and to blue if type is car.

Can anyone help?

You can check the On-Screen Display Structure — Deepstream Deepstream Version: 5.1 documentation

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