diff --git a/detect.py b/detect.py index f9085e670916..3f1d6c521b67 100644 --- a/detect.py +++ b/detect.py @@ -118,6 +118,7 @@ def detect(save_img=False): # Stream results if view_img: cv2.imshow(str(p), im0) + cv2.waitKey(1) # 1 millisecond # Save results (image with detections) if save_img: