Emotion Based Music Recommendation System Using OpenCV and Machine Learning Technique

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.

Authors

Publication Details

Journal
Iconic Research and Engineering Journals
Published
2026-05-29
DOI
https://doi.org/10.64388/irev9i11-1718460
Primary Topic
Music and Audio Processing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Emotion Based Music Recommendation System Using OpenCV and Machine Learning Technique

Dr. M. Saraswathi, Y. Potha Veera Rohith Vardhan, CHL Pramad
Iconic Research and Engineering Journals
Music and Audio Processing
article

Emotion Based Music Recommendation System Using OpenCV and Machine Learning Technique

Dr. M. Saraswathi, Y. Potha Veera Rohith Vardhan, CHL Pramad
article en

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.

Iconic Research and Engineering JournalsVol. 9(11)
Quality Education
Openalex Percentile: Top 3%
Music and Audio Processing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.