Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,9 +4,9 @@ from sahi.prediction import ObjectPrediction
|
|
4 |
from sahi.utils.cv import visualize_object_predictions, read_image
|
5 |
from ultralyticsplus import YOLO
|
6 |
|
7 |
-
from ultralyticsplus import render_result
|
8 |
-
import requests
|
9 |
-
import cv2
|
10 |
|
11 |
image_path = [['test_images/2a998cfb0901db5f8210.jpg','linhcuem/chamdiem_yolov8_ver10', 640, 0.25, 0.45],['test_images/2ce19ce0191acb44920b.jpg','linhcuem/chamdiem_yolov8_ver10', 640, 0.25, 0.45],
|
12 |
['test_images/2daab6ea3310e14eb801.jpg','linhcuem/chamdiem_yolov8_ver10', 640, 0.25, 0.45], ['test_images/4a137deefb14294a7005 (1).jpg','linhcuem/chamdiem_yolov8_ver10', 640, 0.25, 0.45],
|
|
|
4 |
from sahi.utils.cv import visualize_object_predictions, read_image
|
5 |
from ultralyticsplus import YOLO
|
6 |
|
7 |
+
# from ultralyticsplus import render_result
|
8 |
+
# import requests
|
9 |
+
# import cv2
|
10 |
|
11 |
image_path = [['test_images/2a998cfb0901db5f8210.jpg','linhcuem/chamdiem_yolov8_ver10', 640, 0.25, 0.45],['test_images/2ce19ce0191acb44920b.jpg','linhcuem/chamdiem_yolov8_ver10', 640, 0.25, 0.45],
|
12 |
['test_images/2daab6ea3310e14eb801.jpg','linhcuem/chamdiem_yolov8_ver10', 640, 0.25, 0.45], ['test_images/4a137deefb14294a7005 (1).jpg','linhcuem/chamdiem_yolov8_ver10', 640, 0.25, 0.45],
|