Transform any smartphone or laptop camera into a personal AI fitness coach.
AI Gym Coach is a real-time computer vision application that provides professional-grade fitness guidance using only your browser. By leveraging on-device machine learning, it tracks your body mechanics, counts your repetitions, and gives you instant feedback on your form—ensuring every rep counts while minimizing injury risk.
No more manual selecting! The AI intelligently identifies whether you're performing Squats, Push-ups, or Planks based on your body orientation and joint angles.
Integrated jitter-reduction logic ensure that the skeletal overlay and angle tracking remain stable even in variable lighting conditions, providing a premium, jitter-free experience.
Stay motivated by "collecting" workout badges during your session. Once finished, save your performance to the History Sidebar to track your progress over days and weeks.
A futuristic, glassmorphic interface designed for clarity and visual impact. Real-time stats cards keep you focused on your goals.
- Frontend Core: React 18 & Vite
- Computer Vision: Google MediaPipe (BlazePose)
- Styling: Vanilla CSS (Modern Custom Properties)
- State Management: React Hooks & LocalStorage
- Icons: Lucide React
- Node.js (v18 or higher recommended)
- A webcam-enabled device
- Clone the repository:
git clone https://github.com/your-username/ai-gym-coach.git cd ai-gym-coach - Install dependencies:
npm install
- Start the development server:
npm run dev
- Open http://localhost:5173 in your browser.
- Position your device so your full body is visible in the frame.
- Begin moving! The AI will detect the exercise and start tracking your reps.
- Use the Save & Reset button to store your session data.
- Access the Menu icon (top right) to review your workout history.
Distributed under the MIT License. See LICENSE for more information.