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.
-
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
- Flutter 3.x & Dart
- Android Studio / Xcode or a Real Device
- Firebase project credentials
- Stripe API keys
- Python 3.9+ (for optional CV server)
-
Clone the Repo
git clone https://github.com/Hami0095/AI-Fitness-Coach.git cd AI-Fitness-Coach -
Fetch Dependencies
flutter pub get
-
Configure Firebase
- Place
google-services.json(Android) andGoogleService-Info.plist(iOS) in their respective folders. - Enable Auth providers, Firestore, and Storage in your Firebase console.
- Place
-
Run the App
flutter run
-
(Optional) Start CV Server
cd cv_server pip install -r requirements.txt uvicorn app:app --reload
All app screens captured below:
MIT © \AbdurRehman
















