From 7dddb1d9282443f71a8206454fa5e3f4020c511a Mon Sep 17 00:00:00 2001 From: Rohan Dubey <48961845+rohandubey@users.noreply.github.com> Date: Tue, 5 Jan 2021 02:34:13 +0530 Subject: [PATCH] Remove unused code (#1830) * Add files via upload * Add files via upload --- detect.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/detect.py b/detect.py index 45dbdb7..802b99f 100644 --- a/detect.py +++ b/detect.py @@ -117,8 +117,6 @@ def detect(save_img=False): # Stream results if view_img: cv2.imshow(str(p), im0) - if cv2.waitKey(1) == ord('q'): # q to quit - raise StopIteration # Save results (image with detections) if save_img: