Inspiration
Millions of people want to improve their fitness but can't afford personal trainers. Bad form leads to injuries, wasted effort, and discouragement. We built Form Corrector to democratize access to professional form guidance—making it free and available to everyone with a camera.
What it does
Form Corrector is an AI-powered real-time form analysis tool that:
- Records or uploads exercise videos (no file size limits)
- Analyzes form instantly using MediaPipe pose detection (33 body landmarks)
- Provides personalized feedback with visual examples showing exactly what's wrong
- Tracks progress over time with detailed form scores and rep analysis
- Works completely offline in your browser—no server, no subscriptions, no fees
Supported exercises include squats, deadlifts, bench presses, rows, and more with customizable form validation rules.
How we built it
Frontend: React + Chakra UI for responsive, accessible UI Pose Detection: MediaPipe Pose (33-landmark skeleton detection) Video Processing: Canvas API for real-time frame extraction and skeleton overlay Storage: IndexedDB for browser-based persistence (videos, frame data, workout history) Analysis Engine: Custom form validation rules with severity-based error detection and adaptive confidence scoring Performance: Optimized frame sampling (5-20 fps depending on video duration) with single-pass extraction
The app runs entirely in-browser with no backend required—analysis happens on your device in <30 seconds for typical 5-10 second videos.
Challenges we ran into
- Real-time skeleton overlay during recording – Solved by keeping a single video element mounted with conditional canvas overlay rendering
- Video playback sync issues – Fixed frame data format and added backwards compatibility for existing workouts
- Analysis performance – Optimized by removing visualization delays, single frame extraction, and progress update throttling
- False positive form errors – Relaxed thresholds for back rounding and hip position to match real-world form variation
- Storage quota management – Added detection and UI for clearing old workouts while preserving history
Accomplishments that we're proud of
✓ Completely free and accessible – Works in any browser, no subscriptions or hidden fees ✓ Medical-grade accuracy – MediaPipe pose detection trusted by fitness professionals ✓ Live feedback during recording – See form issues in real-time with skeleton overlay ✓ Offline-first design – All processing happens in your browser, no data leaves your device ✓ Fast analysis – 3-5x faster than competing solutions through optimization ✓ Visual learning – Frame-by-frame breakdown showing exactly when and where form breaks down ✓ Progress tracking – Persistent workout history with scores, rep counts, and common error patterns
What we learned
- Browser APIs (MediaRecorder, Canvas, IndexedDB) are surprisingly powerful for computer vision tasks
- Pose detection confidence matters more than raw accuracy—relaxed thresholds prevent false positives in real gyms
- React state management requires careful ref handling in real-time video scenarios
- Users care more about actionable feedback than perfect accuracy
- Storage management and quota handling are critical for sustained user engagement
What's next for Form Corrector
- Mobile app wrapper for iOS/Android with offline pose detection
- More exercises – currently supporting 8 core lifts, expanding to 50+
- Social features – share form videos and get feedback from community coaches
- Comparison mode – side-by-side analysis of your form vs. professional athletes
- Wearable integration – sync with smartwatches for additional movement metrics
- Form templates – customizable validation rules for different sports/styles
- Export & analytics – generate PDF reports and long-term progress dashboards
Built With
- mediapipe
- react
Log in or sign up for Devpost to join the conversation.