Real-time pose judging in the browser
Plank Pro
A selection portal for a plank endurance league. The webcam judges form and time in real time, with no server compute at all.
- Role
- Solo builder, for a sports startup
- When
- May to Jul 2026
- Built with
- Next.js, TensorFlow.js, MoveNet Lightning, Supabase, Vercel Edge
- See it
The problem
A plank league needed to shortlist candidates without in-person tryouts. Sending video to a server to be judged would have been slow, expensive and a privacy problem for the people on camera.
What I built
Plank Pro runs the whole judge in the browser. A candidate records a plank through the webcam, the model tracks the body in real time, and the best scores go onto a leaderboard that organisers shortlist from.
Video never leaves the device. Only the scores are sent.
How it works
- 1
Calibrate
A 5-second calibration flow uses geometric constraints so the judge works in different rooms and camera angles.
- 2
Track
MoveNet Lightning runs in TensorFlow.js at 30+ frames per second and returns 17 body landmarks.
- 3
Smooth
A One Euro Filter removes 90% of landmark jitter without adding lag.
- 4
Judge by geometry
Hip angle, body tilt, arm angle and a knee-drop check separate a real plank from lying flat or resting on the knees.
- 5
Keep state
A state machine moves through four form states. Short breaks pause the timer and sustained broken form ends the attempt.
- 6
Score and protect
The score combines valid time with form quality, and geometric anti-cheat checks flag suspicious attempts for review.
In numbers
- 30+
- frames per second in the browser
- 90%
- less landmark jitter after filtering
- 20+
- edge cases validated
- 0
- server-side compute for inference
Screens
Next project
Sustainability Cell
The digital home of IIT Bombay's Sustainability Cell: a revamped website, a co-pilot that answers from the Cell's own documents, and a 100-parameter footprint calculator.
