PosixPath to str webcam bug fix (#1437)

This commit is contained in:
Glenn Jocher authored and GitHub committed 2020-11-18 10:03:41 +01:00
1 parent 1542ccadb2
commit bd29a1c946
1 file changed
+1 -1
+1 -1
View File
@@ -115,7 +115,7 @@ def detect(save_img=False):
# Stream results
if view_img:
cv2.imshow(p, im0)
cv2.imshow(str(p), im0)
if cv2.waitKey(1) == ord('q'): # q to quit
raise StopIteration