This project is an AI application that utilizes Computer Vision technology, Pose Estimation, and Speech Recognition to provide accurate tracking of exercise repetitions during gym workouts. By doing so, it aims to enhance users' fitness routines.
Watch the Fitness AI Coach gameplay demo below:
main.py
: The main Python script that runs the Streamlit app.ExerciseAiTrainer
: Pose estimation logic specific for each exercise.AiTrainer_utils.py
: utils functions (resize image, calculate distance)PoseModule2.py
: Body Pose estimation logicrequirements.txt
: List of Python libraries required for this project.- mp3 files: Voice of the AI trainer
- mp4 files: Demo video of exercises (push up, curl, squat, etc)
- Ensure you have Python installed on your machine.
- It's advisable to create a virtual environment to manage dependencies for this project.
- Clone this repository to your local machine.
git clone https://github.com/RiccardoRiccio/Fitness-AI-coach.git
To run the application, open your terminal and execute the following command:
```bash
streamlit run main.py
- Exercise Tracking: Accurately tracks repetitions for various exercises like Bicep Curls, Push-Ups, Squats, and Shoulder Press.
- Voice Commands: Uses speech recognition to start and stop the exercise tracking.
- Computer Vision: For pose estimation and exercise tracking.
- Speech Recognition: For voice-activated controls.
- Streamlit: For the web application interface.
- Technologies: Python, OpenCV, Streamlit, mediapipe, Speech Recognition API