NvOSD displaying only Tracking ID but no label

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) NVIDIA GeForce GTX 1650
• DeepStream Version 6.2
• JetPack Version (valid for Jetson only)
• TensorRT Version 8.5
• NVIDIA GPU Driver Version (valid for GPU only) 12.2
• Issue Type( questions, new requirements, bugs) Doubt
I am unable to remove label names only, is there a way to remove label names and keep tracking ID only
and how do i change bbox color dynamically.

Which demo did you run?

I ran nvdsanalytics demo file

You can customize the output yourself.
1.Add a probe function on osd source pad
2.Get the display_meta and traverse the text_params
3.remove the label of the text_params you got

Could you add example code for this?

Could you try the workround below to see if it meets your needs?
Replace the lable in the file: ../../../../samples/models/Primary_Detector/labels.txt with a space.

Ok I will see

I am getting labels on frames I just want to remove that and display only tracking id. And sorry for the improper title ;)

1.Add a probe function. Please refer to the source code in the file: opt\nvidia\deepstream\deepstream\sources\apps\sample_apps\deepstream-3d-action-recognition\deepstream_3d_action_recognition.cpp

static GstPadProbeReturn
pgie_src_pad_buffer_probe(GstPad *pad, GstPadProbeInfo *info,
                          gpointer u_data)

2.Free the variables related to NvDsLabelInfo structure.

Could you find me a python version for this solution

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

There is currently no such example for python. But the NvDsLabelInfo structure has already been bound in Python. So you can implement that in Python by referring to our C code yourself.

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