Skip to content

Commit

Permalink
PosixPath to str webcam bug fix (ultralytics#1437)
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher authored Nov 18, 2020
1 parent 1542cca commit bd29a1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit bd29a1c

Please sign in to comment.