Aumkeshchy2003 commited on
Commit
1698b43
·
verified ·
1 Parent(s): d82e424

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ def process_video(video_path):
71
  total_time += inference_time
72
  total_frames += 1
73
 
74
- detections = results.pred[0].cpu().numpy()
75
 
76
  for *xyxy, conf, cls in detections:
77
  x1, y1, x2, y2 = map(int, xyxy)
 
71
  total_time += inference_time
72
  total_frames += 1
73
 
74
+ detections = results.xyxy[0].cpu().numpy()
75
 
76
  for *xyxy, conf, cls in detections:
77
  x1, y1, x2, y2 = map(int, xyxy)