CoachAI: An AI Personal Trainer App That Corrects Your Form in Real Time Using Your iPhone Camera

CoachAI uses iPhone pose estimation to count reps and correct exercise form in real time.
CoachAI is an iOS app that turns your iPhone camera into an AI personal trainer, using on-device pose estimation to automatically count reps and provide real-time form correction during exercises. Built on Apple's Vision framework and Core ML, it offers a zero-hardware-barrier alternative to expensive fitness mirrors and personal trainers, though it faces challenges around single-camera accuracy and diverse body type adaptation.
When Fitness Meets Computer Vision
At the gym, we often wrestle with one question: Am I doing this exercise correctly? Poor form not only undermines training effectiveness but can also lead to injuries. Traditional solutions either rely on expensive personal trainers or involve guessing in front of a mirror. CoachAI, which recently launched on Product Hunt, attempts to answer this question in a more lightweight way — turning your iPhone camera into an AI fitness coach you carry everywhere.
Built by Mouhab Tarek, this iOS fitness app earned 80 upvotes on Product Hunt (ranking #20 for the day) with its core value proposition of "rep-by-rep counting and real-time form correction." Categorized under iOS, Health & Fitness, and Artificial Intelligence, it represents an effort to bring pose estimation technology down to consumer-level fitness scenarios.

Core Features of CoachAI
Real-Time Auto Counting: Freeing Your Training Focus
CoachAI's most straightforward feature is automatic rep counting. During repetitive movements like squats or push-ups, users typically have to count while exerting force — easily losing track or miscounting. CoachAI uses the iPhone camera to capture body movement trajectories and algorithmically identifies each complete movement cycle for automatic rep counting. This means trainees can focus entirely on muscle engagement and breathing without the mental burden of keeping count.
From a technical implementation perspective, auto counting is essentially a peak detection problem in time series data. When the system continuously tracks angle changes at key joints (such as knees or elbows), each time the angle transitions from maximum to minimum and back to maximum constitutes one complete rep. The algorithm requires properly calibrated thresholds and debouncing mechanisms to avoid counting body sway or incomplete movements as valid reps.
Real-Time Form Correction: A "Trainer's Eye" in Your Pocket
Even more valuable than counting is the real-time posture correction feature. The product's official tagline reads: "a personal trainer's eyes in your pocket." CoachAI analyzes joint positions and body angles to determine whether form is correct — for example, whether knees are caving inward during squats or whether the lower back is sagging during push-ups — and provides instant feedback. This "correct-as-you-go" mechanism is precisely the professional guidance that many fitness beginners need most yet find hardest to access.
The challenge of form correction lies in translating sports biomechanics knowledge into computable rules. Sports biomechanics is the study of mechanical principles in human movement, involving analysis of joint angles, torques, center-of-gravity displacement, and other parameters. For example, during a squat, the knee joint angle should maintain a specific proportional relationship with the hip joint angle, the knee's projection from a frontal view shouldn't significantly extend beyond the toes, and the spine should remain neutral rather than excessively tilting forward or backward. Encoding this sports science knowledge into algorithmic rules or training data annotation standards is the critical step that takes an AI fitness product from "can identify joints" to "can judge good versus bad" — and represents the core competitive moat for product differentiation.
The Technology Behind CoachAI
CoachAI relies on Pose Estimation technology. This category of computer vision uses deep learning models to identify key skeletal keypoints (such as shoulders, elbows, hips, knees, and ankles) from images or video, and tracks their changes over time.
Human pose estimation is a classic subfield of computer vision that has undergone a paradigm shift from traditional feature engineering to deep learning. Milestone works in this field include CMU's OpenPose (released in 2017, the first to achieve real-time multi-person pose estimation), Google's PoseNet (a lightweight model designed for browser deployment), and Meta's Detectron2. These models are typically built on convolutional neural network (CNN) architectures and predict joint positions via heatmap regression (predicting the probability distribution of each joint at various image locations) or coordinate regression (directly outputting joint coordinates). In recent years, lightweight models like MoveNet and BlazePose within Google MediaPipe have enabled pose estimation to run in real time at 30fps or higher on mobile devices, paving the technological road for consumer applications like CoachAI.
On the iOS platform, Apple's Vision framework and Core ML already provide solid support for on-device pose recognition, allowing apps like CoachAI to perform most computation locally without uploading video to the cloud. Specifically, Apple's Vision framework introduced the human body pose detection API (VNDetectHumanBodyPoseRequest) starting with iOS 14, capable of recognizing 19 key body joints including the head, neck, both shoulders, elbows, wrists, hips, knees, and ankles. Core ML is Apple's machine learning inference framework, supporting conversion of trained models to .mlmodel format for on-device deployment while fully leveraging the Apple Neural Engine (ANE). The ANE is Apple's custom neural network accelerator chip, integrated since the A11 Bionic and now capable of tens of trillions of operations per second in the latest chips, providing a powerful hardware foundation for on-device real-time AI inference.
This on-device inference approach offers two significant advantages:
- Privacy protection: Fitness footage never leaves the device, ensuring user data security
- Ultra-low latency: Local computation enables truly "real-time" feedback
It's worth elaborating on the important technical tradeoffs between on-device inference and cloud-based inference. Cloud solutions offer the advantage of using larger, more complex models without device compute limitations, but face network latency (typically 50-200ms round-trip time), bandwidth consumption (real-time video upload requires stable high-speed connectivity), and privacy risks. For fitness form correction scenarios requiring millisecond-level responses, even an additional 50ms of latency could cause feedback to lag behind movement completion, turning "real-time correction" into "after-the-fact notification." Therefore, on-device solutions are the inevitable choice for these applications, with the tradeoff being the need for model quantization (e.g., compressing 32-bit floating-point weights to 8-bit integers) and architectural optimization to fit mobile devices' limited compute and memory.
Translating joint movement patterns into "is this form correct" judgments requires designing rules or training specialized classification models for specific exercises. This is where the technical barrier lies for AI fitness products — identifying joints is relatively easy, but judging "right versus wrong" requires deep understanding of sports biomechanics.
Market Positioning and Competitive Analysis
AI fitness coaching isn't an entirely new concept. The market already has apps like Kaia Health, Onyx, and Fitbod attempting similar paths, and even some major brands' fitness mirror products (like Tempo and Mirror) feature form correction.
From a competitive ecosystem perspective, the AI fitness space can be divided into several tiers: hardware + software solutions like Tempo (a fitness mirror with built-in depth sensors and weight recognition, priced from ~$495) and Mirror (acquired by Lululemon for $500 million, since gradually pivoting); pure software solutions like Onyx (using phone cameras for rep counting and scoring, previously nominated for an Apple Design Award) and Kaia Health (focused on physical therapy and rehabilitation pose assessment, with FDA digital therapeutics certification); and apps like Fitbod that lean more toward intelligent workout plan recommendations rather than real-time movement recognition. Hardware solutions typically achieve higher 3D spatial recognition accuracy due to depth sensors (such as ToF cameras or structured light), but their high equipment costs and fixed usage scenarios limit their reach.
CoachAI differentiates itself through extreme lightweight design: no additional hardware needed, running solely on an iPhone.
This "zero hardware barrier" strategy naturally gives it a broader potential user base. For users exercising at home, traveling, or on a budget, an app requiring no external accessories is clearly more appealing. Of course, this also means its recognition accuracy is limited by camera angle, lighting conditions, and shooting distance — a monocular RGB camera lacks depth information and may struggle to accurately determine front-to-back joint relationships from certain angles (for example, judging whether knees extend past the toes is much harder from a frontal view than from a side view).
Future Trends in AI Fitness Applications
In terms of product maturity, CoachAI is still in its early stages — 80 upvotes is a modest result on Product Hunt, and having only 1 comment indicates it hasn't yet generated large-scale user discussion. But the direction it represents is worth watching:
AI is democratizing professional services. Personal training has traditionally been a mid-to-high-end expense (typically $40-100+/hour in major cities), while computer vision technology makes basic form guidance accessible to everyone. This isn't about replacing personal trainers — complex program design, psychological motivation, and personalized nutrition advice still require human professionals — but about filling the enormous gap between "no guidance at all" and "professional personal training."
On-device AI application scenarios continue expanding. Fitness is just one example. As mobile computing power increases and dedicated AI chips become widespread, more and more scenarios requiring real-time visual feedback will be covered — from correcting musical instrument posture, to surgical operation assistance, to ergonomic monitoring on factory assembly lines, on-device pose estimation is penetrating various vertical industries.
Accuracy remains the biggest challenge. If form correction provides wrong advice, it could mislead users or even cause injuries. For example, if the system incorrectly tells a user their "knees are caving in" when they actually aren't, the user deliberately pushing their knees outward could stress the lateral knee ligaments. Whether these products can build trust in the future depends on their recognition reliability and adaptability to different body types and movements. How to cover sufficiently diverse body types (varying in height, weight, and limb proportions) and fitness levels in model training is a direction that technical teams need to continuously invest in.
Conclusion: Is CoachAI Worth Trying?
CoachAI is a textbook example of an "AI + vertical scenario" implementation. It doesn't boast flashy general capabilities, but instead focuses on a specific pain point — using the most ubiquitous iPhone to solve the most common fitness form confusion. While it still needs time to prove its recognition accuracy and practical value, it clearly demonstrates a viable direction for consumer-grade AI fitness applications: hiding complex computer vision technology behind a simple experience, allowing ordinary people to enjoy professional-level movement assistance. For fitness enthusiasts, it's worth keeping an eye on to see how far this "trainer's eye in your pocket" can go.
Related articles

How Do AI Coding Assistants Write Code? Breaking Down the Inner Workings of Copilot
Deep dive into how AI coding assistants work: from token prediction and context tracking to agentic workflows, revealing how Copilot and Claude Code generate code, plus key limitations developers must know.

Dify in Practice: Enterprise-Grade End-to-End Pipeline Design for Natural Language to SQL
Build a complete NL2SQL solution on Dify with three knowledge bases, multi-model judge mechanism, SQL security validation, and ECharts visualization.

Coze Beginner's Guide: A Complete Tutorial for Building AI Agents with Zero Code
A detailed guide to ByteDance's Coze platform covering core features, China vs. international version differences, and practical use cases. Learn to build AI agents with zero code through drag-and-drop.