Zengyf-CVer commited on
Commit
7873a55
1 Parent(s): 53f1c15

v05 update

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -419,8 +419,7 @@ def yolo_det_video(video, device, model_name, infer_size, conf, iou, max_num, mo
419
  if not ret:
420
  break
421
 
422
- frame2 = frame.copy()
423
- results = model(frame2, size=infer_size) # detection
424
  h, w, _ = frame.shape # frame size
425
  img_size = (w, h) # frame size
426
 
 
419
  if not ret:
420
  break
421
 
422
+ results = model(frame, size=infer_size) # detection
 
423
  h, w, _ = frame.shape # frame size
424
  img_size = (w, h) # frame size
425