Skip to content
Workout Samurai
Menu
Technique

How to count push-ups with your phone camera

A phone can count your push-ups reliably, but only if it can see you. Almost every complaint about camera rep counters comes down to placement, framing or light rather than the software. Here is how to set up in thirty seconds, and how to diagnose a count that goes wrong.

Updated 13 min readBy the Workout Samurai team
On this page

How do you count push-ups with your phone camera?

To count push-ups with your phone camera, lay the phone on the floor about 4 to 6 feet to one side of your mat, propped against a wall or a book so the lens looks straight down your body in profile. Frame your whole body head to feet, open a push-up counting app, and start. The camera watches your joints move and counts each descent and ascent.

That is the entire setup. No wearable, no chest strap, no tapping the screen between reps. Workout Samurai is one such app, a push-up game where the camera does the counting, but the placement advice below applies to any of them. The rest of this guide is about the details that separate a count you trust from a count you argue with.

Where should you put your phone to count push-ups?

Place the phone at floor level, to the side, far enough back to see all of you. Floor level matters more than people expect: a push-up is a movement that happens in the last 30 centimetres above the ground, and a phone propped on a chair looks down at a foreshortened version of it. From the floor, your elbow bend and your chest height are both plainly visible.

  1. Pick the side, not the front or the back

    Stand the phone level with your ribcage, off to your left or right. From the side, a camera sees the two things that define a push-up: how much your elbow bends and how far your chest travels. From directly in front, your arms hide your torso. From behind your feet, your body hides itself.

  2. Set the distance by your body length

    Aim for roughly the length of your body plus a bit. For most adults that is 4 to 6 feet, or 1.2 to 1.8 metres. Too close and your feet leave the frame at the bottom of the rep. Too far and your joints get small and noisy, which is where miscounts creep in.

  3. Prop it at floor height, portrait or landscape

    Landscape usually frames a horizontal body better. Lean the phone against a wall, a skirting board, a water bottle or a stack of books, tilted back about 10 degrees so the lens is not staring at the carpet. A cheap tripod is nice but not necessary.

  4. Check the preview before your first rep

    Get into the top of a push-up and look at the screen. You want your head, hands, hips and feet all inside the frame with a little air at each end. If you have to guess whether your feet are in shot, they are not.

  5. Do two slow test reps

    Watch the counter move. If it registers both, your placement is good. If it registers one or none, come back to the troubleshooting table below rather than grinding out a whole set that will not count.

Front camera or rear camera for counting push-ups?

Either works for counting push-ups. The front camera lets you see the rep count and any on-screen form cues while you train, which most people prefer. The rear camera usually has a better sensor and a wider or sharper lens, so it holds up better in a dim room or at a longer distance.

A practical rule: start with the front camera so you can confirm your framing without getting up, then switch to the rear camera if you are training in low light or if your space forces you to put the phone further away than 6 feet. If you are training to audio cues rather than watching the screen, the rear camera is the better default.

How do camera push-up counters actually work?

Camera push-up counters use pose estimation. A small neural network runs on each video frame and predicts the pixel position of a set of body landmarks: nose, shoulders, elbows, wrists, hips, knees, ankles. Google's on-device pose landmarker returns 33 such landmarks per frame and is explicitly built for real-time fitness use, and Apple's Vision framework offers an equivalent body-pose request on iOS.

Landmarks alone are not a rep. The counter has to turn a stream of moving dots into a decision. Workout Samurai fuses four signals into a single rep-progress number: elbow flexion, how far the shoulder drops, how far the head drops, and the apparent scale of your body in frame. That number is normalised to you at calibration, so a tall lifter and a short one produce comparable curves.

On top of that sit structural gates, checked at the top of every rep: did you actually reach a depth floor, were your wrists planted, was there a real descent followed by a real ascent rather than a wobble, and was your whole body present in frame. Read more about how that pipeline runs entirely on the phone in on-device rep counting and the AI push-up counter.

Lighting, clothing and floor for a camera rep counter

A pose model finds your joints by looking at contrast and shape, so three things in your room matter. Light: even and roughly frontal. A window or lamp in front of you is ideal; a bright window directly behind you turns you into a silhouette and is the worst case. Overhead light alone is usually fine.

