Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,7 +34,7 @@ def yolov8_inference(
|
|
| 34 |
results = model(image,conf=conf_threshold,iou=iou_threshold ,imgsz=1280)[0]
|
| 35 |
detections = sv.Detections.from_yolov8(results)
|
| 36 |
annotated_image = annotatorbbox.annotate(scene=image, detections=detections)
|
| 37 |
-
annotated_image = annotatormask.annotate(scene=annotated_image, detections=detections)
|
| 38 |
|
| 39 |
|
| 40 |
|
|
|
|
| 34 |
results = model(image,conf=conf_threshold,iou=iou_threshold ,imgsz=1280)[0]
|
| 35 |
detections = sv.Detections.from_yolov8(results)
|
| 36 |
annotated_image = annotatorbbox.annotate(scene=image, detections=detections)
|
| 37 |
+
# annotated_image = annotatormask.annotate(scene=annotated_image, detections=detections)
|
| 38 |
|
| 39 |
|
| 40 |
|