Inspiration
Mental health is a big issue that isn't resolved with stress tracking we can get one step closer. Furthermore people everyday continue to neglect mental health and choose to ignore it despite the continued increase of mental health increase is becoming more and more apparent by scientific study.
What it does
First using an ESP-32 with a heartbeat sensor and a temperature sensor we collected the data for heartbeat readings and temperature readings from here, a Flask REST API sent to a Pytorch model using Gradient Optimization, CNNs, and various feature files to determine how severe the heartbeat would be. Lastly the Flask REST API passes the output of that model to the frontend for users to view and examine. This allows them to get tailored breathing exercises to improve their mental health
How we built it
Autodesk Fusion 360- CAD Arduino and C++ - ESP-32 code and hardware integration Pytorch, Flask, Scikit-Learn - CNN and detection model Next.JS, Tailwind.css - Frontend app
Challenges we ran into
- Getting the model to be as accurate as possible took 6 hours due to many accounts of overfitting, alignment issues, and insufficient data features.
- Connecting the Flask backend over Wifi took us significant time due to the multiple devices that need to simultaneously coordinate in order for it to work.
- Making the frontend easy and accessible took time as we had to constantly adjust and retest its performance. ## Accomplishments that we're proud of
- Our final model accuracy was able to hit 100% on the 10% that we tested the model on.
- Our Flask app despite running on a mobile hotspot successfully was able to transfer data at a pretty rapid rate.
- We were able to fully finish all of our UI features. ## What we learned
- How to work with different sensors in Arduino.
- Creating accurate models with limited data. 3.Being able to create a product which doesn't require additional human interaction at the end result. ## What's next for Mental health Ring
- Further, increasing speed of the API response.
- Making the tailored data you get from logging in more specific.
Log in or sign up for Devpost to join the conversation.