Clothing: fitted beats baggy. A loose hoodie hides where your elbow actually is, and a very long t-shirt hanging toward the floor confuses where your torso ends. Wear something that contrasts with your floor. Black leggings on a dark wood floor, or a white shirt on a pale carpet, both make life harder for the model than they need to.

Floor and background: a plain background is better than a busy one. Clear anything human-shaped out of frame, including a mirror that reflects you, because a second apparent body in the shot can pull the detector away from the real one. If a housemate walks through the shot mid-set, expect a hiccup.

How much floor space do you need to count push-ups on camera?

You need about your body length for the push-up itself, plus 4 to 6 feet of clear sight-line to the side for the phone. In a small apartment that is often the constraint, not the push-up. Three ways to buy space without moving furniture:

  • Shoot along a corridor or a wall. Lie parallel to the longest clear line in the room and put the phone at the far end of it, rather than trying to back the phone into a wall that is only 3 feet away.
  • Use the diagonal. The diagonal of a small room is usually a foot or two longer than any wall, and that is often the difference between your feet being in frame and out of it.
  • Go slightly wide, not closer. If your phone offers a 0.5x ultra-wide lens, it will fit your whole body in from about 3 feet. Edge distortion is a real cost, so keep yourself near the centre of the frame if you do this.

One thing that does not help: raising the phone to get more in shot. A high, downward-looking camera compresses vertical movement, which is exactly the movement the counter is measuring. If you have to choose, take a tighter floor-level shot over a roomier high one.

Troubleshooting a push-up counter that misses reps or double-counts

If a camera push-up counter is behaving badly, work through this table before you blame the app. In practice, framing and depth account for most of it. Find your symptom on the left and change one thing at a time.

Camera push-up counter: symptom, likely cause, fix
SymptomLikely causeFix
Counts nothing at allCamera permission denied, lens covered, or no body detected in frameCheck permissions in your phone settings, wipe the lens, and confirm your whole body is visible in the preview before starting
Misses roughly every other repYou are not reaching the depth floor on the missed repsLower until your chest is about a fist off the floor. Slow the descent so the bottom of the rep is unambiguous
Stops counting partway through a setYour hips or feet drifted out of frame as form degradedReframe with a hand's width of margin at head and feet, and keep the body line straight. See push-up form
Double-counts a single repA bounce or a pause mid-rep reads as two separate descent-and-ascent structuresMove continuously. One smooth descent, one smooth ascent, no hitching at the bottom
Counts while you are restingShifting, rocking or dropping the hips in the plank looks like vertical travelRest off the floor. Drop to your knees or stand up between sets rather than hovering in position
Erratic in a dark roomLow light means noisy landmark predictionsAdd a lamp in front of you, switch to the rear camera, or move nearer a window without putting it behind you
Works on one floor, not anotherLow contrast between your clothing and the surfaceChange to a top that contrasts with the floor, or put a differently coloured mat down
Loses you when someone walks pastA second person in frame pulls the detectorClear the shot, and check for mirrors or posters with human figures in the background
Counts fine but the total feels lowServer-side validation rejected reps the phone counted generouslyTighten depth and lockout. The device is deliberately lenient, the validation is not
Camera push-up counter: symptom, likely cause, fix

Why the counted number can disagree with what you felt

It is genuinely annoying to finish a hard set of twenty and see eighteen. Usually nothing is broken. A camera counter measures displacement and joint angles; you measure effort. A rep that was exhausting but only travelled two thirds of the way down is a hard rep and an incomplete push-up, and those are different things.

Workout Samurai runs on a principle we call count generously, score strictly. On the phone the counter is deliberately biased toward recall, so a rep you genuinely did is unlikely to be dropped. The server then validates the submission before it counts toward samurai titles, ranked seasons or your clan totals. The result is that a number you see is a number you earned, which is the only way a leaderboard is worth anything.

The practical fix is boring and effective: slow down. Most disagreements between you and the counter disappear when the descent takes a full second and the bottom position is unmistakable. That also happens to be better training, which is the quiet advantage of letting something else keep score.

What if you do not want to use the camera?

