updates
This commit is contained in:
1 parent
17e4926cdf
commit
391492ee5b
1 file changed
+1
-1
@@ -85,7 +85,7 @@ def detect(save_img=False):
|
|||||||
# Process detections
|
# Process detections
|
||||||
for i, det in enumerate(pred): # detections per image
|
for i, det in enumerate(pred): # detections per image
|
||||||
if webcam: # batch_size >= 1
|
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:
|
else:
|
||||||
p, s, im0 = path, '', im0s
|
p, s, im0 = path, '', im0s
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user