Squat counters and camera setup
How does a camera count squats?
A camera counter estimates body positions in successive images and watches for a movement sequence. In SquatQuest, one rep needs a visible standing position, a confirmed visit to the depth target, and a return to standing.
A still picture of someone at the bottom tells you where they are, but it cannot tell you whether they just completed a squat, sat down, or were holding that position before the timer began. A rep counter needs the order of observations.
From pixels to a number
First the software estimates the locations of body landmarks. Apple's PoseNet example illustrates this step with points for joints including the hips, knees, and ankles. SquatQuest uses a side view to follow the bend in a visible leg. Apple Developer guide to detecting human body poses
The counter checks whether that bend moves from the standing region into its depth region and back. It needs reasonably continuous observations. A missing knee at the bottom can break the chain even if the standing positions at either end are clear.
That explains why turning on more light or moving a chair can change the tally without changing the exercise. The software receives a different set of observations of the same movement.
Sources
Count squats with your iPhone camera
SquatQuest turns each counted rep into a hit against a cartoon boss. Prop up your iPhone and leave your hands free.
iOS 17 or later. Gameplay requires a subscription.
General educational information only. This article is not medical advice. Exercise within your ability and stop if you feel pain or feel unwell.