A computer-vision rep counter that knows when you're up and when you're down.

role
Solo build
status
Shipped
when
2025
ownership
Solo
pose.repsRobotics & autonomy · Data & ML engineering
UPDOWNREPS12

Who did what. Personal project.

Overview

MediaPipe Pose tracks body landmarks from a webcam; a trained classifier labels each frame as an up or down stage, so any up/down exercise is counted in real time. An open palm toggles counting on and off.

Why it exists

Counting reps by hand breaks your focus. The camera can do it if it understands the stage of the movement, not just the pose.

My part

  • Pose landmarks to classifier to stage machine to rep count, with a CustomTkinter dashboard and gesture control.

How it works

  1. a

    Camera

    Live webcam frames.

  2. b

    Landmarks

    MediaPipe Pose keypoints.

  3. c

    Stage

    Classifier labels up or down.

  4. d

    Count

    Stage transitions become reps.

Built with

  • Python
  • MediaPipe
  • Scikit-learn
  • OpenCV
  • CustomTkinter

Status & next

Works for any exercise with a clear up and down movement.

Source: github.com/AA-KH/Primitive-Excercise-Sets-Counter