Move.it aims to help you achieve a perfect workout!
Schedule live sessions with professional instructors or play back prerecorded workout routines.
Automatically detect your exercises, calories burned, and active time with Machine Learning!
Compare your posture with your coach using mathematical analysis.
Diseases such as heart disease and diabetes are among the leading causes of death in the United States. Our lack of concern for our own health is causing premature death yet less than 20% of Americans get enough exercise. The pandemic only escalated those health problems too. A study published in the journey Obesity recently discovered that the average individual engaged in sedentary leisure activities 21 minutes more per day during the COVID-19 pandemic - most of which is spent online engaging in technology.
Admittedly, the world is becoming more and more reliant on technology - we're moving towards a digital future. But advancements in technology shouldn't equate to a decline in our fitness. We believe that technology and health can, and should, go hand in hand. Innovations such as machine learning and real-time communication could not only support healthy living, but revolutionize it. These technologies could help people connect with personal coaches, help people correct their postures, and help people keep track of their workout routines.
We want to help millions of more people live healthier lifestyles so we did all that, and more, with Move.it - a universal fitness application for achieving the perfect workout.
What is Move.it?
Move.it is a revolutionary web application that utilizes cutting-edge technology to help users experience the perfect workout routine. We designed it from scratch to ensure that all users are able to enjoy the feeling of exercising. We then built it using real-time web technologies (WebRTC & WebSockets) and complicated data analytics (Machine Learning & Mathematical Formulas) to create the best platform for working out. Here's how it works.
1. Move.it helps you achieve the perfect workout!
Move.it uses advanced algorithms and modern web technologies to help you create the perfect workout routine.
2. Workout anytime, anywhere!
Move.it allows you to schedule live sessions with professional instructors or play back prerecorded workout routines for your convenience.
3. Automatically track your workouts!
Move.it uses machine learning and data to automatically detect your exercises, calculate calories, and determine active time.
4. Compare with a trainer!
Move.it compares your posture and performance with those of your instructors' to ensure that you're doing your exercises perfectly.
Move.it was designed using the double diamond design process, a model popularized by the British Design Council.
We followed the four stages of a double diamond process - Discover, Define, Develop, Deliver.
In order to really focus on our users, we completed as many steps of a design process as we could over the course of a weekend. We conducted need-finding, created user personas, created a design system, and tested low fidelity and high fidelity prototypes. For more information, view the sub-sections below.
We created primary and secondary user personas to help understand our problem.
Low Fidelity Prototypes
We created wireframes and low-fidelity prototypes to help us rapidly design the perfect UI.
We created mood boards, color scenes, and font choices to help us prototype.
High Fidelity Prototypes
We combined our prototypes, our design language, and our user testing to create a final prototype.
We carefully designed our system for speed and scalability.
Our backend is primarily built on a tech stack of Node.js and Socket.io deployed on Heroku. The two create a WebSocket server that transmits body pose keypoints allowing for real-time pose comparisons between the instructor and the user. These comparisons were made using Cosine Similarity, a model which allows us to measure similarity between two non-zero vectors, where each vector consists of the positions of the person's body parts. After normalizing the vectors and calculating the cosine similarity, we would find the Euclidean Distance which takes into account a user's relative positioning in the rating calculations. These calculations are made in real-time to output a final confidence score, between 1 and 100, that is used to rate the user's workout in comparison to the instructor. To our knowledge, we are the first people to implement real-time pose similarity between multiple video feeds.
We used cosine similarity in order to calculate the similarity between different poses.
We used euclidean distance of cosine similarity to compare the poses of instructors and students.
Another important core technology we used was WebRTC to allow for real time move.it sessions with instructors. We leveraged Google Cloud Firestore as a signaling server in order to generate new WebRTC offers and SDPs. We also used Google's free STUN servers for communication. In this way, our application is scalable to allow for a vast amount of concurrent calls.
All of the technologies that went into Move.it.
Blackwell DL, Clarke TC. State Variation in Meeting the 2008 Federal Guidelines for Both Aerobic and Muscle-strengthening Activities Through Leisure-time Physical Activity Among Adults Aged 18-64: United States, 2010-2015. Natl Health Stat Report. 2018 Jun;(112):1-22. PMID: 30248007.
Ducharme, J. (2019, June 14). Can Americans Hack Their Way Out of an Aversion to Exercise? Time. https://time.com/5606583/americans-not-enough-exercise/
Flanagan et al., 2020 E.W. Flanagan, R.A. Beyl, S.N. Fearnbach, A.D. Altazan, C.K. Martin, L.M. Redman. The impact of covid-19 stay-at-home orders on health behaviors in adults. Obesity (2020). Google Scholar
Move Mirror: An AI Experiment with Pose Estimation in the Browser using TensorFlow.js. (2018). Tensorflow.Org. https://blog.tensorflow.org/2018/07/move-mirror-ai-experiment-with-pose-estimation-tensorflow-js.html?fbclid=IwAR3gIzNtKcSEDdhqDqjKclQy9FuTipSjhpdbns_iLj75ke3McAHwCDEAE34
Phillips, T. (2019, August 7). Exercise Classification with Machine Learning (Part I). Medium. https://towardsdatascience.com/exercise-classification-with-machine-learning-part-i-7cc336ef2e01
Thomas, L. (2020, November 6). Peloton says recent spike in Covid-19 cases, lockdowns are boosting sales. CNBC. https://www.cnbc.com/2020/11/05/peloton-says-recent-spike-in-covid-19-cases-lockdowns-boosting-sales.html?fbclid=IwAR1BNRORHTgkM04QbTiY2aNIU4wWVsJUjDUWf_djmsGhuO_ebh8CE6vE02M
What We Learned
There were a lot of technologies that we needed to integrate to create a working project. We used WebRTC to establish a live video and audio connection between the instructor and the client. Using this feed, we were then able to use Tensorflow to analyze the live video to estimate the pose of a person. After obtaining the video feed, we detected a specific exercise motion, like squatting or curling. We were then able to transmit the detected poses back to the backend to compare the similarities using cosine similarity to generate an accuracy score. Over the past weekend, we got all of these steps to a working level to create a functioning project.
A big challenge of the project was being able to detect the specific poses and match them between the instructor and the client. Given more time, we'd be able to determine the movement patterns that come from a variety of poses and recognize them. Also, we'd like to add a dance mode that would generate live pose detection to compare the instructor to the client based on general positions rather than a specific move.