* Add files via upload * Add files via upload5.0
@@ -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: |