Skip to content

Music player that uses facial recognition to create a playlist based on percieved mood

Notifications You must be signed in to change notification settings

melvinj98/Senior-Project

Repository files navigation

How to run:
1) Open command prompt as admin
2) Change directory to program folder in command prompt
3) Run pip install tensorflow keras pysimplegui opencv-python
3) Download EmotionDetectionModel.h5 and place into program folder
	-https://drive.google.com/file/d/1sECnCJMSMRQpz2MrYSb9wi6KbUGYTPv9/view?usp=sharing 
4) Run python gui.py
5) Go to https://developer.spotify.com/console/get-current-user/
	-Click get token (no scopes required).
	-Press "TRY IT".
	-Scroll down on the right side and find "id".
	-Copy the value of "id" 
	-Paste id in the "User ID" section of the programs settings.
	-Copy "OAuth Token" (CTRL + A to highlight the whole token).
	-Paste "OAuth Token" into the "Authorization Key" section of the programs settings.
	-Click "save" in settings window.
6) Click create playlist 
	-If error occurs change camera value to 0 or 1 in settings

About

Music player that uses facial recognition to create a playlist based on percieved mood

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages