How priyankam319/ergonomic-assessment works
Ergonomic Assessment Web App runs RULA and REBA posture assessments from webcam video, then presents results and downloadable reports. The principal flow is user-selected method → camera and pose landmarks → timed recording → method-specific scoring → session history and results. The README also describes coaching, analytics, risk profiles, and stretch tips; these are represented as documented capabilities, but their internal wiring is not established by the sampled excerpts. The main implementation is concentrated in app.js, so several components share that path.
Main entry points: app.js App interface
Components 17
Assessment
- App interface
app.js - Webcam capture
app.js - Pose landmarks
app.js - Timed recording
app.js - RULA / REBA scoring
app.js - Assessment results
app.js - Session history
app.js
Insights
- AI coaching
app.js - Analytics
app.js - Risk profile
app.js - Stretch tips
app.js
Reporting
- Report generation
app.js - HTML download
app.js
Integrations
- Browser camera
- MediaPipe Pose
- OpenRouter API
Other components
- User
Connections 15
- User → App interface: selects method
README.md - App interface → Webcam capture: starts capture
app.js - Webcam capture → Browser camera: requests stream
app.js - App interface → MediaPipe Pose: configures pose
app.js - Pose landmarks → Timed recording: records landmarks
app.js - Timed recording → RULA / REBA scoring: scores recording
app.js - RULA / REBA scoring → Assessment results: updates results
app.js - Assessment results → Session history: saves session
app.js - App interface → AI coaching: provides coaching
app.js - App interface → Analytics: shows analytics
app.js - App interface → Risk profile: shows risk profile
app.js - App interface → Stretch tips: offers stretch tips
app.js - App interface → OpenRouter API: requests AI text
app.js - App interface → Report generation: generates report
app.js - Report generation → HTML download: builds HTML
app.js