Line crossing: objects are not counted properly

• Hardware Platform : GPU
• DeepStream Version : 5.0
• TensorRT Version : 7.1.3.4
• NVIDIA GPU Driver Version (valid for GPU only): 465.27
• Issue Type : bugs

Hello, I have an issue with a deepstream - nvdsanatics’ line crossing feature.

For objects and lines that are far away(where y coordinate is small) and moving slowly(there is little change in bbox coordinates), “line crossing” does not count them even when they passed the line.
The track id of the object does not change, and it seems that its bottom center coordinate passes the line in the right direction.

However, when objects are moving relatively fast, they are counted properly even on the lines far beyond.

We do not see any miscount when lines are close.

  1. Does line crossing is affected by the slow movement of the bbox.
  2. If correct, is there a way for us to customize the line crossing function?

Below is the analytics config file used.

[property]
enable=1
config-width=960
config-height=544
osd-mode=2
display-font-size=8

[line-crossing-stream-0]
enable=1
class-id=-1

line-crossing-lc1=596;200;597;109;531;159;659;158
line-crossing-lc2=597;109;596;200;531;159;659;158

mode=loose

Can you try different mode and see if the issue persist?

Yes, I tested both “balanced” and “strict” modes in deepstream 5.0.1 (deepstream-app & deepstream-python), but the same issue occurred.

Can you try latest DS6.0?

I will try it and reply back.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.