Abstract:
In the age of intelligent media consumption, the ability to recommend music that aligns with a listener’s emotional state is becoming increasingly relevant. While traditional music
recommendation engines rely heavily on historical data and user preferences, they often fail to consider the user’s real-time emotional context. This research presents a novel system that integrates ConvNeXt V2, a modern convolutional neural network architecture with the Spotify API to deliver personalized music recommendations based on facial emotion recognition. Unlike vision transformers that demand heavy computation, ConvNeXt V2 maintains transformer-inspired design principles while retaining the efficiency of convolutional networks, making it ideal for real-time inference on mobile or web platforms.
The system processes live or uploaded facial images using robust preprocessing and
augmentation techniques, then classifies the user's emotional state using a ConvNeXt V2 model trained on benchmark datasets such as FER-2013. Once classified, the detected emotion is mapped to curated playlists via Spotify's music catalog. Experimental evaluation showed strong performance, with the model achieving a validation accuracy of 90.09%, and detailed performance was confirmed through metrics such as precision, recall, F1-score, and confusion matrices. These results underscore the model’s ability to generalize across diverse facial expressions and lighting conditions while maintaining responsiveness.
By bridging facial affective computing with intelligent music delivery, this system offers a
more emotionally engaging and context-aware user experience. It demonstrates the feasibility
of deploying ConvNeXt V2 as a lightweight, scalable solution for enhancing digital
personalization in entertainment applications.