提交 391492ee authored 作者: Glenn Jocher's avatar Glenn Jocher

updates

上级 17e4926c
...@@ -85,7 +85,7 @@ def detect(save_img=False): ...@@ -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
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论