Skip to content

itsakki10/RepSense_AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ‹οΈ RepSense AI

Your Real-Time AI Gym Coach

RepSense AI is an AI-powered fitness coaching platform that provides real-time exercise tracking, rep counting, posture analysis, form correction, voice coaching, workout history management, and uploaded video analysis.

Built using Computer Vision, MediaPipe Pose Estimation, Streamlit, and AI-powered coaching, RepSense AI helps users train smarter by analyzing movement quality and providing actionable feedback.


πŸš€ Live Demo

Landing Page

https://repsenseai-gym-coach.netlify.app/

RepSense AI Application

https://repsenseai-gym-coach.streamlit.app/

πŸš€ Features

πŸŽ₯ Real-Time Exercise Tracking

  • Live webcam-based workout monitoring
  • Real-time pose estimation using MediaPipe
  • Exercise-specific movement tracking
  • Instant visual feedback

πŸ”’ Intelligent Rep Counting

  • Automatic repetition counting
  • Set tracking
  • Workout completion detection
  • Exercise-specific counting logic

🧠 AI Form Analysis

  • Posture evaluation
  • Joint angle analysis
  • Form correction detection
  • Exercise-specific biomechanical checks

πŸŽ™οΈ AI Voice Coach

  • Motivational workout coaching
  • Real-time form correction prompts
  • Set completion notifications
  • Workout completion feedback

πŸ“ Upload Video Analysis

  • Upload pre-recorded workout videos
  • Analyze exercise performance
  • Rep counting from uploaded videos
  • Form evaluation and feedback

πŸ“Š Workout Analysis Reports

  • Total repetitions
  • Form quality assessment
  • Strength highlights
  • Areas for improvement
  • Overall form score

πŸ“ˆ Progress Tracking

  • Total reps completed
  • Current set progress
  • Sets completed
  • Session monitoring

πŸ—„οΈ Workout History

  • Persistent workout storage
  • Session tracking
  • Exercise logs
  • Historical workout records

πŸ› οΈ Tech Stack

Frontend

  • Streamlit
  • Custom CSS
  • Responsive UI Design

Computer Vision

  • OpenCV
  • MediaPipe Pose Landmarker
  • NumPy

AI & Coaching

  • Groq API
  • Custom Coaching Pipeline
  • Text-to-Speech Integration

Backend

  • Python
  • SQLite Database

Video Processing

  • OpenCV
  • AV
  • Streamlit WebRTC

πŸ“Œ Supported Exercises

βœ… Currently Supported

  • Squats
  • Push-Ups
  • Lunges
  • Shoulder Press
  • Biceps Curls (Dumbbell)

πŸ”œ Planned

  • Deadlift
  • Bench Press
  • Lateral Raises
  • Pull-Ups
  • Plank Analysis

πŸ“‚ Project Structure

RepSense_AI/
β”‚
β”œβ”€β”€ assets/
β”‚
β”œβ”€β”€ core/
β”‚
β”œβ”€β”€ detectors/
β”‚
β”œβ”€β”€ ml_models/
β”‚
β”œβ”€β”€ pages/
β”‚
β”œβ”€β”€ services/
β”‚   β”œβ”€β”€ auth/
β”‚   β”œβ”€β”€ coaching/
β”‚   β”œβ”€β”€ config/
β”‚   β”œβ”€β”€ persistence/
β”‚   β”œβ”€β”€ state/
β”‚   β”œβ”€β”€ tracking/
β”‚   β”œβ”€β”€ ui/
β”‚   └── vision/
β”‚
β”œβ”€β”€ static/
β”‚
β”œβ”€β”€ .streamlit/
β”‚
β”œβ”€β”€ main.py
β”œβ”€β”€ data.db
└── requirements.txt

βš™οΈ Installation

Clone Repository

git clone https://github.com/itsakki10/RepSence_AI.git
cd RepSence_AI

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

πŸ”‘ Environment Variables

Create a .env file in the root directory:

GROQ_API_KEY=your_groq_api_key_here

▢️ Run the Application

streamlit run main.py

πŸ“· Application Workflow

Live Camera Mode

Webcam
   ↓
MediaPipe Pose Detection
   ↓
Exercise Detector
   ↓
Rep Counter
   ↓
Form Analysis
   ↓
AI Coach Feedback

Upload Video Mode

Video Upload
   ↓
OpenCV Processing
   ↓
Pose Detection
   ↓
Exercise Analysis
   ↓
Rep Counting
   ↓
AI Workout Report

🎯 Key Highlights

  • Real-time AI-powered fitness coaching
  • Live exercise recognition
  • Automatic rep counting
  • Form correction feedback
  • Voice coaching system
  • Workout history storage
  • Uploaded video analysis
  • Modern fitness dashboard
  • Modular architecture for future expansion

πŸ“Έ Screenshots

Dashboard

Dashboard

Live Workout Tracking

Live Tracking

Upload Video Analysis

Video Analysis

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

Akash Mehra

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors