Emotion Based Music Recommendation System Using OpenCV and Machine Learning Technique
  • Author(s): Dr. M. Saraswathi; Y. Harsha Vardhan; CHL Pramad
  • Paper ID: 1718460
  • Page: 4797-4800
  • Published Date: 29-05-2026
  • Published In: Iconic Research And Engineering Journals
  • Publisher: IRE Journals
  • e-ISSN: 2456-8880
  • Volume/Issue: Volume 9 Issue 11 May-2026
Abstract

Emotion plays a major role in influencing human music preferences. Traditional music recommendation systems mainly rely on listening history, ratings, and playlists, but they often fail to understand the user’s real-time emotional state. This paper presents an Emotion Based Music Recommendation System using OpenCV, MediaPipe, Machine Learning, and Streamlit that detects user emotions through facial expressions and recommends suitable music accordingly. The system captures facial images through a webcam, extracts facial and hand landmarks using MediaPipe Holistic, and predicts emotions using a trained Convolutional Neural Network model. Based on the predicted emotion and user preferences such as language and singer, the system automatically recommends songs using YouTube automation and local music playback. The proposed system demonstrates the practical application of effective computing and intelligent recommendation systems in entertainment platforms.

Keywords

Recommendation System, Machine Learning, Neural Network, OpenCV, MediaPipe

Citations

IRE Journals:
Dr. M. Saraswathi, Y. Harsha Vardhan, CHL Pramad "Emotion Based Music Recommendation System Using OpenCV and Machine Learning Technique" Iconic Research And Engineering Journals Volume 9 Issue 11 2026 Page 4797-4800 https://doi.org/10.64388/IREV9I11-1718460

IEEE:
Dr. M. Saraswathi, Y. Harsha Vardhan, CHL Pramad "Emotion Based Music Recommendation System Using OpenCV and Machine Learning Technique" Iconic Research And Engineering Journals, 9(11) https://doi.org/10.64388/IREV9I11-1718460