Can I get the accumulate number of objects passed ROI?

Please provide complete information as applicable to your setup.

• Hardware Platform Jetson
• DeepStream Version 5.1
• JetPack Version 4.5.1
• TensorRT Version 7.1.3
• Issue Type questions

In Deepstream 5.1 we can get the total count of objects in ROI per frame using ROI Filtering.
I wonder if I can get the accumulate number of objects ever pass this ROI similar to number in Line Crossing feature? I’m using Deepstream 5.1 on python.
Note that I don’t want to use Line Crossing because I want to count from any direction.

Hey, Currently, you can achieve this via installing a probe on the src pad of nvanaylitics and calculate the number of all the objects and maintain the objects history ever passed the ROI

Thank you.
So it’s seems we have to do the manual way.

For the future reference.
I’m work around this by create separate dict to keep record of unique object id and use len function to count the id in the dict.