From dd93757ba048941624edc6d0a458ee625e892f06 Mon Sep 17 00:00:00 2001 From: Jason Date: Thu, 18 Aug 2022 15:59:40 +0800 Subject: [PATCH] Update infer_ppyolo.py --- .../vision/detection/paddledetection/python/infer_ppyolo.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/vision/detection/paddledetection/python/infer_ppyolo.py b/examples/vision/detection/paddledetection/python/infer_ppyolo.py index d0a286da3..7650ebe8a 100644 --- a/examples/vision/detection/paddledetection/python/infer_ppyolo.py +++ b/examples/vision/detection/paddledetection/python/infer_ppyolo.py @@ -56,7 +56,6 @@ result = model.predict(im.copy()) print(result) # 预测结果可视化 -vis_im = fd.vision.vis_detection( - im, result, score_threshold=0.5, score_threshold=0.5) +vis_im = fd.vision.vis_detection(im, result, score_threshold=0.5) cv2.imwrite("visualized_result.jpg", vis_im) print("Visualized result save in ./visualized_result.jpg")