Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU): Jetson
• DeepStream Version: 6.0.1
• JetPack Version (valid for Jetson only): 4.6.2
• TensorRT Version: 8.2.1-1+cuda10.2
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs): questions
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
I encountered an issue with a sample app deepstream-occupancy-analytics (https://github.com/NVIDIA-AI-IOT/deepstream-occupancy-analytics) that I used to count line crossing of people.
I found that a person whose bounding box has not intersected with the configured line is sometimes regarded to cross the line.
The count increases when the bounding box is away from the line.
Here is a part of nvdsanalytics config related to line-crossing:
[line-crossing-stream-0]
enable=1
line-crossing-Exit=1050;600;1050;490;950;490;1200;490;
line-crossing-Entry=700;400;700;510;600;510;850;510
class-id=0
extended=0
mode=loose
The false counts persist even when setting “mode” to “strict”.
I am wondering how the nvdsanalytics plugin, which deepstream-occupancy-analytics depends on, counts line crossing.
My understanding is that the count for the configured line increases by one when a straight line segment between bottom centers of bounding boxes with the same tracking-id in consecutive two frames intersects the configured line and the angle between them satisfies a certain condition that is determined by “mode” in nvdsanalytics config.
Is this kind of false line-crossing count a known issue?
And, if my understanding is not correct, could you tell me how nvdsanalytics counts line crossing?
Thank you.