In anticipation for Hacklahoma, we asked ourselves: What is something that can encompass both hardware and software, be helpful, and impact people in a meaningful way. What we landed on is a companion droid that is designed to cheer you up when you are feeling down, or keep you cheerful when you are. This is the Galactic Mood Monitor, and its filled with surprises.

What it does

The Galactic Mood Monitor utilizes facial recognition technology to detect and evaluate the mood of the user. After the user has been evaluated, the Galactic Mood Monitor prints out a receipt from a thermal printer that states the mood they are in, a Star Wars quote based on the mood they are in, and a QR code of a Youtube playlist of music according to the users mood. All of this, in an easy to use package.

How we built it

The mood monitor's most important utilizations are the ChatGPT API, used to generate the Star Wars inspirational quotes, OpenCV for facial recognition and mood detection, and the thermal printer to print out the user's "receipt" without ever needing ink. OpenCV was used in conjunction with the DeepFace library to capture video from the webcam that we used and measure the emotion of the user. From there, depending on the emotion, it prompts ChatGPT's API to generate a Star Wars based uplifting quote, or a quote that keeps you in a good mood if you are. After the quote is generated, all of this information is sent to the Raspberry Pi Pico to control what the thermal printer prints.

Challenges we ran into

  • Jorge: generating QR codes for easy access to a curated playlist for each iteration, writing code for Python
  • Braden: writing Python code using OpenCV and creating a GUI without ever programming in Python
  • Dylan: training our own models, as we need a super computer to be able to do it well
  • Caylin: downloading the correct software for the Pico using the Arduino library

Accomplishments that we're proud of

Overall, we are proud that we worked together cohesively toward a common goal, all while having fun and learning so many new things.

What we learned

As a team, we learned that we are capable of much more than we think and learned many different ways to interface with certain technologies in ways that we haven't before.

What's next for Galactic Mood Monitor

The next frontier for the Galactic Mood Monitor is production. Hopefully, we will be able to implement new systems and new sensors to enhance the user experience.

Built With

Share this project: