How to add detection zones in deepstream app?

Hi. I want to add zones to the frame and I want to count the intersection of detected objects with the zone. How can I do this for dipstream app? I wanted to use the jetson nano version of the detector and tracker for this task
Thanks

Take a look at the nvdsanalytics plugin. It allows you to specify regions of interest (polygons) and get counts of object inside/outside the region.

1 Like

Can I use nvdsanalytics plugin in deepstream python bindings and can I get object movement direction in zone using this plugin?

Hi, check this topic

thanks for link on the topic… It’s unfortunate that this module is not yet implemented in python.
Have you seen an example in C to solve this problem?

@vbogdan1898 There is a piece of sample codes “deepstream-nvdsanalytics-test” which shows nvdsanalytics usage. Please refer to the codes in DeepStream SDK package. The details about gst-nvdsanalytics plugin can also be found in
https://docs.nvidia.com/metropolis/deepstream/dev-guide/index.html#page/DeepStream%20Plugins%20Development%20Guide/deepstream_plugin_details.3.14.html#wwpID0E0PE0HA

Thanks