Bounding box flickering

Please provide complete information as applicable to your setup.

NVIDIA Jetson Xavier NX
DeepStream Version5.0
Jetpack 4.4.1 [L4T 32.4.4]
TensorRT: 7.1.3.0
CUDA: 10.2.89
cuDNN: 8.0.0.180
Visionworks: 1.6.0.501
OpenCV: 4.1.1 compiled CUDA: NO
VPI: 0.4.4
Vulkan: 1.2.70

I managed to be able to create a deepstream app for face detection from an .mp4 video as input test file. I used Deepstream YOLOv3 as face detector. Below are my configuration files:
config_infer_primary_yoloV3.txt (3.4 KB) deepstream_app_config_yoloV3.txt (3.6 KB) dstest2_pgie_config.txt (3.4 KB) yolov3.cfg (8.1 KB)
nvdsparsebbox_Yolo.cpp (13.8 KB)

As everything went smoothy, but during detecting, i realized that the bounding box is flickering quickly, and the color is not very clear. What could be the cause? Thank you for your help.

Hey customer,
We had done many optimization for nvdcf in DS5.1, can you try with the latest DS5.1 and see if the issue persist?

Thank you, i managed to solve it by setting interval= 0 in deepstream_app_config_yoloV3.txt. The video was a bit slow but there was no flickering anymore.