diff --git a/detect.py b/detect.py index b18ff48..8cdc0af 100644 --- a/detect.py +++ b/detect.py @@ -85,7 +85,7 @@ def detect(save_img=False): # Process detections for i, det in enumerate(pred): # detections per image 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