We all love music, so we wanted to help music listeners. Since the theme of the hackathon was social good, we decided to make a project that helped music listeners with emotional health.
HeartBeat is a website that recommends you a different Spotify playlist depending on your mood. The user can manually input their mood from a selection of buttons or the camera can automatically identify the user's emotion.
We used an HTML template to create the front end. We updated the HTML and JavaScript to allow the user to interact with the site properly. We embedded the Spotify playlists to make a complete user experience. To get the emotion analysis, we added webcam functionality, then used the Vision Cloud Machine Learning APIs from the Google Cloud Platform to extract the emotion from the image.
We had not used Google Cloud Platform before, so setting up accounts and integrating its Python into our existing HTML was quite hard to navigate. The
We are proud of the GCP integration because we came in knowing nothing, and yet we created a project that has webcam and emotion analysis functionality!
We learned all about the Google Cloud Platform and machine vision. We improved our HTML and JavaScript skills.
With more time HeartBeat would become a mobile app for Android and iOS, and we would use the Spotify API to recommend more personalized and varied playlists depending on the ratio of emotions displayed.