How omarelfadaly1/my_projects works
This repository contains three independent image/video-AI applications: fire monitoring, oral-disease classification, and road-damage detection. Fire monitoring takes a video through the desktop UI, tracks detections, raises alerts, and presents saved alert history. The other apps classify uploaded oral images or detect road damage in uploaded images. The map reflects sampled source and the source index; the README is empty, and training notebooks are excluded. Road-model weights referenced by its server are not present in the tree.
Main entry points: app.py Monitoring UI · alert.py Alert manager · tracker.py Fire tracker · app.js Web interface
Components 18
Fire Alert System
- Desktop entry
Fire_Alert_System/main.py - Monitoring UI
Fire_Alert_System/gui/app.py - App configuration
Fire_Alert_System/config.py - Video worker
Fire_Alert_System/src/video.py - Fire tracker
Fire_Alert_System/src/tracker.py - Detection weights
Fire_Alert_System/model/best.pt - Alert manager
Fire_Alert_System/src/alert.py - Alert records
Fire_Alert_System/src/db.py - Alert screenshots
Fire_Alert_System/alerts/screenshots
Oral Disease Classifier
- Classification app
Oral_Disease_Classification/app.py - ResNet50 model
Road Damage Detection
- Web interface
Road Damage Detection/deployment/static/js/app.js - Web page
Road Damage Detection/deployment/templates/index.html - Prediction server
Road Damage Detection/deployment/app.py - YOLO models
Other components
- Operator
- Image uploader
- Image analyst
Connections 21
- Operator → Desktop entry: starts
Fire_Alert_System/main.py - Desktop entry → Monitoring UI: launches
Fire_Alert_System/main.py - Monitoring UI → App configuration: reads settings
Fire_Alert_System/gui/app.py - Monitoring UI → Video worker: starts video
Fire_Alert_System/gui/app.py - Monitoring UI → Fire tracker: creates
Fire_Alert_System/gui/app.py - Monitoring UI → Alert manager: creates
Fire_Alert_System/gui/app.py - Monitoring UI → Alert records: loads history
Fire_Alert_System/gui/app.py - Video worker → Fire tracker: processes frames
Fire_Alert_System/src/video.py - Video worker → Alert manager: sends events
Fire_Alert_System/src/video.py - Fire tracker → Detection weights: loads weights
Fire_Alert_System/src/tracker.py - Fire tracker → App configuration: reads settings
Fire_Alert_System/src/tracker.py - Alert manager → Alert records: inserts alerts
Fire_Alert_System/src/alert.py - Alert manager → Alert screenshots: writes images
Fire_Alert_System/src/alert.py - Alert manager → Monitoring UI: notifies callback
Fire_Alert_System/src/alert.py - Operator → Classification app: uploads image
Oral_Disease_Classification/app.py - Classification app → ResNet50 model: loads and predicts
Oral_Disease_Classification/app.py - Image analyst → Web interface: selects image
Road Damage Detection/deployment/static/js/app.js - Web page → Web interface: hosts interface
- Web interface → Prediction server: requests models
Road Damage Detection/deployment/static/js/app.js - Web interface → Prediction server: posts prediction
Road Damage Detection/deployment/static/js/app.js - Prediction server → YOLO models: loads and predicts
Road Damage Detection/deployment/app.py