Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fewgets/FitFusion

Repository files navigation

๐Ÿ‹๏ธโ€โ™‚๏ธ FitFusion: AI Fitness Tracker with Pose & Diet Intelligence

An AI-powered desktop app to analyze workout posture, suggest custom meal plans, and track progress โ€” all in one place.


๐Ÿ“Œ Project Summary

FitFusion is a desktop-based fitness assistant that combines:

  1. 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
  2. AI-Powered Meal Planning

    • ๐Ÿฝ๏ธ Uses Gemini AI + Spoonacular API
    • ๐Ÿ“Š Generates meal plans based on calorie requirements and user preferences
  3. User Management + Progress Tracking

    • ๐Ÿ”’ Signup/Login with Supabase auth
    • ๐Ÿ”ฅ Track workout streaks and visualize BMI changes over time

๐Ÿง  How it Works

๐Ÿ” Pose Detection

  • Live camera stream analyzed via Mediapipe Pose model
  • Calculates angles & form to verify posture
  • Reps auto-counted if pose is correct

๐Ÿงช AI Meal Suggestions

  • Users input preferences (veg/non-veg, allergies, calories)
  • Gemini AI + Spoonacular API returns full-day meal plan

๐Ÿ“ˆ Progress Features

  • BMI calculator & visualizer (via matplotlib)
  • Weekly streak history stored in Supabase DB

๐Ÿงฐ Tech Stack

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


โš™๏ธ How to Run the Project

๐Ÿ”ง 1. Clone the Repository

git clone https://github.com/your-username/FitFusion.git
cd FitFusion

๐Ÿ”ง 2. Install Dependencies

pip install -r requirements.txt

๐Ÿ”ง 3. Set API Keys

  • In Database.py, enter Supabase credentials
  • In meal_planner.py, set Gemini + Spoonacular API keys

๐Ÿš€ 4. Run the App

python Login.py

โœจ Features

  • โœ… Real-time form correction and rep counting
  • โœ… Smart meal plans based on dietary needs
  • โœ… Visual BMI progress graphs
  • โœ… User login, streaks, and habit tracker

๐Ÿ”ฎ Future Plans

  • ๐Ÿ—ฃ๏ธ 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

๐Ÿ“ฉ Contact

๐Ÿ‘ค Usama Shahid ๐Ÿ“ง Email: dev.usamashahid@gmail.com

Feel free to reach out for:

  • ๐Ÿค Collaboration or code queries
  • ๐Ÿ’ฌ Troubleshooting or improvement ideas
  • ๐ŸŽฏ Customizations or contributions

๐Ÿ“œ License

This project is for academic and research purposes only. Feel free to fork, reference, and learn - but give credit where due ๐Ÿ™


About

AI-powered fitness desktop app with real-time workout pose tracking, personalized meal planning using Gemini & Spoonacular APIs, BMI visualization, and user progress tracking with Supabase.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

AltStyle ใซใ‚ˆใฃใฆๅค‰ๆ›ใ•ใ‚ŒใŸใƒšใƒผใ‚ธ (->ใ‚ชใƒชใ‚ธใƒŠใƒซ) /