PostureNet uses your webcam and machine learning to check your posture while you work. It runs PoseNet pose estimation in the browser to check your head, shoulder, and leg posture, shows a card for each one, and tracks how long you've spent sitting and standing.
The original hosted site, posturenet.tech, is currently offline.
- ml5.js PoseNet for pose estimation (
public/sketch.js) - p5.js for the webcam feed and drawing keypoints
- Chart.js and the Start Bootstrap SB Admin 2 template for the dashboard
- Firebase Hosting (
firebase.jsonserves thepublic/folder)
Everything is static and loads its libraries from CDNs, so there's nothing to install. From the repo root:
cd public
python3 -m http.server 8000
# then open http://localhost:8000/posture.html and allow camera accessBrowsers only allow webcam access on localhost or HTTPS.
