Skip to content

cvframeiq/facial_emotion_detection_song_recommendation

Repository files navigation

facial_emotion_detection_song_recommendation

Install Python

● Make sure Python 3.7+ is installed on your system.

Download the Project

● git clone https://github.com/cvframeiq/facial_emotion_detection_song_recommendation.git

● cd EmotionMusicRecommender

Install Required Packages

● pip install -r requirements.txt (has the names of all the python libraries required)

● Or manually install:

pip install flask tensorflow opencv-python pillow numpy mutagen

Prepare Project Structure

● Ensure folders:

1.	templates/
(This folder must have the "index.html" file.)

2.	static/uploads/ 
(This folder will temporarly store the uploaded pictures by the user for the emotion detection.)

3.	static/songs/<emotion>/
(This folder will have the songs according to the labelled emotion classes like "happy", "sad", "fear", "surprise",  
 "disgust", "neutral" & "angry".

● Add songs (.mp3 or .wav) inside respective emotion folders.

Run the Application

● python app.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •