Rohan Dubey
commited on
Commit
•
7dddb1d
1
Parent(s):
9f5a18b
Remove unused code (#1830)
Browse files* Add files via upload
* Add files via upload
detect.py
CHANGED
@@ -117,8 +117,6 @@ def detect(save_img=False):
|
|
117 |
# Stream results
|
118 |
if view_img:
|
119 |
cv2.imshow(str(p), im0)
|
120 |
-
if cv2.waitKey(1) == ord('q'): # q to quit
|
121 |
-
raise StopIteration
|
122 |
|
123 |
# Save results (image with detections)
|
124 |
if save_img:
|
|
|
117 |
# Stream results
|
118 |
if view_img:
|
119 |
cv2.imshow(str(p), im0)
|
|
|
|
|
120 |
|
121 |
# Save results (image with detections)
|
122 |
if save_img:
|