Fitness & Wellness · December 4, 2026 · Maryna Poplavska

AI Fitness Coach in Live Classes: Where Pose Estimation Runs, What It Gets Wrong, and What It Sends

AI Fitness Coach in Live Classes: Where Pose Estimation Runs, What It Gets Wrong, and What It Sends

By Maryna Poplavska, Lead Project Manager · Last updated 30 November 2026

An AI fitness coach in a live class is software that reads a member’s camera, estimates where their joints are (pose estimation) and turns those positions into feedback: a rep count, a form cue or a prompt to step back into view. The model can run on the member’s own device while the class video goes out as usual, so the decisions that matter are where it runs, what it sends to the instructor and which claims you make. Evidence for live form feedback is thin, and camera placement changes results sharply. This guide reflects the documentation, studies and FDA guidance we re-read on 30 November 2026. It is not legal or regulatory advice. We have not built a pose-estimation, camera rep-counting or form-feedback feature; our published projects touch the real-time layer it sits on.

Key takeaways

  • Pose models return positions, not judgments. The counting and form logic is yours to write or license; its validation and your claims stay with you.
  • Run the model where the camera is. The member’s device can analyze the local camera before encoding, with no network in the feedback loop; only reporting to the instructor needs it.
  • Send metrics, not frames. A rep event is under 20 bytes of payload (our arithmetic); raw keypoints from a whole class reach megabits per second.
  • The setup decides accuracy. In one 2026 study of 44 students, scored from recorded video, squat rep-detection rates ranged from 95.5% to 0% across camera angles and distances.
  • Stay on the wellness side. FDA’s January 2026 guidance lists fitness claims such as endurance, strength and coordination; treatment or diagnosis claims fall outside it.

What does an AI fitness coach actually do in a live class?

It does up to three jobs: count reps, score form against a reference and flag class-level problems such as members out of view. The pose model returns body points per frame and nothing more; as ML Kit’s documentation puts it, “Pose Detection does not attach any meaning to the landmarks in a pose or the pose itself.” In our view, counting is the narrower job: it needs one dependable signal per repetition, while a form cue needs a reference movement, a rule per exercise and validation against a human rater or motion capture.

What four first-party pose tools and models say about themselves, as read on 30 November 2026 (no ranking intended; ML Kit’s API is “offered in beta”):

Field MediaPipe Pose Landmarker ML Kit Pose Detection MoveNet (TensorFlow tutorial) Apple Vision body pose
Body points “tracks 33 body landmark locations” “full-body 33 point skeletal match” “detects 17 keypoints of a body” “up to 19 unique body points” (2D request)
People per frame One by default (numPoses = 1) “can only detect one person in an image” One (“detects 17 keypoints of a body”; single-pose models) Not stated
Platforms Android, iOS, web (WebAssembly), Python, Flutter Android and iOS Not stated in prose Apple platforms, from iOS 14 and macOS 11
Variants Lite, full, heavy (no stated difference) Base and accurate SDKs Single-pose Lightning (“latency-critical”) and Thunder (“high accuracy”) Separate 3D request from iOS 17 and macOS 14
Stated speed Not stated Base SDK: ~30 fps on a Pixel 4, ~45 fps on an iPhone X; accurate SDK “returns results at a slower framerate” “faster than real time (30+ FPS) on most modern desktops, laptops, and phones”; no device named Not stated

MediaPipe defaults to one person per frame and ML Kit detects only one, so two people training in one room need a product rule. ML Kit also says “The user’s face must be present in order to detect a pose”; in our view, test that against floor exercises.

Where should the model run: on the member’s device or on a server?

In our view, on the member’s device for anything the member sees, and on a server only for analysis that works from numbers. We found no primary benchmark comparing placements for live pose feedback, so the table is engineering reasoning, not a measured result.

An SFU forwards each stream or layer to receivers without processing the media itself (RFC 7667, §3.7). A server-side model is one more receiver: it must decode every member’s stream and works from the picture after compression and bandwidth adaptation.

Aspect On the member’s device, before encoding On a server, after the SFU Hybrid
What the model sees Local camera frames, before compression A decoded copy of what the member sent Device: local frames. Server: keypoints and metrics
Network in the member’s feedback loop None A round trip per cue None
Video analyzed in your cloud No Yes, decoded and analyzed No
What you carry A model per platform to ship, update and validate; device variance; CPU, GPU and heat shared with the call One model to validate; a decoder and inference per member stream Both, but the server side works on numbers

If some inference does run on servers in your stack, our guide to AI video enhancement on the client, the SFU or a cloud GPU works through the cost side of that choice.

