Extract nvdsanalytics for osd

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson)
• DeepStream Version: 5.1
• JetPack Version (4.5)
• TensorRT Version
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (files required: nvdsanalytics_config.txt, python_test_app_3, peopleNet(etlt+config))

I am drawing roi on the frame,
the coordinates for roi are present in nvdsanalytics_config.txt, whenever a roi is drawn it displays a small box next to roi , which gives the live count of people present in the roi.
I want to print the live count(number of people present inside the roi at current time) on screen.
Can’t figureout how to extract this information from nvdsanalytics in python_test_app3.py.

Hey, I think ROI feature is used to acheive this, you can get the result from meta data, what’s the issue?

I want to display live count inside an roi for which coordinates are provided in the nvdsanalytics_config.txt.
How do I get the live count for the nvdsanalytics without having to write logic myself.

No, you need to install a probe and write your logic there