FitSync AI is an AI-powered gamified fitness web app inspired by Duolingo, designed to make workouts engaging and interactive. It provides AI-generated exercise suggestions, animated exercise demonstrations, personalized meal plans, and a fitness league with XP levels to track progress.
- ✅ AI-Powered Daily Exercise Suggestions
- ✅ Smart Timer with beep alerts
- ✅ Fitness League & Leaderboard to track progress
- ✅ Animated Exercise Demonstrations using Lottie.js
- ✅ AI-Generated Meal Plans displayed dynamically
- ✅ FitBot - your fitness chatbot
- ✅ Firebase Integration for real-time database functionality
WhatsApp.Video.2025-02-28.at.10.22.29.PM.mp4
Untitled.video.-.Made.with.Clipchamp.mp4
WhatsApp.Video.2025-03-01.at.9.06.18.AM.mp4
Frontend:
- ✅ Streamlit – For the web-based UI and interactive elements
- ✅ OpenCV – For capturing and processing video frames
- ✅ Plotly – For data visualization and analytics
Backend & Computation:
- ✅ Python – Core programming language
- ✅ NumPy – For numerical calculations and interpolations
- ✅ Math Library – For angle calculations using atan2 and degrees
Computer Vision & AI:
- ✅ PoseDetector (likely using Mediapipe or OpenCV) – For pose estimation and detecting key body points
Hardware & Integrations:
- ✅ Webcam (via OpenCV) – Capturing real-time exercise data
Ensure you have the following installed:
- 🐍 Python 3.8+
- 📦 pip (Python package manager)
- 💻 Git (optional, for cloning)
- 📂 Virtual Environment (recommended)
1️⃣ Clone the Repository (if using Git)
git clone https://github.com/your-username/FitnessTrainer.git
cd FitnessTrainer
2️⃣ Create & Activate a Virtual Environment
# Create virtual environment
python -m venv venv
# Activate (Windows)
venv\Scripts\activate
# Activate (Mac/Linux)
source venv/bin/activate
3️⃣ Install Dependencies
pip install -r requirements.txt
4️⃣ Set Up Secrets (if applicable)
Add API keys or credentials in secrets.toml
(if needed).
5️⃣ Run the Application
python styles/1_🏠_HomePage.py
# Tutorials
python pages/2_📘_Tutorials.py
# Train Mode
python pages/3_🏃_Train.py
# Chatbot
python pages/4_🤖_Chatbot.py
# Nutrition Guide
python pages/5_🍎_Nutrition.py
To deactivate the virtual environment, run:
deactivate
If you face missing dependencies, manually install them:
pip install some_package_name
- Push your code to GitHub.
- Go to Settings → Pages
- Set the branch to
main
and save.
For queries or contributions, reach out to Pallavi Gudupalli at [email protected].