Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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(),
|