An emotion detection based music visualiser using Python and Arduino
Link: See here
- Python
- Arduino (C++)
- deepface Library from Facebook
- haarcascade_frontalface_default.xml
- OpenCV
- spotipy
- dotenv
- csv
- random
- Spotify Web API
Audio Features for Music Emotion Recognition: A Survey by Renato Panda; Ricardo Malheiro; Rui Pedro Paiva
Find the article here.
Create a .env file containing below information after getting a developer spotify account of yours.
NOTE: The playback function only work for premium users.
CLIENT_ID = YOUR_CLINET_ID
CLIENT_SECRET = YOUR_CLINET_SECRET
REDIRECT_URL = A_REDIRECT_URL
SCOPE = user-read-playback-state, user-modify-playback-state
NOTE: Do not change the SCOPE parameters.