Inspiration
The biggest inspiration for our project was the hit TV show "https://en.wikipedia.org/wiki/Hole_in_the_Wall_(American_game_show)". The most fun and exciting part of the show is when participants are forced to position themselves to match a pose displayed on an incoming wall. If the participant positioned themselves in the wrong way, they risked getting pushed off into a pool of water. The influence of this game expands beyond Western media, as this game is still a very popular segment amongst many Japanese game shows. We decided to implement this game in a way that it could be beneficial. By incorporating yoga poses as the "hole" for the players the fit, they can enjoy the thrill and health benefits that our game offers.
What it does
Our project uses the player's webcam to take well-timed pictures to compare with their assigned pose. After displaying the pose on-screen along, the player will have a couple of seconds to get into position before their position is captured through our program. A grade will be given to the player based on how accurate they were able to imitate the pose.
How we built it
Using the OpenCV and MediaPipe libraries, our program was able to track the player's movement and compare the coordinates of the player's body parts to the ideal coordinates stored in our database. The python program calculates the accuracy of the player's position by deploying algorithms that measure the angles of their limbs, and then taking the percent error using the expected values as reference. In order to run our game, we opted to use the Flask web framework to embed our game into an HTML website which we deployed through Netlify.
Challenges we ran into
One of the biggest challenges that we ran into was the separation of work. For some of our group members, they were unable to install the required libraries to work on the back-end portion. This greatly hindered our progress because there was a large disparity of understanding that caused us to misinterpret ideas and create unrealistic expectations for how we wanted the program to function. On top of that, it reduced the rate in which we were able to do effective research and testing. To compensate for this inconvenience, we designated group members to work on smaller tasks such as doing the front-end programming and setting up the website domain.
Accomplishments that we're proud of
Our biggest accomplishment thus far was being able to stay on task and not let time be wasted. Being college students, we are accustomed to spending the weekends to relax and not work on anything related to our course work. By working towards a common goal together as a team, we were motivated to really dial in and focus on improving our project.
What we learned
Whether it was a technical skill, or a simple disciplinary skill, everybody in our group was able to pick up something new. One thing that we all improved on was the experience of collaborating as a team to adhere with project goals and produce results.
What's next for Mindful Motion Mission
In the future, we plan to push out changes that will make our game more interactive and intelligent. Given more time, we should be able to improve our program to utilize more elaborate algorithms to provide more accurate positional detection. Eventually, we would like to expand our game to include more gamemodes for even more fun!
Log in or sign up for Devpost to join the conversation.