RepMint
AI camera coach that counts reps and scores form, entirely in the browser.
- Team
- Team build, extended solo
- When
- Jun – Sep 2026
- Status
- Live
- Recognition
- 1st place · IE AI Module Demo Day (240+ students)
Live app, repmint.vercel.app
Overview
RepMint turns a phone or laptop camera into a training coach. Pose estimation runs on the device and a rep-counting state machine tracks range of motion and tempo. An AI plan generator builds programmes around the user’s goals. After Demo Day I extended it into a Telegram coach.
- 33
- pose landmarks, on-device
- 58
- form-scored exercises
- 115
- exercise library
Highlights
- In-browser MediaPipe pose estimation: video never leaves the device.
- Depth-normalised rep-counting state machine with range-of-motion gating and refractory debounce.
- AI plan generator through OpenRouter on a Supabase data layer; session logging and insights.
- Telegram coach built after Demo Day: authenticated webhooks, duplicate-update protection and a per-user rate-limited LLM gateway.
How it works
Camera frame. Frames are read in the browser; nothing is uploaded.
Pose landmarks. MediaPipe returns 33 body landmarks per frame.
Normalise. Joint angles are normalised by body depth so distance from the camera does not change the count.
Rep state machine. Top, descent, bottom, ascent. A rep counts only when range of motion is reached, with a refractory window against double counts.
Form score and cues. Tempo, time under tension and per-rep cues, logged to the session.
Decisions
Why run pose estimation on the device?
Privacy and latency. Training video is personal, and live cues need sub-second feedback that a server round-trip would not give.
Why a state machine rather than peak detection?
Peaks double-count on wobble and miss partial reps. Explicit states with a range-of-motion gate make every counted rep explainable.
Stack
Next.jsTypeScriptMediaPipeSupabaseOpenRouterDenoTelegram Bot API