https://github.com/airscholar/ai-workout-manager
AI Workout Manager is a pose detection application that uses Artificial Intelligence to track body movements, track specific parts of the body and generate performance metrics
https://github.com/airscholar/ai-workout-manager
artificial-intelligence fitness health machine-learning machinelearning mediapipe object-detection opencv pushup workout
Last synced: 3 months ago
JSON representation
AI Workout Manager is a pose detection application that uses Artificial Intelligence to track body movements, track specific parts of the body and generate performance metrics
- Host: GitHub
- URL: https://github.com/airscholar/ai-workout-manager
- Owner: airscholar
- Created: 2023-08-03T08:47:57.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-05T09:18:31.000Z (about 2 years ago)
- Last Synced: 2025-06-08T08:03:15.105Z (4 months ago)
- Topics: artificial-intelligence, fitness, health, machine-learning, machinelearning, mediapipe, object-detection, opencv, pushup, workout
- Language: Python
- Homepage: https://www.youtube.com/watch?v=nuhO3NBi-pU
- Size: 9.8 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AI Workout Manager
The AI Workout Manager is a pose detection application that uses Python, OpenCV, and MediaPipe to count exercise reps. It's capable of identifying different stages of reps and can calculate angles between various body landmarks during the workout.
## Features
1. Real-time pose detection.
2. Exercise repetition counting.
3. Visual interface with performance metrics.
4. Elapsed time tracking.## Installation
Make sure you have Python 3 installed. Then, clone the repository and install the necessary packages:
```bash
git clone https://github.com/airscholar/AI-Workout-Manager.git
cd AI-Workout-Manager
pip install -r requirements.txt
```## Dependencies
The AI Workout Manager relies on the following libraries:
* OpenCV for image and video processing.
* MediaPipe for pose detection.
* Numpy for numerical operations.
* Math and time libraries from Python's standard library.## Usage
You can run the AI Workout Manager by using the following command:
```bash
python main.py
```## File Structure
The main code is in the root directory:
- `main.py`: The primary script containing the application's logic.
The `assets` directory contains any external assets, like videos or images, that the program uses:
- `pushup.mp4`: An example video file of a person doing pushups.
- `clock.png`: A clock icon used in the UI.## Contact
If you have any questions or suggestions, please feel free to write me an email at [airscholar@gmail.com](airscholar@gmail.com).