NVIDIA-AI-IOT / deepstream-occupancy-analytics

This is a sample application for counting people entering/leaving in a building using NVIDIA Deepstream SDK, Transfer Learning Toolkit (TLT), and pre-trained models. This application can be used to build real-time occupancy analytics applications for smart buildings, hospitals, retail, etc. The application is based on deepstream-test5 sample application.
MIT License
221 stars 73 forks source link

Hide/Display certain text on osd #30

Open deeptigoyal opened 3 years ago

deeptigoyal commented 3 years ago

Hello,

I wish to hide a certain portion of text/labels appearing on frame such as "entry" and "exit" and wish to retain say "Person" in person tracker use case. Setting nvosd.set_property('display_text',0) hides everything that appears on frame. How it can be achieved? Please help me on this.

Thanks

mjhuria commented 3 years ago

you can set obj_meta->text_param.display_text to NULL to remove labels. Is there any particular metadata you want to keep for display?

JieZA commented 3 years ago

Hello, have you resolved this problem. I am facing the same issue.

Praneet9 commented 2 years ago

Just set obj_meta->text_params->font_params->font_size = 0