File size: 215 Bytes
a9d11b9
 
 
 
 
 
 
1
2
3
4
5
6
7
8
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