Unverified 提交 bd29a1c9 authored 作者: Glenn Jocher's avatar Glenn Jocher 提交者: GitHub

PosixPath to str webcam bug fix (#1437)

上级 1542ccad
...@@ -115,7 +115,7 @@ def detect(save_img=False): ...@@ -115,7 +115,7 @@ def detect(save_img=False):
# Stream results # Stream results
if view_img: if view_img:
cv2.imshow(p, im0) cv2.imshow(str(p), im0)
if cv2.waitKey(1) == ord('q'): # q to quit if cv2.waitKey(1) == ord('q'): # q to quit
raise StopIteration raise StopIteration
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论