Our Emotion-based Spotify project is a web app developed to analyze facial emotion and return a Spotify playlist to user. It can recognize the following emotions: happy, sad, fear, angry, surprise and neutral.
- Website front-end design and back-end setup
- Dynamic web hosting
- Face recognition with Opencv
- MySQL Databse
- Open our website in Firefox:http://35.164.157.215
- Click"Try it out" in our homepage
- After directing to our main test page, enable the webcam access in your brower pop-up window.
- Take a selfie and you could immediately see the preview on the side
- Use the "Find playlist" button to get the playlist we find for you
- The following software is required:
- Python 3
- OpenCV 3.1
- To run Python program for recognition in local, the following files in "python code" folder are required:
- emotion_recognition_v1.1.py
- fishface_mode.XML
- haarcascade_frontalface_alt.xml
- haarcascade_frontalface_alt2.xml
- haarcascade_frontalface_alt_tree.xml
- haarcascade_frontalface_default.xml