How to count line crossing multiple times for the same tracker ID object using Nvdsanalytics?

• Hardware Platform (Jetson / GPU): Jetson Nano
• DeepStream Version: 5.0
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)

Hi,
I´m trying to create an application based on the “deepstream-app” example using DeepStream and Nvdsanalytics plugin. A part of the application consists in counting objects´s lines crossing, and it can happen that an object (without changing its tracker ID) crosses a line more than once. The problem is that for each object only the first exit and entry are counted because, if I´m not wrong, Nvdsanalytics only counts object´s line crossing if the object has got a tracker ID that hasn´t crossed the line yet.

Is there anyway to change/solve this and count the same object multiple times?

the Cross Line is based on tracker ID.

What’s the issue are you observing ?

For example, if a detected object has a specific tracker ID and it crosses the line multiple times (more than 2 times for entry or exit), nvdsanalytics only counts the first exit and entry per tracker ID. What I need is to count objects´ entries and exits multiple times per tracker ID, not only the first ones.

My question is if it´s possible to make changes somewhere (in the code or configuration) to count multiple entries and exists for the same tracker ID.

Hey,
We checked internally and currenlty nvdsanalytics don’t support this feature.
We will add the feature in next DS realese.

Hi,
Thank you very much for your response. And when will next DS realease be published?

Pls wait for the official announcement