Spaces:
Sleeping
Sleeping
Update detect.py
Browse files
detect.py
CHANGED
|
@@ -4,7 +4,7 @@ import cv2
|
|
| 4 |
from utils import extract_frames
|
| 5 |
|
| 6 |
# YOLO ๋ชจ๋ธ ๋ก๋
|
| 7 |
-
model = YOLO("models/
|
| 8 |
|
| 9 |
def detect_objects_in_video(video_path):
|
| 10 |
detections = []
|
|
|
|
| 4 |
from utils import extract_frames
|
| 5 |
|
| 6 |
# YOLO ๋ชจ๋ธ ๋ก๋
|
| 7 |
+
model = YOLO("models/yolov8m.pt") # yolov8 ๊ฐ์ค์น ํ์ผ ์์น
|
| 8 |
|
| 9 |
def detect_objects_in_video(video_path):
|
| 10 |
detections = []
|