Moodify: Recognizes emotion from face, generates a suitable playlist in the music player
(No longer maintained)
A WebApp which uses a snapshot taken of the user to detect emotion and using this, generate a suitable music playlist. This project was built for ACM Month Of Code, actual coding done in about 3 weeks.
Read the detailed article on building Moodify here: https://medium.com/@ajay.ns08/acm-month-of-code-2k17-building-moodify-d5d9e0c52ca7
The Cam, Music Player, scripts for emotion recognition and Database were wired and wrapped up into a WebApp using Flask, using routes to use the Backend like an API while the frontend handles the user.
Being an experimental setup built in such a short span of time, the user interface and flow would require multiple fixes before deployment.
You should have the following preinstalled:
Preferably setup a Virtual Env and then you'll just need to install packages:
pip install -r requirements.txt
Make sure you have MongoDB running to host the database. Also run a simple http server to serve the files/ folder at localhost:8000
cd files
python -m SimpleHTTPServer
Start the program
python app.py
Open the webapp from browser at localhost:5000