✨Inspiration
When I got to high school, I realized there was a lot of pressure to do well, academically. The pressure started getting to me and I was almost always really anxious about tests and quizzes and even homework. I started neglecting my health to focus on schoolwork. At school, my friends and I shared stories of how we had slept at 2 or 3 am for a whole week or skipped lunch to study for tests. I noticed that almost everyone around me was going through the same things I was. As our school was filled with academic high achievers, everyone was always anxious about grades. I realized that a place to vent would alleviate the anxiety because when I talked to my friends about all the tasks ahead, we laughed about them, and they felt less daunting. As I researched more into my idea, I found some shocking statistics. 16.39% of children ages 12-17 report suffering from at least 1 major depressive episode in the past year. About 18% of people ages 18-54 have an anxiety disorder in a given year. Even before the pandemic, there was a 27% increase in the number of kids diagnosed with anxiety problems. 21% of all US adults are diagnosed with a mental disorder, and this number is much higher in females than males. To try to solve this problem, my initial idea was simply an app to track the user’s moods daily and present them in various graph formats so that the user could analyze and review their emotional trends. To do this, I wanted to use facial recognition AI because people can sometimes misread themselves or not want to admit when they are unhappy. As the project grew, I added several other features.
👩💻What it does
Happy Hub is an interactive mental health website that keeps users aware of their emotional trends by recording and visualizing their moods over time. Using multiple graph formats, the interface allows the user to review and analyze their emotional trends. Happy Hub uses an image recognition AI model to classify moods when the user takes pictures. In addition to recording moods, the website provides users with solutions for improving them by journaling, finding psychiatric clinics with location data, and joining groups with people who share similar interests. Every time the user checks their mood, Happy Hub runs a test to check how many times in a week they have been classified as unhappy. If this number is greater than four, the site sends an email to both the user and a designated close contact to check in. In addition to checking the user's mood throughout the week, the site also looks through journal entries. If the entry contains words or phrases that indicate to the site that the user is thinking of harming themself or others, the site sends an email to the user's close contact.
🔨How we built it
Happy Hub was built with a Django backend and a Django Admin database. For frontend, I used Bootstrap. I used Tensorflow and Keras for the AI model. Some other tools I used were the Google Maps API, Nominatim, Chart.JS, and Bcrypt. The languages I used to make Happy Hub were HTML, CSS, Javascript and Python.
💀Challenges we ran into
This was my first time creating a website that uses artificial intelligence. I learned on the spot from multiple errors while creating and integrating the model into Happy Hub. I was also inexperienced with the Google Maps API and hadn't even heard of Nominatim before I started on the "Find Help" feature and it took many trials for Happy Hub to start displaying the clinics. For the "Groups" feature, I had to use a many-to-many field in my models file for my database. Since this was my first time using many-to-many fields, I faced one of the biggest bugs in the whole project trying to create this feature and had to completely restart. Luckily I was still able to use my old code for the other features. All in all, Happy Hub was quite a challenge for me, and I came out knowing a lot more than I knew when I went in.
😁Accomplishments that we're proud of
I'm proud of coding a website that uses artificial intelligence for the first time, and also of al the other incredible firsts I experienced while making Happy Hub. I am also incredibly proud of creating a site to help solve a problem my community is facing.
📘What we learned
I learned a lot, making Happy Hub. It was hands down the most challenging project I've ever taken on. I learned a lot more about AI, and I also learned a lot about several helpful tools like the Google Maps API, Nominatim, Chart.JS, and many-to-many relationships.
🔮What's next for Happy Hub
If I were to create a Happy Hub 2.0, I would make it available as an app as well as a website to make it more accessible. I would also make the facial recognition model more accurate by providing it with more training data and try to create an AI model to check through the user's journal entry instead of a simple Python for loop because AI would be more accurate in determining the meaning behind the user’s words.
Built With
- bootstrap
- chart.js
- css
- django
- google-maps
- html
- javascript
- keras
- nominatim
- python
- tensorflow
Log in or sign up for Devpost to join the conversation.