PoseTrack AI is a full-stack AI-powered fitness tracking platform that uses computer vision and pose estimation to analyze body movements in real time. The system tracks exercises, counts repetitions automatically, provides form feedback, calculates calories burned, and maintains workout history through an interactive web dashboard.
Built using Flask, MediaPipe, OpenCV, and modern web technologies, PoseTrack AI acts as a virtual fitness assistant capable of helping users monitor and improve workout performance directly through their webcam.
- Real-time body landmark detection using MediaPipe
- Accurate joint angle calculation
- Live pose tracking through webcam
Supports automatic repetition counting for:
- Bicep Curl
- Squat
- Push Up
- Shoulder Press
- Lunge
- Deadlift
- Leg Raise
- Lateral Raise
- Daily workout statistics
- Exercise history tracking
- Calories burned estimation
- Performance monitoring
- Secure authentication system
- Personal workout records
- Individual fitness progress tracking
- Export workout history to CSV
- Download performance reports
User Webcam
β
βΌ
MediaPipe Pose Detection
β
βΌ
Body Landmark Extraction
β
βΌ
Joint Angle Calculation
β
βΌ
Exercise Recognition Logic
β
βΌ
Repetition Counter
β
βΌ
Calorie Estimation Engine
β
βΌ
Workout History Storage
β
βΌ
Analytics Dashboard
- Python
- Flask
- Gunicorn
- MediaPipe
- OpenCV
- NumPy
- HTML5
- CSS3
- JavaScript
- Bootstrap
- SQLite
- CSV Export Support
β Full functionality available on Localhost
- Real-time camera access
- Live pose detection
- Exercise tracking
- Rep counting
- Form analysis
Clone the repository and run it locally:
git clone https://github.com/pn-dev-in/AI-Powered-Fitness-Tracking-System.git
cd AI-Powered-Fitness-Tracking-System
pip install -r requirements.txt
python app.pyThen open:
http://127.0.0.1:5000
This provides full access to all AI-powered exercise tracking capabilities.
PoseTrack-AI/
βββ controllers/
βββ models/
βββ services/
βββ static/
βββ templates/
βββ tests/
βββ utils/
βββ user_data/
β
βββ app.py
βββ auth_utils.py
βββ config.py
βββ setup_db.py
β
βββ Dockerfile
βββ docker-compose.yml
βββ render.yaml
βββ requirements.txt
βββ README.md
| Exercise | Calories/Rep | Difficulty |
|---|---|---|
| Bicep Curl | 0.5 | Beginner |
| Squat | 1.2 | Intermediate |
| Push Up | 1.0 | Intermediate |
| Shoulder Press | 0.8 | Beginner |
| Lunge | 1.0 | Intermediate |
| Deadlift | 1.5 | Advanced |
| Leg Raise | 0.7 | Beginner |
| Lateral Raise | 0.4 | Beginner |
Clone the repository:
git clone https://github.com/pn-dev-in/AI-Powered-Fitness-Tracking-System.git
cd AI-Powered-Fitness-Tracking-SystemCreate virtual environment:
python -m venv venvActivate environment:
venv\Scripts\activatesource venv/bin/activateInstall dependencies:
pip install -r requirements.txtInitialize database:
python setup_db.pyRun application:
python app.pyOpen:
http://127.0.0.1:5000
Build container:
docker build -t posetrack-ai .Run container:
docker run -p 5000:5000 posetrack-aiUsing Docker Compose:
docker-compose up --buildRun project tests:
pytest- AI posture correction feedback
- Exercise auto-classification using ML
- Personalized workout recommendations
- Fitness goal tracking
- Mobile application
- Voice-enabled AI fitness coach
- Wearable device integration
- Advanced analytics and reporting
This project showcases practical experience in:
β Computer Vision
β Pose Estimation
β Artificial Intelligence
β Flask Web Development
β RESTful Application Design
β Authentication Systems
β Data Analytics
β Docker Containerization
β Cloud Deployment
β Software Architecture
- Real-time AI fitness monitoring
- 8 supported exercise types
- Automated repetition counting
- Live calorie estimation
- User authentication and session management
- Cloud-hosted production deployment
- Docker-ready infrastructure
- Exportable workout data
GitHub: https://github.com/pn-dev-in
LinkedIn: www.linkedin.com/in/pravesh-nandanwar
If you found this project useful, consider giving it a star on GitHub.
Contributions, suggestions, and feedback are always welcome.