diff --git a/detect.py b/detect.py index 7fc75c08..b52f7826 100644 --- a/detect.py +++ b/detect.py @@ -104,7 +104,7 @@ def detect(save_img=False): # Process detections for i, det in enumerate(pred): # detections for image i if webcam: # batch_size >= 1 - p, s, im0 = path[i], '%g: ' % i, im0s[i] + p, s, im0 = path[i], '%g: ' % i, im0s[i].copy() else: p, s, im0 = path, '', im0s