Unverified 提交 7dddb1d9 authored 作者: Rohan Dubey's avatar Rohan Dubey 提交者: GitHub

Remove unused code (#1830)

* Add files via upload * Add files via upload
上级 9f5a18bb
...@@ -117,8 +117,6 @@ def detect(save_img=False): ...@@ -117,8 +117,6 @@ def detect(save_img=False):
# Stream results # Stream results
if view_img: if view_img:
cv2.imshow(str(p), im0) cv2.imshow(str(p), im0)
if cv2.waitKey(1) == ord('q'): # q to quit
raise StopIteration
# Save results (image with detections) # Save results (image with detections)
if save_img: if save_img:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论