Now the issue is when I run the pipeline multiple times, the total number of detected objects are always different even when it is the same video file for all sources.
The total objects reduce per source
For example:
src0: Total 56274 detections counted
src1: Total 56102 detections counted
src2: Total 55982 detections counted
src3: Total 55901 detections counted
I removed nvtracker from the pipeline and all the results match. So I suspect something is wrong on the nvtracker setting?
The following properties have been set for nvtracker
Sure, we did that actually.
The total frames for each source is exactly same but total detections for certain frames are different.
They match once we remove the tracker.
Attaching files (src0.txt and src1.txt) where each line in the text file is the total objects in that frame. I.e. value in line 1 will be total objects seen in frame ID 1.
Hi, the problem could be reproduced with a python code based on the deepstream_python_apps example by Nvidia. Please try out the code in GitHub - ethanlee928/DeepStream.
When there are more than 1 sources, the total number of detection of all frames (please check out the global variable TOTAL_COUNT in the script) becomes inconsistent with respect to different sources of the same video, and also with respect to different runs. However, if tracker is disabled, the total count becomes consistent.
I have tested with nvidia’s peoplenet (resnet34) and also trafficnet (resnet18). For the tracker config, it is pushed on the above repo.
Can you share your test video? I can’t get the video from YouTube. Or can you reproduce the issue with the video in fold: /opt/nvidia/deepstream/deepstream-6.1/samples/streams/? Can you reproduce with deepstream-app?
We have not used deepsteam-app but the current code that we used is based on the deepstream test apps from python repo. Will there be any major difference between the C/C++ version and the Python version?
As for the video, let us try it on the sample streams and get back in sometime. We will also send you a download link for the current videos that we have tested.
@kesong , this is the download link of that video.
We tested on the sample streams. This problem does not occur on the sample stream videos.
So we suspect it could be related to the number of objects per frame? We tried increasing maxTargetsPerStream but the problem still persists in the video shared above.
Is there any limitation to number of objects per frame?