An open API service indexing awesome lists of open source software.

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

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