deepstream-occupancy-analytics icon indicating copy to clipboard operation
deepstream-occupancy-analytics copied to clipboard

Hide/Display certain text on osd

Open deeptigoyal opened this issue 3 years ago • 3 comments

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

deeptigoyal avatar Jun 08 '21 15:06 deeptigoyal

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?

mjhuria avatar Jun 30 '21 21:06 mjhuria

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

JieZA avatar Jul 28 '21 12:07 JieZA

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

Praneet9 avatar Nov 09 '22 19:11 Praneet9