Skip to content

Exercise Rep Counting: The Standard Skeleton-Keypoint Approach

A pose model outputs per-frame skeletons; turning poses into “one completed rep” takes state-machine logic.

Counting is a state machine

  • Define joint angles: squats watch the knee angle (<100° down, >160° standing) with hysteresis to avoid flicker;
  • State machine: standing → down → standing counts one rep, with minimum-phase durations filtering jitter;
  • Side view required: place the camera perpendicular to the exerciser; frontal views add depth error.

Add a form hint (“go deeper”) alongside the count — it retains users better than the number alone.

Related products: RK3588 Mini PC, RP01A dev board. Datasheets, firmware and SDKs are free at the Hugsun Documentation Center; for selection advice or volume pricing, talk to us.

Talk to an engineer

Need selection advice, samples or a volume quote?

Tell us your scenario and target volume — you will get selection advice, lead time and pricing within one business day.

  • Free selection & feasibility review
  • Sample / evaluation board support
  • ODM / OEM customization