diff --git a/detect.py b/detect.py index 90d01ea..fc48b20 100644 --- a/detect.py +++ b/detect.py @@ -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