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 ๐