Healthcare, Open Innovation
Countries all over the world implemented lockdowns to counteract COVID-19. These lockdowns heavily limited people’s exercise possibilities. Statistics show that the level of physical activity was significantly reduced during the social distancing period. Yoga emerged as a solid alternative to exercise at home. However, meeting Yoga experts and assembling for Yoga wasn't possible during this. A digital solution for this can improve this situation.
AasanAI is a Deep Learning-powered Web and Mobile application to help you during your yoga workouts. AasanAI detects your Yogasana position and helps you perfect your posture by getting visual feedback. It uses a Movenet Model for classification of the yoga pose by detecting keypoints of the various body parts.
The key features of AasanAI:
Currently we recognize 4 yogasanas using the Movenet Model:
We eventually plan to include more asanas, and also an entire Suryanamaskar regime
Since the project involved both a web and mobile application, we faced multiple challenges of the same nature while communicating with the Firebase project.
The website initially had issues writing to Firestore, and also had issues navigating the nested collections stored in Firestore. This was eventually solved by modifying the structure (schema) of how we stored the documents inside Firestore collections. The mobile app had to modify its existing communication with Firestore to follow these changes.
Another major issue in Firebase connection came during Authentication in the mobile application. When we switched from a sample Firebase project to the current Firebase project, we had issues of establishing connection with the new Firebase project. Even when the Firebase config files were changed and Firebase SDKs were reinstalled, the app still communicated with the older project. This was solved by entirely rebuilding the app again.
Coming to the Movenet model integration part, the challenges faced by the web and mobile applications were different.
assets
folder, the app still didn't recognize the model with the camera. The camera blacked out abruptly and even when it started, the model still didn't detect the Aasan. We solved this by adding some missing dependencies and restructuring theassets
folder.Technologies used
Discussion