Issue with YOLOv11 Models in DeepStream 7.1

According to my research, the results detected by YOLO-onnx and deepstream-tensorrt for the same image are very different because the scaling algorithms of deepstream and opencv yield different results (Image comparison Deepstream vs opencv python). Therefore, I have customized the preprocess plugin to support scaling methods using opencv. You can try it out at the repo (GitHub - hieptran2k2/DeepStream_Custom_Preprocess_Plugin: Create a custom preprocessing plugin in DeepStream using OpenCV with a scaling filter.). If you find the repo useful, please give me a star! Additionally, you can refer to the export yolov11 nms custom in the repo GitHub - hieptran2k2/DeepStream-Yolo-BBox-Add-Nms: NVIDIA DeepStream SDK 7.1/ 7.0/ 6.3 / 6.2 / 6.1.1 / 6.1 / 6.0.1 / 6.0 application for YOLO-BBox models.

1 Like