Spaces:
Runtime error
Runtime error
from ultralytics import YOLO | |
def detect_under_construction(frame): | |
model = YOLO('models/yolov8n.pt') | |
results = model(frame) | |
# Implement detection logic specific to under construction | |
return results | |