SkalskiP commited on
Commit
155bccb
1 Parent(s): bc6d5e6
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -102,6 +102,7 @@ def process_video(
102
  image=frame,
103
  device=DEVICE
104
  )
 
105
  detections = TRACKER.update_with_detections(detections)
106
  frame = annotate_image(
107
  input_image=frame,
 
102
  image=frame,
103
  device=DEVICE
104
  )
105
+ detections.confidence = np.ones(len(detections))
106
  detections = TRACKER.update_with_detections(detections)
107
  frame = annotate_image(
108
  input_image=frame,