glenn-jocher
commited on
Commit
·
391492e
1
Parent(s):
17e4926
updates
Browse files
detect.py
CHANGED
@@ -85,7 +85,7 @@ def detect(save_img=False):
|
|
85 |
# Process detections
|
86 |
for i, det in enumerate(pred): # detections per image
|
87 |
if webcam: # batch_size >= 1
|
88 |
-
p, s, im0 = path[i], '%g: ' % i, im0s[i]
|
89 |
else:
|
90 |
p, s, im0 = path, '', im0s
|
91 |
|
|
|
85 |
# Process detections
|
86 |
for i, det in enumerate(pred): # detections per image
|
87 |
if webcam: # batch_size >= 1
|
88 |
+
p, s, im0 = path[i], '%g: ' % i, im0s[i].copy()
|
89 |
else:
|
90 |
p, s, im0 = path, '', im0s
|
91 |
|