Spaces:
Runtime error
Runtime error
Create services/under_construction.py
Browse files
services/under_construction.py
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from ultralytics import YOLO
|
2 |
+
|
3 |
+
def detect_under_construction(frame):
|
4 |
+
model = YOLO('models/yolov8n.pt')
|
5 |
+
results = model(frame)
|
6 |
+
# Implement detection logic specific to under construction
|
7 |
+
return results
|