Browse Source

PosixPath to str webcam bug fix (#1437)

5.0
Glenn Jocher GitHub 3 years ago
parent
commit
bd29a1c946
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      detect.py

+ 1
- 1
detect.py View File



# 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



Loading…
Cancel
Save