Selected work

ROMtrack

A browser app that counts rehabilitation repetitions, measures range of motion, and flags compensations from a webcam. The video stays on the device.

JavaScriptMediaPipe PoseOne Euro filterNode test runner
ROMtrack session report with summary cards, an angle-over-time chart and a per-repetition tableReport from an automated end-to-end test / synthetic pose input

From input to output.

  1. 01Webcam / video
  2. 02Pose landmarks
  3. 03Joint angle + filtering
  4. 04Repetition counter
  5. 05Physio report

Can a laptop camera give a physiotherapist an objective log of exercises done at home?

The approach

MediaPipe Pose runs in the browser. Each exercise maps landmarks to one joint angle plus compensation checks. A One Euro filter and a hysteresis counter turn that angle stream into repetitions with peak angle, range of motion, and quality. After the first real webcam session logged a phantom 178° repetition on re-entering the frame, a gate now resets the pipeline after tracking gaps and drops physically implausible jumps.

Scope & limitations

Angles from 2D video are approximate and depend on camera position. The counting logic is benchmarked on synthetic trajectories; agreement with a goniometer and accuracy on real patients have not been validated. ROMtrack is a support tool, not a medical device.

Squat Judge