I’m working on real-time traffic analysis using live RTSP streams, where vehicles and persons are detected and tracked. I’m using YOLOv11 as the detection model and NvDCF as the tracker. However, I’m facing an issue where the bounding boxes around objects continuously flicker and blink during tracking.
Here are the steps I’ve taken so far:
Set inference interval = 2 (default) and increased tracking confidence as per NVIDIA’s recommendations.
Also tried inference interval = 0, but the flickering persisted.
We tested the detection model separately, and the flickering issue did not occur. However, as soon as it was integrated into the pipeline, the flickering began.
In your tracking configuration make the probationAge 0, I ran into this issue awhile back. The probationAge is the number of frames that the object detector must detect the object in a row.
Please use DeepStream pipeline to run inference and tracking. Please share the same video with/without nvtracker. So we can compare if the nvtracker cause the BBox flicking.
We have implemented the DeepStream pipeline without the tracker and concluded that the flickering issue still occurs. Previously, we had not run the pipeline without the tracker to debug this issue. I will provide the video and the corresponding code. (And also detection interval is taken as 0).
Can you explain why this flickering occurs when integrating the detection model into the pipeline, even though the model performed fine when tested separately? I will also attach the inference configuration file.
@kesong I wanted to follow up on my query regarding the flickering issue in the DeepStream pipeline. I haven’t received a response yet, and I would really appreciate any insights you could share.
@kesong I have tried tuning the following parameters: network-mode=0 (enabling FP32), maintain-aspect-ratio=1, symmetric-padding=1, and adjusting nms-iou-threshold and pre-cluster-threshold. However, the flickering still persists. I also reviewed the YouTube video NVIDIA DeepStream Technical Deep Dive: Multi-Object Tracker, where I noticed slight flickering of the bounding boxes as well. Could this be an inherent issue with the DeepStream pipeline?