AI & Vision1st Place Winner60 FPS · $0 Cloud GPU Cost

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.

Role: Computer Vision & Frontend Engineer

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.

System Architecture Breakdown

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

33-Landmark Pose Estimation
Real-Time Joint Angle Math
Automatic Rep Counting
100% Browser Privacy ($0 GPU)

Production Tech Stack

MediaPipe PoseJavaScriptHTML5CSS3Vercel

Verified 1st Place Certificate (TIDES IIT Roorkee & Fit India)

Download Original Certificate
Uttarakhand SportsTech Hackathon 2025 Certificate

Need an engineer who ships real systems like AI Form Coach?

Available immediately for SWE Internships, Full-Stack / AI roles, and startup MVPs.

Get in Touch

Explore Other Live Engineering Projects