The AI-Enabled Posture Correction and Health Monitoring for Yoga is an AI-powered yoga monitoring system designed to assist users in maintaining correct yoga postures and tracking vital health metrics. The system integrates sensors, AI models, and a web interface for real-time analysis and feedback.
AI model analyzes yoga poses using a camera.
Uses a smart wristband with MAX30102 (heart rate & SpO2) and a temperature sensor.
Audio and visual feedback through an OLED screen and speakers.
ESP32 transmits data to a remote system.
Displays real-time metrics and suggestions.
SmartYogaMat/
│── data_collection.py # Script for collecting sensor and video data
│── data_training.py # Training the AI model for yoga posture recognition
│── inference.py # Running inference to analyze poses and predict corrections
│── main.py # Main control script for ESP32 and AI integration
│── client.cpp # Client-side script for real-time data transmission
│── models/ # Pretrained and trained AI models
│── datasets/ # Collected dataset for training
│── web_app/ # Web interface for user interaction
│── requirements.txt # Required dependencies
│── README.md # Project documentation
- ESP32
- MAX30102 Sensor
- Temperature Sensor
- Pressure Sensors
- OLED Screen
- Speakers
- Webcam
- Python 3.8+
- OpenCV
- TensorFlow/PyTorch
- Tkinter (for UI)
-
Clone the repository:
git clone https://github.com/yourusername/smart-yoga-mat.git cd smart-yoga-mat
-
Install dependencies:
pip install -r requirements.txt
-
Run the data collection script:
python data_collection.py
-
Train the AI model:
python data_training.py
-
Start real-time inference:
python inference.py
-
Run the main system:
python main.py