The camera is optional. If you deny camera permission in Workout Samurai, the app still works: you do your set and claim the reps manually. The whole workout game is still there, the dojo campaign, the samurai titles and your clan. Manual claiming is the honest fallback for a shared gym floor, a hotel room with nowhere to prop a phone, or simply not wanting a lens pointed at you.

The trade-off is that manual reps carry no verification, so they are held to a different standard where verification matters. If you only ever train at home and you want to see where you stand, the push-up test is a reasonable place to get a baseline number either way.

Camera push-up counting: common questions

How far away should my phone be to count push-ups?

Put your phone about 4 to 6 feet, or 1.2 to 1.8 metres, to the side of your mat at floor level. That is roughly your body length plus a margin. The test is not the measurement, it is the preview: if your head and feet are both in frame with a little air at each end, the distance is right.

Why is my push-up counter not counting my reps?

The three usual causes of a push-up counter missing reps are framing, depth and light. Your feet or head are outside the frame, you are not reaching the depth the counter requires, or the room is too dim for the pose model to place your joints reliably. Fix them in that order, changing one thing at a time.

Can a phone camera count push-ups accurately?

Yes, for standard push-ups, a phone camera can count reps accurately once it is placed well. On-device pose models track your joints at 30 frames per second or better on modern phones. Accuracy depends far more on your setup, your depth and your tempo than on the phone model you own.

Does a camera push-up counter work in the dark?

Not well. A camera push-up counter needs enough light to find the edges of your body, so a dark room produces noisy joint tracking and dropped reps. A single lamp placed in front of you is usually enough. Avoid a bright window directly behind you, which turns you into a silhouette.

Should the phone be in front of me or to the side for push-ups?

To the side. A side-on view of a push-up shows elbow bend and chest height clearly, which are the measurements that define the rep. From directly in front, your arms and shoulders block the view of your torso, and small errors in depth become invisible to the camera.

Does the app record or upload video of me doing push-ups?

In Workout Samurai, no. The pose detection runs on the phone itself, and no video, image or camera frame ever leaves the device. Only the resulting rep count is submitted, and that count is validated server-side. There is more detail on on-device rep counting.

Why does the counter say fewer reps than I did?

Usually because some reps did not reach the required depth or did not complete the ascent. A camera counter measures how far you actually travelled, not how hard the rep felt. Slowing the descent to about one second and making the bottom position unmistakable resolves most of these disagreements.

Can I count push-ups with my phone in a small apartment?

Yes. Lie along the longest clear line in the room, or along the diagonal, and put the phone at the far end of it at floor level. If you still cannot get 4 feet of distance, a 0.5x ultra-wide lens will frame your whole body from about 3 feet. Keep yourself near the centre of the frame.

Do camera counters recognise diamond or archer push-ups?

Workout Samurai counts standard push-ups. It does not identify diamond, archer, decline or other variations as separate movements, so a set of those will not be classified for you. If you want to train variations, push-up variations explains where each one fits.

What should I wear so the camera can see my joints?

Wear fitted clothing that contrasts with your floor. Baggy hoodies and long loose t-shirts hide where the elbow and torso actually are, and dark clothing on a dark surface gives the pose model very little edge to work with. Shorts and a fitted top on a contrasting mat is the easiest case.

Does the phone need to be plugged in or charged for rep counting?

No, but running a camera and a pose model together does use battery and can warm the phone during a long session. If you are doing an extended workout, start above 30 percent or keep a cable nearby. Short sets have negligible impact.

Can two people share one phone to count push-ups?

Take turns rather than sharing the frame. A pose detector tracking one person can be pulled away by a second body in shot, which causes dropped and double counts for both of you. Clear the frame between attempts and keep the person resting out of the camera's view.

Sources

How this was written

Written by the team building Workout Samurai, the push-up game whose on-device camera counts every rep. The methodology here is the conventional one, and we say where it comes from: a graded push-up progression in the “hundred push-ups” tradition, the ACSM 2-for-2 progression rule, real rest days between hard sessions, and periodic re-tests against a measured max. None of that is a feature of the app, which counts reps rather than coaching you. Where we cite standards or research, the sources are listed on the page.

This is general fitness information, not medical advice. Talk to a physician before starting a new training program, and stop if something hurts. Questions or a correction? support@workoutsamurai.com.

Keep reading