FLASK YOGA AI SYSTEM FOR POSTURE DETECTION
Authors: K. B Manasa , B. S Shruthi 
Published: June 2024

The practice of yoga has been gaining popularity in recent years, with people all over the world practicing this ancient form of exercise for its physical, mental, and spiritual benefits. However, yoga is also a complex and challenging practice that requires precise alignment and technique. Without proper guidance, practitioners may find it difficult to improve their technique and achieve the full benefits of the practice. The Flask Yoga AI Trainer is a system designed to help yoga practitioners improve their technique by providing real-time feedback on their posture and alignment. The system utilizes computer vision and deep learning techniques, including PoseNet and a Convolutional Neural Network (CNN), to analyze the user's posture and provide guidance on improving their technique. The system is implemented using Flask, a Python-based web framework, which provides a user-friendly interface for the yoga practitioner to interact with the system. The user's video feed is captured using a webcam and processed by PoseNet, a popular pose estimation model that can detect the key points of the user's body in real-time.The PoseNet model is trained on millions of images to accurately estimate the pose of the user's body and identify any areas where the user's posture could be improved. Once PoseNet has identified the user's key points, the data is fed into a CNN that is trained to recognize different yoga poses. The CNN analyzes the user's posture and compares it to a set of predefined yoga poses to determine if the user is executing the pose correctly. The system provides real-time feedback to the user on their posture and technique, using visual cues to indicate areas where the user's posture could be improved. The feedback provided by the system is customizable based on the user's level of expertise and preferences. For example, beginners may require more detailed feedback and guidance, while advanced practitioners may prefer a more hands-off approach. The system can also provide recommendations for improving the user's technique and achieving better alignment. One of the key benefits of the Flask Yoga AI Trainer is its ability to provide real-time feedback. Unlike traditional yoga classes, where the teacher may only be able to correct a few students at a time, the system can provide feedback to multiple users simultaneously. This means that users can receive personalized guidance and feedback even when practicing on their own. The Flask Yoga AI Trainer also has the potential to improve the overall quality of yoga practice. By providing accurate and timely feedback, the system can help users avoid common mistakes that can lead to injury or hinder their progress. Over time, the system can also help users develop a deeper understanding of their own body and how to achieve optimal alignment in different yoga poses. While the Flask Yoga AI Trainer is still in the early stages of development, it has the potential to revolutionize the way yoga is practiced and taught. By combining the power of computer vision and deep learning, the system can provide personalized guidance and feedback to yoga practitioners, helping them to improve their technique and achieve their goals.