An AI-powered desktop app to analyze workout posture, suggest custom meal plans, and track progress — all in one place.
FitFusion is a desktop-based fitness assistant that combines:
-
Pose Detection for Form Correction using Mediapipe + OpenCV
- 🎥 Tracks keypoints for exercises like push-ups, planks, squats, etc.
- 🧠 Gives posture-based rep count & real-time correction feedback
-
AI-Powered Meal Planning
- 🍽️ Uses Gemini AI + Spoonacular API
- 📊 Generates meal plans based on calorie requirements and user preferences
-
User Management + Progress Tracking
- 🔒 Signup/Login with Supabase auth
- 🔥 Track workout streaks and visualize BMI changes over time
- Live camera stream analyzed via Mediapipe Pose model
- Calculates angles & form to verify posture
- Reps auto-counted if pose is correct
- Users input preferences (veg/non-veg, allergies, calories)
- Gemini AI + Spoonacular API returns full-day meal plan
- BMI calculator & visualizer (via matplotlib)
- Weekly streak history stored in Supabase DB
| Category | Tools / Frameworks |
|---|---|
| Language | Python 3.10+ |
| Interface | PyQt5 |
| Pose Estimation | OpenCV, Mediapipe |
| AI Meal Plans | Gemini AI, Spoonacular API |
| Data Storage | Supabase (Auth + Database) |
| Charts | Matplotlib |
git clone https://github.com/your-username/FitFusion.git
cd FitFusionpip install -r requirements.txt- In
Database.py, enter Supabase credentials - In
meal_planner.py, set Gemini + Spoonacular API keys
python Login.py- ✅ Real-time form correction and rep counting
- ✅ Smart meal plans based on dietary needs
- ✅ Visual BMI progress graphs
- ✅ User login, streaks, and habit tracker
- 🗣️ Add voice-guided workouts and assistant
- 📱 Launch mobile version (Android/iOS)
- 🌍 Include regional/local meal options
- 🏆 Fitness leaderboard and community challenge system
- ☁️ Cloud sync and backup of progress data
👤 Usama Shahid 📧 Email: dev.usamashahid@gmail.com
Feel free to reach out for:
- 🤝 Collaboration or code queries
- 💬 Troubleshooting or improvement ideas
- 🎯 Customizations or contributions
This project is for academic and research purposes only. Feel free to fork, reference, and learn - but give credit where due 🙏