Skip to content

Repository files navigation

Memonic

Image

Memonic is a hackathon project for MHacks X that uses Microsoft's Emotion API to perform emotional analysis on an image and produces notes from the C Major Pentatonic scale based on the results. The current version uses a HashMap and some JSON processing to play an mp3 file corresponding to the api response emotion with the highest confidence value. The goal is to eventually generate the music from an image, or possibly in realtime with video.

Prerequisites

Android Studio

An Android phone with API v21 or higher

Installing

Download the project from Github

Open with Android Studio

Plug in your device and click Run

Usage

Click the 🎶 at the top to play the available sample notes and test sound levels.

Click the ➕ to take a photo to send.

Once a photo has been loaded, hit the ▶️ to send it to the API.

If the API detects faces in the photo, you should see something like this:

Image

Otherwise (if it doesn't crash):

Image

Built With

Contributing

Submit a pull request or comment, and we'll take a look.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages