This project is a posture detection and pose classification web application developed using Python, Flask, and various libraries such as Mediapipe and Matplotlib. It utilizes machine learning algorithms to accurately detect and classify human poses, including poses like Tree Pose, T Pose, Warrior II, etc. This application is particularly useful for applications like fitness monitoring and gesture-based interfaces.
- Pose Detection: Utilizes Mediapipe library to detect human poses in real-time through the webcam.
- Pose Classification: Employs machine learning algorithms to classify detected poses into predefined categories such as Tree Pose, T Pose, Warrior II, etc.
- Web Interface: Provides a user-friendly web interface for interacting with the application.
- Fitness Monitoring: Enables users to monitor their posture during fitness activities such as yoga, pilates, etc.
- Gesture-Based Interfaces: Can be integrated into gesture-based interfaces for controlling applications or devices.
- Flask
- Mediapipe
- opencv_contrib_python
- opencv_python
-
Clone the repository:
git clone https://github.com/username/posture-detection-web-app.git
-
Navigate to the project directory:
cd Posture-Detection-Pose-Classification-Project
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the Flask application:
python app.py
-
Open a web browser and navigate to
http://localhost:5000
. -
Allow access to the webcam if prompted.
-
Follow the instructions on the web interface to detect and classify human poses.
This project is licensed under the MIT License - see the LICENSE file for details.