Using NVdsosd in specific class

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) t4
• DeepStream Version 7.0
• JetPack Version (valid for Jetson only)
• TensorRT Version deepstream 7.0 installation
• NVIDIA GPU Driver Version (valid for GPU only) 535
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

My model detects multiple classes, but I only want the nvdsosd overlay to display one specific class bounding boxes (e.g., class ID 5), since the other classes are not relevant. How can I filter and display only that class using DeepStream Python bindings?

Sorry for the long delay because a holiday.

You just need to add filter-out-class-ids=5 in the configuration file of nvinfer. Then, the ojbect_meta generated by this nvinfer will no longer contain other classes.

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

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