What is the latency budget, and where does it go?

With the model on the member’s device, the member’s cue has no network leg: the budget is capture, inference, smoothing and drawing. We found no primary source for a typical end-to-end latency of live pose feedback, so this section gives the structure, not the numbers: measure them on the lowest-spec device you support.

Pose feedback latency, our assumptions: capture, inference, smoothing and overlay in order; a new frame every 33.3 ms.

The frame interval sets the pace (arithmetic, not a measurement): 1,000 ms ÷ 30 fps = 33.3 ms per frame; at 45 fps, 22.2 ms. A slower model need not stall anything; it skips frames. MediaPipe’s web guidance pairs VIDEO mode with requestAnimationFrame() “so each paint inspects only the latest camera frame (skipping intermediate frames when busy).” Its native LIVE_STREAM mode “Automatically drops incoming frames when busy so results stay current with low latency”, while native VIDEO mode “Processes every frame in order and never drops frames”, which in our reading suits recorded clips, not a live camera.

Drive the loop from the camera. requestAnimationFrame() “tries to match the display refresh rate”, so MediaPipe’s sample skips repeated frames; requestVideoFrameCallback() tries for “the video frame rate” (MDN). Web tasks “run synchronously”, blocking their thread.

Smoothing adds delay (our arithmetic). A rule needing 10 consecutive model results (an example, not a recommendation) holds back the first cue by nine result intervals: about 300 ms at 30 results a second, 600 ms at 15 and 900 ms at 10. Set windows in milliseconds and measure your lowest-spec device’s real rate.

Tolerance depends on the cue (our view): a rep count can land late, a form cue must land mid-movement, and a skeleton drawn on the self-view, not the outgoing video, shows every frame of lag.

One camera, two consumers: how do you run the model and the class video together?

Feed the model from the camera capture, not the encoded or received stream; the encoder and the model then compete for CPU and GPU, not for the picture. In our view, the rest of the feature depends on this decision.

One camera, two paths: class video goes to the encoder and SFU; the same capture feeds the pose model on the device.

The encoder wants class-quality video and adapts it to the member’s network. The model wants small inputs: 192 or 256 pixels for MoveNet’s Lightning and Thunder in the tutorial code, and a 224 × 224 detector and 256 × 256 landmarker for MediaPipe, which handles “rotation, resizing, normalization, and color space conversion” itself. If the model reads the capture, encoder adaptation changes nothing for it, though capture settings do. If it taps the encoded or received stream, its input degrades whenever the member’s network does.

  • One capture. In our view, one camera track in the browser, or one camera session natively, can feed both the call and the model. requestVideoFrameCallback() is Baseline 2024 on MDN. MediaStreamTrackProcessor yields VideoFrame objects, but MDN marks it “Limited availability” and “only available in Dedicated Web Workers”. Call close() on each frame.
  • Load. The device encodes its own stream, decodes the class tiles and runs the model at once, and published model speeds, such as the framework table’s or BlazePose’s “over 30 frames per second on a Pixel 2 phone” (2020), do not say they include that load. No source we found quantifies that; test a full-length class on your lowest-spec device, including heat and battery. In our view, the levers are fewer or smaller decoded tiles, a lower model rate for counting, and pausing between exercises.

What does the instructor see, and what travels over the wire?

Send numbers, not frames: rep events and form flags with confidence and visibility states, each stamped with its frame’s capture time.

What travels per member: raw frames stay on the device, keypoints are about 158 kbit/s at 30 fps, a rep event is 12–16 bytes.

Size (arithmetic for an illustrative serialization: 4-byte floats, no compression or framing, every frame sent):

Sent per member Size At 30 fps
MediaPipe landmarks: 33 points × 5 values (x, y, z, visibility, presence) 660 bytes per frame 19.8 KB/s, about 158 kbit/s
MoveNet keypoints: 17 points × 3 values 204 bytes per frame About 49 kbit/s
A rep event: count, capture time, confidence 12–16 bytes per rep (a 4- or 8-byte time) Per rep, not per frame

For an example class of 200 members, whatever collects raw MediaPipe landmarks takes in about 31.7 Mbit/s; sparse events such as reps are negligible.

Carrier. A WebRTC data channel beside the media, or a WebSocket your app already holds. MDN’s createDataChannel() options allow out-of-order delivery and capped retransmissions; channels are ordered by default. In our view, live overlay keypoints suit an unordered channel with no retransmissions, since a late update is worthless, while rep counts belong on a reliable, ordered one. RFC 8831 defines the transport (“SCTP over DTLS over UDP”), not forwarding: through an SFU, each channel ends at its peer connection with the SFU, so relaying metrics needs explicit SFU support or a WebSocket to your backend; in our view, aggregate there and send the instructor summaries.

