I am working on head count detection. I am using nvdsosd to display the headcount. For this, I set these properties to remove the bounding boxes and the text. But when I set display-text=0, the head count is also gone.
{“display-text”: 1, “display-bbox”: 0}
Is it possible to remove object detection text “face 4” but not the display-text “head count=2” (as shown in the figure)?
Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) Orin Nano • DeepStream Version 6.2 • JetPack Version (valid for Jetson only) 5.1.1 • NVIDIA GPU Driver Version (valid for GPU only) • 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)
You can try to find the text_paramsthat you need to remove in the display_meta structure. Then adjust the font_params to make the text_params transparent.
I check the font_size in font_params under text_params. But I see there are 16 text_params and not sure which one should I get font_size to be 0 to disable the text “face4” on top of the object.
You can refer to our c/c++ code nvosd_sink_pad_buffer_probe in /opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-avsync/deepstream_avsync_app.c, then simply convert it to Python code.
You can search for all txt_params in the for (l = display_meta_list; l != NULL; l = l->next) code first. If it turns out to be a face field, just set the font_params to make it transparent.
Glad to hear that. DeepStream should be installed in the following directory: /opt/nvidia/deepstream in your system. There are many C/C++ demo in the /opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/ path that you can refer to.