Skip to content

About

AI based training, detecting your exercise is perfect or not?

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

AI Fitness Coach

Onboarding Screen Home Dashboard Workout Plan Exercise Detail

Add Exercise Page Coach Chat Body Scan Pose Detection

Rep Counter Form Feedback Analytics Overview Muscle Recovery

Fitness Test Card Subscription Payment Profile Screen Settings Notifications


📖 Project Overview

AI Fitness Coach is a Flutter-based, Zing App–inspired fitness companion, enhanced with cutting-edge AI and computer-vision features:

  • Real-time Pose Detection Leveraging ML Kit’s MediaPipe model to track body landmarks for squats & push-ups.

  • Rep Counting & Form Feedback Angle-based classification automatically identifies reps and displays form cues (“Go deeper”, “Nice push-up!”, etc.).

  • AI Workout & Nutrition Plans Gemini/OpenAI integration for personalized exercise routines and diet recommendations in any language.

  • Subscription & Payments Stripe-powered in-app purchases for premium content and AI-guided challenges.

  • Comprehensive Analytics Body-fat %, muscle recovery, workout streaks, and progress charts stored in Firestore.

  • Coach Chatbot 24/7 multilingual AI assistant for tips, motivation, and Q&A.


INFRA-Structure

  • State Management: Riverpod

  • Navigation: GoRouter

  • Backend:

    • Firebase Auth (Email, Google, Facebook)
    • Firestore (workouts, metrics)
    • Storage (body scan images)
    • Cloud Functions (Python CV hooks)
  • AI & CV:

    • On-device ML Kit pose detection
    • Python FastAPI server (MediaPipe + TensorFlow Lite) for advanced analytics

🚀 Getting Started

Prerequisites

  • Flutter 3.x & Dart
  • Android Studio / Xcode or a Real Device
  • Firebase project credentials
  • Stripe API keys
  • Python 3.9+ (for optional CV server)

Installation

  1. Clone the Repo

    git clone https://github.com/Hami0095/AI-Fitness-Coach.git
    cd AI-Fitness-Coach
  2. Fetch Dependencies

    flutter pub get
  3. Configure Firebase

    • Place google-services.json (Android) and GoogleService-Info.plist (iOS) in their respective folders.
    • Enable Auth providers, Firestore, and Storage in your Firebase console.
  4. Run the App

    flutter run
  5. (Optional) Start CV Server

    cd cv_server
    pip install -r requirements.txt
    uvicorn app:app --reload

📂 Screenshots Gallery

All app screens captured below:


📜 License

MIT © \AbdurRehman

About

AI based training, detecting your exercise is perfect or not?

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages