SathvikGanta commited on
Commit
a9d11b9
·
verified ·
1 Parent(s): 06a27bd

Create services/under_construction.py

Browse files
Files changed (1) hide show
  1. services/under_construction.py +7 -0
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