Timeline. The self-view needs no sync: its overlay draws from the frame in hand. MediaPipe’s sample uses performance.now(), the member’s own page clock, which the instructor’s device cannot interpret. For a remote frame, MDN says captureTime “is estimated using clock synchronization and RTCP sender reports to convert RTP timestamps to capture time”, metadata that “may be available” in WebRTC applications. In our view, tie metrics to that media timeline so the leaderboard and the recording agree, check what your SFU does to RTP timestamps, and test under added network delay. Our live-cycling project tied sensor data to the media timeline (what we have built).

The instructor view (our view): exception counts such as “3 members can’t be seen”, the median rep pace and one member’s detail on demand. In a one-way broadcast, it needs no member video at all.

How accurate is pose-based form feedback, and under what conditions?

Accuracy belongs to the setup (camera position, distance, light and who is exercising), not to the model alone, and no published number transfers to your product. The three studies we read:

Study Design and setting Measured Result as reported Limits and interests
El-Rajab et al., Frontiers in Sports and Active Living, May 2025 (search to February 2024) Review of 8 studies of camera-based mobile apps; healthy adults only App validity against reference standards Validation “remains limited and heterogeneous”; three apps gave real-time feedback, one mid-exercise Errors from “the positioning of camera equipment and the prevailing lighting conditions”; public funding (Invest BW); no commercial conflicts declared
JMIR mHealth and uHealth 2026;14:e82412, March 2026 44 healthy students; squats or push-ups filmed on three phones (1080p, 30 fps) from three angles and four distances; analyzed after recording, not live Rep detection and count error of MoveNet plus a proprietary movement-state classifier and Markov-chain counter Detection “61.1% (SD 48.8%) for push-ups and 61.5% (SD 48.7%) for squats”; squat detection best from “a diagonal view at 200 cm (95.5%; MAE=0.05)”, worst “from the side at 90 cm (0%; MAE=5)” Reference was “manual annotations rather than a gold-standard motion capture system”; pipeline “designed for real-world deployment on the Dotmoovs mobile platform”; two of eight authors list Dotmoovs (Department of Machine Learning); public funding; no conflicts declared
Chae et al., Interactive Journal of Medical Research, September 2023 Randomized, 20 women without squat experience (mean age about 22), 2 weeks of squats; recorded clips scored on a server, not live Posture score from the app’s own model; knee range of motion by XSENS IMU sensors (no app comparison reported) The app group “significantly improved their squat postures evaluated by the app”; controls did not; “No interaction was found on the 2-way mixed ANOVA” (no advantage over controls shown) Retrospectively registered; phone placed “at a predetermined distance, height, and angle”; no injury outcome

Neither primary study above checked estimated joint angles against a reference, and ML Kit calls its depth value “not a true 3D value”.

Build a quality gate (our engineering practice, not a published standard). Show a form cue only when the joints it needs pass a visibility threshold (MediaPipe’s visibility and presence; ML Kit’s in-frame likelihood, which gives unseen points “coordinates outside of the image”) and the condition holds over several frames. Otherwise, prompt “I can’t see your hips”. No source we read standardizes the thresholds.

We found no randomized trial showing that real-time AI form feedback reduces injuries. The one trial we read scored squats with the app’s own model, from recorded clips, and did not measure injury.

When does a fitness coach become a medical device?

In the US, when its intended use moves from fitness to diagnosing or treating a disease or condition, and your claims, interface, functionality and marketing all count. This is our reading of FDA’s guidance; your regulatory counsel makes the determination for your product.

FDA’s General Wellness: Policy for Low Risk Devices (issued January 6, 2026; nonbinding) starts from the statute: software intended “for maintaining or encouraging a healthy lifestyle and is unrelated to the diagnosis, cure, mitigation, prevention, or treatment of a disease or condition” is not a device. Its wellness examples include “Claims to promote physical fitness, such as to help log, track, or trend exercise activity, measure aerobic fitness, improve physical fitness, develop or improve endurance, strength or coordination”. Its counter-examples include “A claim to restore a structure or function impaired due to a disease or condition”, and it expects labeling “(including instructions for use, user-facing claims, promotional materials, and marketing communications)” to match the stated intended use. The words on a form cue count.

