https://github.com/spidy20/music_player_with_emotions_recognition
This program can recognize your mood by detecting your face and play song according your mood
https://github.com/spidy20/music_player_with_emotions_recognition
emotion emotions emotions-folder emotions-recognition face face-recognition face-recognition-music-player mood music music-player music-player-application music-player-python opencv opencv-python songs
Last synced: 13 days ago
JSON representation
This program can recognize your mood by detecting your face and play song according your mood
- Host: GitHub
- URL: https://github.com/spidy20/music_player_with_emotions_recognition
- Owner: Spidy20
- License: mit
- Created: 2018-12-11T05:24:09.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-26T11:28:13.000Z (almost 5 years ago)
- Last Synced: 2025-03-26T11:44:44.475Z (about 1 month ago)
- Topics: emotion, emotions, emotions-folder, emotions-recognition, face, face-recognition, face-recognition-music-player, mood, music, music-player, music-player-application, music-player-python, opencv, opencv-python, songs
- Language: Python
- Size: 33.4 MB
- Stars: 129
- Watchers: 8
- Forks: 54
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Music🎵 player with Emotion😂😥😡😱 Recognition [](https://github.com/Spidy20/Music_player_with_Emotions_recognition/blob/master/LICENSE)
### [Full Tutorial here](https://www.youtube.com/playlist?list=PLsT53VV2LIIFWgFtLCME6cXT6pUlouN8K)
### Code Requirements
- Tensorflow
- Download my repository
- Own Expression dataset(NOTE: You can downlaod expression images from google, or you can record your video make diffrent expression ,and converts into Grayscale images(For more accurate prediction))
- Song dataset### What steps you have to follow??
- Download my repository
- Make 'Images' folder in your project ,make subfolder for emotions like Happy,sad,Angry.
- Put `Face_crop.py` & `haarcascade_frontalface_alt.xml` in every type of image folder,ex : put this program in "happy' image folder and
run this program it will detect faces from images and convert it into grayscale and make a new images in same folder.
- Make 'Songs' folder make subfolders for emotions and put Songs,Like Happy songs in happy folder.
- After that you have to create model, for that copy code from code.txt file and open CMD in your project folder and paste it & enter
- It will take training aaround 20-25 minutes so keep patience.
- After training it will create two files `retrained_graph.pb` & `retrained_labels.txt`
- Now run `music_player_webcam.py` (give proper path of songs and Mediaplayer according to your location in code)
- If you want to fetch video from your mobile cam than use `music_player_android.py`,but you have to install IPWebcam app in your system
and replace your server URL with my URL
- That's all### How it works? See:) FREE VERSION WITHOUT GUI
### Video demo :- FREE VERSION
[Youtube](https://youtu.be/2xW6TP4Yojg)
### IMPORTANT if you want to purchase with GUI
- This is just coded version with no GUI, i ggiven it to opensource ,but if you want to purchase a GUI version ,then go to here
[STORE](https://www.instamojo.com/kushalbhavsar1820/e-musicplay-music-according-to-your-face-moo/)
### Features of full GUI version
- Full GUI (Tkinter)
- Own developed Music player with all basic functionalities
- See here are some screenshots of full GUI version.### Screenshots
![]()
![]()
![]()
![]()
### This guy purchased this project from me and won prize in Zhejiang university of technology China
### Poster Presentation![]()
### Notes
- It will require high processing power(I have 8 GB RAM & 2 GB GC)
- If you think it will recognise expression just like humans,than leave it ,its not possible.
- Download 300 Images for every expression(you can use batch downloader)
- Noisy image can reduce your accuracy so quality of images matter.## Just follow☝️ me and Star⭐ my repository
## [Demo video](https://youtu.be/YTIrGBOKRHY)
## Buy this projects from here at very low price:- [STORE](https://www.instamojo.com/kushalbhavsar1820/e-musicplay-music-according-to-your-face-moo/)