All projects

MotionLens

Movement analysis, 2026

Real-time, pose-based exercise analysis that runs entirely in the browser: it counts reps and measures each one, and video never leaves the device.

MotionLens cover

MotionLens watches you exercise through your webcam and tells you how each rep went.

Everything runs in the browser, so video is never uploaded. It uses Google’s pretrained MediaPipe Pose Landmarker for body landmarks; the analysis on top of them is mine.

What I built

  • TypeScript analysis for joint angles, smoothing, rep counting with a state machine, per-rep measurements and left-right comparison
  • Rule-based recognition of squats, bicep curls, standing arm raises and shoulder presses
  • Evaluation tools that scored 474 labelled public clips from 4 datasets, used to tune rep counting per exercise
  • Runs at about 30 fps with 15.7 ms of processing per frame at 640×480 on an M2 MacBook Air

Built with

  • TypeScript
  • MediaPipe
  • React
  • Vite
  • Tailwind CSS
Next projectRIH Auxiliary