Abstract:
Facial expression is a powerful indicator of human emotion and plays a crucial role in interpersonal
communication. The mood of a person or his intention can be analyzed by detecting his expression.
Automatic machine-based analysis of facial emotions is an essential aspect of artificial intelligence and
has significant applications in various areas, including music recommendation. By analyzing facial
features and expressions, a music recommendation system can predict the user's mood and recommend
songs that align with their emotional state. Many researchers have worked on this. Our proposed system
works on 8 moods of humans which are angry, contempt, disgust, fear, happy, neutral, sad, and surprise.
This study utilizes a machine learning concept to achieve this goal. The methodology involves data
collection, model training using a combination of Convolutional Neural Network (CNN) and VGG16
CNN, and recommending songs from the Spotify music dataset. The results show that both CNN and
VGG16 CNN performed well in detecting facial expressions, with CNN achieving 89% accuracy and
VGG16 achieving 97% accuracy. This system effectively recommends songs from the Spotify dataset
based on the user's mood.