How mathewthomas2/employee-allocation-system works
The product monitors employee availability from video, identifies employees by badge OCR, and reports status to a central backend for supervisor and employee interfaces. The main path is video processing → status updates → dashboard/mobile consumption. The README documents those integrations; backend internals and Flutter/web UI source were not excerpted, so their internal behavior is shown only at a high level.
Main entry points: cv_engine/main.py CV processor · backend/main.py Status API · run_scenario.py Multi-camera runner · detector.py Person detector
Components 9
Video monitoring
- CV processor
cv_engine/main.py - Person detector
cv_engine/detector.py - Badge OCR
cv_engine/ocr_module.py - Interaction logic
cv_engine/logic.py
Status service
- Status API
backend/main.py
User interfaces
- Supervisor dashboard
dashboard/app.js - Employee app
mobile_app/lib
Scenario runner
- Multi-camera runner
run_scenario.py
Other components
- Video feed
Connections 10
- Video feed → CV processor: provides frames
cv_engine/main.py - CV processor → Person detector: detects people
cv_engine/main.py - CV processor → Badge OCR: reads badges
cv_engine/main.py - CV processor → Interaction logic: initializes
cv_engine/main.py - CV processor → Status API: posts status
cv_engine/main.py - Status API → Supervisor dashboard: serves status
README.md - Employee app → Status API: connects to
README.md - Multi-camera runner → Person detector: detects people
run_scenario.py - Multi-camera runner → Badge OCR: reads badges
run_scenario.py - Multi-camera runner → Status API: posts status
run_scenario.py