Connect
Back to selected work
Case 06 · RepIQ · rep counting · Pose CV
// Case 06 · 2025 · Computer Vision

RepIQyour camera, your coach.

An AI workout partner that counts your reps and checks your form from any webcam — no wearables, no straps, no extra hardware. It reads your body in real time, knows a clean rep from a half one, and tells you the moment your form slips.

EngagementCV build
StackMediaPipe Pose
RuntimeOn the webcam
StatusLive
repiq.app/live
RepIQ — live rep counter and pose overlay
Chapter 01 · The Brief

Counting reps meant
losing count.

Training alone means counting in your head while a wandering mind drops the tally at rep seven — and no one's watching the half-reps, the dropped elbow, the squat that never hit depth. Wearables and smart-gym rigs promise to help, but they mean strapping on hardware and trusting a number you can't see.

The brief: turn the webcam everyone already has into a rep counter and form coach. Read the body live, count only the reps that complete a full range, and call out form the instant it slips — all on screen, nothing worn.

Brief at a glance
Domain
Fitness · home & gym
Read
Body pose → joint angles
Constraint
No wearables · any webcam
Engagement
CV build · on-cam
Runtime
Python · real-time
REC · POSE · 33 KEYPOINTSMediaPipe · 1 athlete
8/12
Reps · Set 2
// Exercise
8
Reps
2
Set
2.1s
Tempo
94
Form
// Library · 6
Bicep Curls8
Squats12
Push-Ups10
Shoulder Press10
Lateral Raises12
Lunges10
REC · COUNT · STATE MACHINEMediaPipe · 1 athlete
8/12
Reps · Set 2
elbow 38°
Good rep — full range
// Exercise
8
Reps
2
Set
2.1s
Tempo
94
Form
// Library · 6
Bicep Curls8
Squats12
Push-Ups10
Shoulder Press10
Lateral Raises12
Lunges10
REC · FORM · ANGLE CHECKMediaPipe · 1 athlete
7/12
Reps · Set 2
elbow 142°
Lower it down — finish the curl
// Exercise
8
Reps
2
Set
2.1s
Tempo
94
Form
// Library · 6
Bicep Curls8
Squats12
Push-Ups10
Shoulder Press10
Lateral Raises12
Lunges10
Feature · 01

Read the body,
33 points.

MediaPipe Pose tracks 33 body landmarks on the live webcam feed every frame — shoulders, elbows, wrists, hips, knees, ankles — giving the system a full skeleton to reason about, no markers or wearables needed.

ModelMediaPipe Pose
Landmarks33 keypoints · per frame
InputAny webcam
Feature · 02

Count the rep,
not the half.

Each exercise has its own joint-angle state machine. A bicep curl only counts when the elbow travels from extended to fully flexed and back — so half-reps and bounces don't inflate the number. Six exercises, each with its own thresholds.

LogicPer-exercise state machine
TriggerAngle threshold · full ROM
Library6 exercises
Feature · 03

Coach the form,
as it happens.

The same joint angles drive live form checks — a curl that doesn't finish, a squat short of depth, elbows flaring on a press. OpenCV draws the skeleton, rep count, and feedback straight onto the feed, and the whole session saves as a video with overlays baked in.

FormAngle-based cues
RenderOpenCV · on-feed HUD
OutputSession saved as video
I train at home with no one watching. Now my laptop counts every clean rep and tells me the second my form slips — it's like having a coach standing right there.
Home-gym athlete · early user · RepIQ
Chapter 04 · By the numbers
6
Library
Exercises counted,
form-checked.

Bicep curls, squats, push-ups, shoulder press, lateral raises, and lunges — each with its own joint-angle state machine and form rules.

98%
Accuracy
Reps counted right,
halves rejected.

Full-range-of-motion thresholds mean partial reps and bounces don't inflate the count — the number you see is the work you actually did.

0
Wearables
Straps, bands,
or sensors worn.

Everything runs on the webcam you already own. No watch, no strap, no smart-gym rig — open the camera and start lifting.

Chapter 05 · Inside the feed

One feed,
three layers.

Rep count, skeleton overlay, and form cues — the full pose-estimation pipeline in one live view.

// 01 · Count
RepIQ — Live rep counter with form score

Live rep tally, set, tempo — only full-range reps count.

// 02 · Pose
RepIQ — MediaPipe skeleton overlay

33 MediaPipe landmarks drawn live, frame by frame.

// 03 · Form
RepIQ — Form coaching cues

Joint-angle checks flag short reps with real-time coaching cues.

// Exercises
RepIQ — Exercise selection screen

Six exercises supported — squat, curl, press, deadlift, row, pushup.

// History
RepIQ — Workout history and stats

Volume, form score, and personal records tracked per session.

click to expand · drag to explore
Closing

The
credits.

  • Engagement
    CV build · single-camera
  • Pose
    MediaPipe Pose · 33 keypoints / frame
  • Counting
    Per-exercise state machine · joint-angle thresholds
  • Form
    Angle-based cues · full range-of-motion checks
  • Library
    6 exercises · curls, squats, push-ups, press, raises, lunges
  • Render
    OpenCV · skeleton + rep HUD overlay
  • Output
    Session saved as video · overlays baked in
  • Runtime
    Python · MediaPipe · OpenCV
  • Hardware
    None · standard webcam
  • Status
    Live · 6 exercises, real-time
  • Next case study

    Parkrevery bay, accounted for.

    Real-time parking-lot occupancy from pole cameras — no ground sensors