tree3po commited on
Commit
e67ec4d
·
verified ·
1 Parent(s): 10cd0ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ def stream_object_detection(video):
42
  detections = sv.Detections.from_ultralytics(result)
43
  print(detections)
44
 
45
- box_annotator = eval(f'sv.{annotators[11]}()')
46
 
47
  outp = box_annotator.annotate(
48
  scene=frame.copy(),
 
42
  detections = sv.Detections.from_ultralytics(result)
43
  print(detections)
44
 
45
+ box_annotator = eval(f'sv.{annotators[11]}Annotator()')
46
 
47
  outp = box_annotator.annotate(
48
  scene=frame.copy(),