Hello. Two years ago in this thread, a function was discussed that can count the crossing of a line with an object with the same ID multiple times. The conclusion of the topic was to add the feature in the next DS release. Now I am facing the same problem in version 6.2. I want to know if this function has been added to the latest version.
How to count line crossing multiple times for the same tracker ID object using Nvdsanalytics DS 6.2?
Can you share video to show your result? Or share the reproduce to us to have a check.
1044027262_11.ts (15.6 MB)
Please share the reproduce step. Please share all the configure files, include nvdsanalytics configure file.
Config file for nvdsanalytics plugin:
[property] enable = 1 config-width = 1920 config-height = 1080 osd-mode = 2 display-font-size = 20 [line-crossing-stream-0] mode = balanced enable = 1 extended = 1 class-id = -1 line-crossing-lc-1 = 1270;398;1314;151;1038;263;1533;275
Which model are you used for detector?
I used yolo5.
I checked your video with: /opt/nvidia/deepstream/deepstream-6.2/sources/apps/sample_apps/deepstream-nvdsanalytics-test. I found the Person 1 hasn’t cross line multiple times. Only when the center of the bottom line of BBox cross the line means cross line.
Which frame interval did you use?
Do you mean PGIE inference interval? It is 0: /opt/nvidia/deepstream/deepstream-6.2/sources/apps/sample_apps/deepstream-nvdsanalytics-test/nvdsanalytics_pgie_config.txt
Please take a look at my video - https://forums.developer.nvidia.com/uploads/short-url/K24Vimn7nXXzC7FxkJwfiE6Yi6.ts. In the video, you can see the bounding box of a person (track ID 5068405199937208322) on each frame as the person crosses the line. However, the second crossing wasn’t counted.
Yes. I can reproduce it with /opt/nvidia/deepstream/deepstream-6.2/sources/apps/sample_apps/deepstream-nvdsanalytics-test after change PGIE to peoplenet and change nvdsanalytics configure as below. I will check internally and feedback.
enable = 1
config-width = 1920
config-height = 1080
osd-mode = 2
display-font-size = 20
mode = balanced
enable = 1
extended = 1
class-id = -1
line-crossing-lc-1 = 1270;398;1314;151;1038;283;1533;295
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.