Browse Source

PosixPath to str webcam bug fix (#1437)

5.0
Glenn Jocher GitHub 4 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

@@ -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


Loading…
Cancel
Save