Skip to content

mtkarnik99/Ai-gymbro

Repository files navigation

🤖 GymBroAI

AI GymBro is an AI-powered personal trainer that uses your device’s camera to analyze your squat and pushup form in real time. It provides instant, accurate, and encouraging voice feedback using advanced pose detection, LLM-based coaching, and realistic text-to-speech.

🎬 Demo

🚀 Features

  • Real-Time Joint Detection: Uses computer vision to track your body joints live.
  • Exercise Recognition: Detects and analyzes squats and pushups automatically.
  • AI Voice Feedback: Provides instant, personalized coaching using LLM and TTS.
  • Rep Counting: Accurately counts your repetitions and gives motivational praise.
  • Modern UI: Clean, responsive interface for both desktop and mobile.

🛠️ Tech Stack

  • Frontend: React (Next.js), TypeScript, Tailwind CSS
  • Backend: FastAPI, Python
  • AI/ML: Pose Estimation (MediaPipe), LLM (Ollama/Mistral), ElevenLabs TTS
  • Deployment: Docker, Uvicorn

🏃‍♂️ Getting Started

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/your-org/ai-gymbro.git
    cd ai-gymbro
  2. Frontend Setup:

    cd app
    npm install
    npm run dev
  3. Backend Setup:

    cd ../
    pip install -r requirements.txt
    python -m uvicorn ai_server:app --host 0.0.0.0 --port 8000

🖥️ Usage

  1. Open http://localhost:3000 in your browser.
  2. Allow camera access.
  3. Select your exercise (squat or pushup).
  4. Start moving! Get instant AI voice feedback on your form and reps.

👥 Collaborators

Name Contributions
Alan Tai Joint detection & tracking, squat detection/analysis, AI voice module integration.
Joshua Chan Joint detection & tracking, squat detection/analysis, AI voice module integration.
Suriya Kasiyalan Siva Developed AI voice coaching module (TTS & LLM), form analysis.
Philip Elbert Frontend & UI implementation, real-time squat feedback algorithm.
Meet Karnik Pushup detection logic, joint tracking, frontend/UI, exercise form analysis, rep counting.

📄 License

This project is licensed under the MIT License.


🙏 Acknowledgements

About

Personalized AI trainer providing real time feedback based on current

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors