webcam multiple bounding box bug fix #1188
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user