Skip to content

Latest commit

Β 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

PoseTrack AI πŸ‹οΈβ€β™‚οΈ

Real-Time AI Fitness Coach Using Computer Vision & Pose Estimation

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.


πŸŽ₯ Demo

PoseTrack AI Demo

▢️ Click the image to watch the full demonstration


πŸš€ Key Features

πŸ€– AI-Powered Pose Detection

  • Real-time body landmark detection using MediaPipe
  • Accurate joint angle calculation
  • Live pose tracking through webcam

πŸ’ͺ Intelligent Exercise Tracking

Supports automatic repetition counting for:

  • Bicep Curl
  • Squat
  • Push Up
  • Shoulder Press
  • Lunge
  • Deadlift
  • Leg Raise
  • Lateral Raise

πŸ“Š Workout Analytics

  • Daily workout statistics
  • Exercise history tracking
  • Calories burned estimation
  • Performance monitoring

πŸ‘€ User Management

  • Secure authentication system
  • Personal workout records
  • Individual fitness progress tracking

πŸ“ Data Export

  • Export workout history to CSV
  • Download performance reports

πŸ—οΈ System Architecture

User Webcam
      β”‚
      β–Ό
MediaPipe Pose Detection
      β”‚
      β–Ό
Body Landmark Extraction
      β”‚
      β–Ό
Joint Angle Calculation
      β”‚
      β–Ό
Exercise Recognition Logic
      β”‚
      β–Ό
Repetition Counter
      β”‚
      β–Ό
Calorie Estimation Engine
      β”‚
      β–Ό
Workout History Storage
      β”‚
      β–Ό
Analytics Dashboard

πŸ› οΈ Technology Stack

Backend

  • Python
  • Flask
  • Gunicorn

Artificial Intelligence & Computer Vision

  • MediaPipe
  • OpenCV
  • NumPy

Frontend

  • HTML5
  • CSS3
  • JavaScript
  • Bootstrap

Database & Storage

  • SQLite
  • CSV Export Support

Supported Environment

βœ… Full functionality available on Localhost

  • Real-time camera access
  • Live pose detection
  • Exercise tracking
  • Rep counting
  • Form analysis

To Experience the Complete Application

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.py

Then open:

http://127.0.0.1:5000

This provides full access to all AI-powered exercise tracking capabilities.

πŸ“‚ Project Structure

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

🎯 Supported Exercises

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

πŸ“Έ Application Screenshots

Signup Page

Screenshot 2026-06-09 154012

Signin Page

Screenshot 2026-06-09 153952

Dashboard

Screenshot 2026-06-09 154056

Live Exercise Tracking

Screenshot 2026-06-09 154514 Screenshot 2026-06-09 154444

AI Coach

Screenshot 2026-06-09 154531

Analytics Dashboard

Screenshot 2026-06-09 154630 Screenshot 2026-06-09 154551

⚑ Local Installation

Clone the repository:

git clone https://github.com/pn-dev-in/AI-Powered-Fitness-Tracking-System.git

cd AI-Powered-Fitness-Tracking-System

Create virtual environment:

python -m venv venv

Activate environment:

Windows

venv\Scripts\activate

Linux / Mac

source venv/bin/activate

Install dependencies:

pip install -r requirements.txt

Initialize database:

python setup_db.py

Run application:

python app.py

Open:

http://127.0.0.1:5000

🐳 Docker Setup

Build container:

docker build -t posetrack-ai .

Run container:

docker run -p 5000:5000 posetrack-ai

Using Docker Compose:

docker-compose up --build

πŸ§ͺ Testing

Run project tests:

pytest

πŸ“ˆ Future Enhancements

  • 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

πŸŽ“ Skills Demonstrated

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


πŸ“Š Project Highlights

  • 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

πŸ‘¨β€πŸ’» Author

Pravesh Nandanwar

GitHub: https://github.com/pn-dev-in

LinkedIn: www.linkedin.com/in/pravesh-nandanwar


⭐ Support

If you found this project useful, consider giving it a star on GitHub.

Contributions, suggestions, and feedback are always welcome.

About

PoseTrack AI is a real-time fitness tracking platform that leverages MediaPipe, OpenCV, and computer vision to perform pose estimation, exercise recognition, repetition counting, calorie tracking, and workout analytics through an interactive Flask web application.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages