How hanselak/seniordesign_safeware works
SafeWare is a senior-design worker-safety system: camera-based PPE checks and wearable motion sensing feed dashboards and alerts. The clearest end-to-end paths are the root camera uploader and the live-camera project’s USB fall detector; the repository also contains a broader Raspberry Pi sensor-dashboard implementation. README documentation is sparse, and several listed hardware and integration files were not sampled, so uncertain links are omitted or marked unverified.
Main entry points: server_dashboard.py Live-camera dashboard API · dashboard.js Dashboard interface · fall_to_dashboard.py Fall detector and logger · camera_to_dashboard.py CSI camera pipeline
Components 15
PPE vision
- CSI camera pipeline
camera_to_dashboard.py - YOLO PPE detection
camera_to_dashboard.py - Live-camera pipeline
PPE_Safety_Dashboard_Live_Camera/camera_to_dashboard.py
Wearable sensing
- ESP32 motion device
PPE_Safety_Dashboard_Live_Camera/esp32_mpu6050/esp32_mpu6050.ino - Fall detector and logger
PPE_Safety_Dashboard_Live_Camera/fall_to_dashboard.py - Fall event log
PPE_Safety_Dashboard_Live_Camera/fall_log.csv - Standalone fall detector
fall_detection.py
Dashboard and alerts
- PPE dashboard API
server_dashboard.py - Live-camera dashboard API
PPE_Safety_Dashboard_Live_Camera/server_dashboard.py - Dashboard interface
PPE_Safety_Dashboard_Live_Camera/static/dashboard.js - Dashboard page
PPE_Safety_Dashboard_Live_Camera/templates/dashboard.html - Dashboard styling
PPE_Safety_Dashboard_Live_Camera/static/dashboard.css
Sensor dashboard
- Raspberry Pi sensor suite
ppe_sim2.py
Other components
- Safety operator
- Dashboard viewer
Connections 14
- CSI camera pipeline → YOLO PPE detection: runs inference
camera_to_dashboard.py - CSI camera pipeline → PPE dashboard API: posts frames
camera_to_dashboard.py - ESP32 motion device → Fall detector and logger: streams serial data
- Fall detector and logger → Live-camera dashboard API: posts motion
PPE_Safety_Dashboard_Live_Camera/fall_to_dashboard.py - Fall detector and logger → Fall event log: appends events
PPE_Safety_Dashboard_Live_Camera/fall_to_dashboard.py - Safety operator → Live-camera dashboard API: views dashboard
- Dashboard interface → Live-camera dashboard API: polls state
PPE_Safety_Dashboard_Live_Camera/static/dashboard.js - Dashboard interface → Live-camera dashboard API: triggers alerts
PPE_Safety_Dashboard_Live_Camera/static/dashboard.js - Live-camera dashboard API → Dashboard interface: serves state
- Dashboard page → Dashboard interface: loads script
- Dashboard styling → Dashboard page: styles page
- Raspberry Pi sensor suite → Dashboard viewer: serves dashboard
- Standalone fall detector → Fall event log: logs samples
fall_detection.py - Live-camera pipeline → Live-camera dashboard API: posts frames
PPE_Safety_Dashboard_Live_Camera/camera_to_dashboard.py