How to change bounding box color according to class id in deepstream_test3.cpp?

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) Jetson Nano
• DeepStream Version 5.1
• JetPack Version (valid for Jetson only) 4.5
• TensorRT Version 7.1
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

I want to change border color of bounding boxes according to the class id in deepstream_test3.cpp app. Can I achieve that?

Please refer: NVIDIA DeepStream SDK API Reference: On-Screen Display Structure

1 Like

You can change the bbox color using NvOSD_ColorParams.
Which needs to be defined in the same format as NvOSD_TextParams, which is defined as default in deepstream_test3.cpp.

Also, refer to the following link and check on line number 126.

1 Like

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