Two readings to take to counsel:

  • The guidance does not discuss injury, posture, cameras or pose. In our reading, a cue presented as preventing or treating an injury, or as being for a condition such as back pain, moves toward the disease-or-condition side. Telerehabilitation is outside this guide.
  • In its passage on non-invasive sensing of physiologic parameters, the guidance excludes products whose labeling, advertising, user interface or functionality includes “references to specific diseases, clinical conditions, or diagnostic thresholds” or “claims of clinical equivalence, clinical accuracy, medical or clinical grade”. Applying that list to pose output is our reading; we would not call form scores “clinically accurate”.

Outside the US, intended purpose is also central under the EU Medical Device Regulation and the UK MHRA’s guidance, although the definitions and classification rules differ.

What privacy rules apply to a camera pointed at members’ bodies at home?

Video of people exercising at home is personal data, and what you derive from it may be biometric or health data. Which laws apply to your product is a question for counsel.

EU and UK. GDPR Article 4(14) defines “biometric data” as data from technical processing of physical, physiological or behavioral characteristics “which allow or confirm the unique identification of that natural person, such as facial images”. In our reading, keypoints that cannot identify anyone may fall outside that definition, but that is a legal question, and keypoints linked to an identifiable member may still be personal data. Output that reveals something about a member’s health may be “data concerning health” (Article 4(15)), a special category under Article 9.

US. Names to raise with counsel: Illinois’ Biometric Information Privacy Act, Washington’s My Health My Data Act and Texas’ Capture or Use of Biometric Identifier Act. We have not read their text for this guide.

Design choices (our view): run the model on the device; send numbers, not frames; never upload frames by default; tell members what is measured and why before class; and treat recording an interactive class as a separate consent decision.

Build, license or assemble the pose layer?

There are three routes. Assemble from the tools and models above, and you get landmarks; counting, form rules, validation and claims are yours. License a commercial exercise-analysis SDK, and you may get exercise logic validated on someone else’s exercises, cameras and users. Train your own, and you need labeled video of your exercises, a reference standard and a pipeline to retrain and revalidate. In our view, the cost and schedule risk is validation and model updates, not the skeleton; ask each route who owns them.

The Google documentation pages we read (MediaPipe, ML Kit, TensorFlow) license their text, except as otherwise noted, under Creative Commons Attribution 4.0 and their code samples under Apache 2.0. That says nothing about the models; check each model’s own terms.

Ask the supplier, or your own team:

Ask Why
Which exercises, camera views and distances were validated, against what reference, and on whom? Placement, reference and population shaped every study above
Where does inference run, and what leaves the device? It sets your privacy design and your server bill
What claims does the supplier let you make? FDA looks at your labeling and UI
Who owns the video, keypoints and derived metrics? Data rights outlive the integration

What have we built that touches this, and what have we not?

We have not built a pose-estimation, camera rep-counting or form-feedback feature. What we have built touches the real-time layer such a feature sits on, in three published projects, each with a limit:

  • Live indoor cycling (group rides on a Janus SFU; the timeline problem above): “We built a dedicated timestamp-alignment pipeline that tags incoming sensor data with media timeline references”. The data comes from riders’ sensors over WebSocket channels alongside the media, not from a camera.
  • Real-time room classification on a moving webcam (the smoothing problem above): “Adding a rolling window that requires sustained confidence eliminated the flicker”, and “The raw accuracy did not change”. It classifies rooms, not bodies, and the model ran on a local server on the inspector’s laptop, with no cloud connection.
  • Live-stream moderation (the server branch of the placement table): “Built live stream interception that taps the media pipeline to analyze frames as they encode”, with “dedicated GPU allocation”. That is server-side moderation, not fitness or pose, and that system had an encode step on the server.

If your classes already run on live video and your open question is how a model’s output sits alongside it (a timeline shared with the class, a data path beside the media, frames tapped from a live pipeline), that is the real-time media engineering we do. The model, its validation and the claims you make stay with you.

FAQ

Is an AI fitness coach a medical device?

In the US, fitness claims such as improving strength or endurance are general wellness claims in FDA’s guidance; claims to treat or diagnose disease are not. Your counsel decides for your product.

Do I have to send member video to the cloud?

Not for the feedback. With on-device inference, the model’s frames stay on the member’s device; derived data (reps, form flags, keypoints) and the class video, if members send any, leave it.

Adding AI feedback to a live class? Book a free 30-minute call with a Trembit engineer. Bring your class format, the lowest-spec device you must support and the feature you want to ship. We will map where the model can run, what your media path does to its input and what leaves the member’s device. No deck, no pitch.

Maryna Poplavska
Written by Maryna Poplavska Project Manager & Business Analyst

Related Articles

Ready to start?

Let Us Work Together

Tell us about your project and we'll get back within 24 hours.

Get in Touch