AI Form Coach
60 FPS Real-Time Exercise Form Analyzer (MediaPipe Pose)
Award-winning real-time biomechanical exercise posture analysis and repetition counter running completely client-side inside the browser.
The Engineering Problem
Fitness and sports platforms struggle to offer automated coaching because streaming user webcam video to cloud GPU servers introduces high latency, server costs, and privacy concerns.
Engineered Solution & Impact
Engineered a client-side MediaPipe Pose pipeline tracking 33 body landmarks at 60 FPS directly in the browser, computing joint angles for squats, push-ups, and pull-ups with zero server GPU billing.
How It Was Engineered
1. Zero-Server Computer Vision Pipeline
Instead of streaming raw webcam frames over WebRTC/HTTP to expensive Python GPU instances, AI Form Coach executes Google MediaPipe Pose directly inside the visitor's browser via WebAssembly and WebGL. Frame capture, landmark inference, and canvas overlay rendering occur locally in a single animation loop, eliminating network round-trip lag and ongoing cloud inference bills.
2. Biomechanical Angle Math & Rep State Machine
From the 33 normalized 3D skeletal coordinates (shoulder, elbow, wrist, hip, knee, ankle), the engine computes real-time joint vertex angles using vector dot products. A hysteresis state machine distinguishes eccentric lowering from concentric lockout phases across squats, push-ups, and pull-ups so noisy frames never double-count repetitions.
3. Competition Recognition & Production Deployment
Judged first place in the Sports Domain at the Uttarakhand SportsTech Hackathon 2025 organized by TIDES IIT Roorkee, Fit India Uttarakhand, and Government of Uttarakhand. Deployed publicly on Vercel as a zero-install web experience.
Key Engineering Highlights
- Tracks 33 skeletal landmarks at 60 FPS directly in-browser with $0 GPU compute cost.
- Computes live joint angles and form rules for Squats, Push-ups, and Pull-ups.
- Delivers instant coaching cues and automatic repetition counting with live stats.
- Won 1st Place (Sports Domain) at the Uttarakhand SportsTech Hackathon 2025.
Core Features
Production Tech Stack
Verified 1st Place Certificate (TIDES IIT Roorkee & Fit India)
Download Original Certificate
Need an engineer who ships real systems like AI Form Coach?
Available immediately for SWE Internships, Full-Stack / AI roles, and startup MVPs.
Explore Other Live Engineering Projects
PropFlow
Real-Time Property Rental, Maintenance & Amenity SaaS
PhishGuard AI
Real-Time Fraud & Phishing Threat Detection System
Mission Control: Spaceflight Sim
NASA Systems Engineering & 3D Multiplayer Spaceflight Simulator