How techadii-ux/smart_boarder_eye works
Smart Border Eye processes a video source for object detection and face recognition, tracks detections, evaluates zone/loitering and line-crossing events, and displays annotated frames. Alerts can be posted to a configured webhook; the Flask dashboard accepts alerts, retains recent records and serves snapshots. The main loop owns calls into the processing components. Source evidence is limited to the sampled files and index; the README is empty.
Main entry points: main.py Frame orchestrator · anomaly.py Flask dashboard · detector.py YOLO detector · config.py Detection and alert settings
Components 15
Video analysis
- Frame orchestrator
main.py - YOLO detector
detector.py - Face recognition
face_recognition.py
Tracking and alerts
- Object tracker
tracker.py - Zone and loitering rules
anomaly.py - Line-crossing rules
line_cross.py - Alert sender
anomaly.py
Alert dashboard
- Flask dashboard
anomaly.py - Alert intake route
anomaly.py - Alert records and snapshots
anomaly.py
Runtime configuration
- Detection and alert settings
config.py
Other components
- Video source
- Operator
- Dashboard viewer
- Configured webhook
Connections 17
- Video source → Frame orchestrator: supplies frames
main.py - Frame orchestrator → Detection and alert settings: reads settings
main.py - Frame orchestrator → YOLO detector: runs detection
main.py - Frame orchestrator → Face recognition: recognizes faces
main.py - Frame orchestrator → Object tracker: updates tracks
main.py - Frame orchestrator → Zone and loitering rules: checks tracks
main.py - Frame orchestrator → Line-crossing rules: checks crossings
main.py - Frame orchestrator → Alert sender: sends alerts
main.py - Frame orchestrator → Flask dashboard: starts server
main.py - YOLO detector → Detection and alert settings: reads defaults
detector.py - Alert sender → Configured webhook: posts alert
anomaly.py - Alert sender → Alert intake route: posts alert
anomaly.py - Flask dashboard → Alert intake route: serves route
anomaly.py - Alert intake route → Alert records and snapshots: stores records
anomaly.py - Flask dashboard → Alert records and snapshots: reads records
anomaly.py - Dashboard viewer → Flask dashboard: views alerts
- Frame orchestrator → Operator: shows frames
main.py