SuriRaja commited on
Commit
12a0f76
·
1 Parent(s): a16535f

Delete thermal_service.py

Browse files
Files changed (1) hide show
  1. thermal_service.py +0 -11
thermal_service.py DELETED
@@ -1,11 +0,0 @@
1
- from ultralytics import YOLO
2
-
3
- thermal_model = YOLO("thermal_model.pt")
4
-
5
- def detect_thermal_anomalies(image_path):
6
- results = thermal_model(image_path)
7
- flagged = []
8
- for r in results:
9
- if hasattr(r, 'temperature') and r.temperature > 75:
10
- flagged.append(r)
11
- return flagged