DeepStream On Screen Display not showing bboxes

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU): Jetson
• DeepStream Version: 6.0
• JetPack Version (valid for Jetson only): 4.6
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs): questions
• 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)

Among many attributes in the NvDsOjbectMeta, what attributes are used for drawing bboxes in the on screen display component?

I defined a custom nms function in a pad probe handler, and I placed it between infer and tracker followed by an on screen display component. It, however, does not draw any bboxes on the on screen display. So I am guessing that I have not defined some attributes in the NvDsObjectMeta that are necessary for OSD. At this point, I have initialized rect_params only in my pad probe handler. Are there any other attributes that I should initialize?

I essentially deleted all the NvDsObjectMetas outputted by infer and replaced all the NvDsObjectMetas with custom NvDsObjectMetas that I defined.

  1. NvOSD_RectParams rect_params is for drawing bboxes.
  2. could you share your configuration file? if network-type == 100, you need to add this object meta, and modify NvOSD_RectParams rect_params, if network-type < 4, you can modify NvOSD_RectParams rect_params, please refer to sample deepstream_infer_tensor_meta_test.
1 Like

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