This is a web application with followng features:
- Ecxercise form tracking.
- Rep counting.
- Tutorials of each excercise(both video as well as text based)
- Daily Nutrition Tracker
- FitBot(Our chatbot)
- Contains a brief of what we offer.
- Contains a music playlist to pump up your workout regime.
- Also contains a podcast playlist(for guidance and motivation)
2023-07-05.14-14-16.mp4
Here's where the fun begins. You get to choose the excercise which you want to perform and our model tracks your form and reps.
Available Excercises:
- Left Bicep Curl
- Right Bicep Curl
- Squats
- Pushups
- Shoulder Press
Here is a sample video to track your left Bicep Curl:
train.mp4
Here is a sample video to track Shoulder Press:
shoulder.press.mp4
- The user can track his/her nutrition by listing out the food items they ate for a particular meal.
- This helps one to monitor their food diet and adjust their next meal accordingly.
nutrition.mp4
Finally, a chatbot is also integrated which answers questions on fitness and fitness related queries.
- OpenCV: To allow access of webcamera and convert the live feed to frames so that neccessary operations can be performed.
- Mediapipe: To extract key-points from the human body which helps to calculate angles between different body parts.
- Stramlit: Python based framework to develop website.
- OpenAI: To build the chat bot.
- Make sure to use your OpenAi API key to enable the chatbot.(Change to be made in 4_🤖_Chatbot.py file)
- Make sure to put in your email id to allow form submission.(Change to be made in 1_🏠_Home.py file)
- Clone the repository
git clone https://github.com/Chandan-h-509/AI-Fitness-Trainer
- Go to the models directory
cd models
- Run the website
streamlit run 1_🏠_Home.py
Feel free to raise any issues/bugs/suggestions in the issues page of this repository.
Thank You!!