Paper Id#1570965694
Paper Id#1570965694
Department
2022-2023
Group 59
1.
Introduction
● In this project, we suggest a different approach to song recommendation
where their facial expressions detect a person's mood. This approach is
more efficient than the existing ones and eases users' work of first
searching and then creating a specific playlist. For detecting a person's
mood, the facial expression is a crucial point. A webcam or camera is used
to picture a face, and input is extracted from that picture. This input is also
used for determining an individual's mood.
Face
Yes Extract Related Yes
Start Read Video Detected Information Song Result
?
Of Face Found
No
Search in
Song
Database
Workflow
Face Webcam Face Detection Process
Flow Chart No
Face
Yes Extract Related Yes
Start Read Video Detected Information Song Result
?
Of Face Found
Face Detected
No No
Search in
Song
Database
Emotion Detected
Stop
Workflow
Emotion Detection
End
Face Analyse
Face Face Pre-Processing image
Found Of Image
Detection Cropping Using CNN
?
Emotion
Methodology
⮚ The complete system divides into three parts
i. face detector,
⮚ We use HAAR cascades for face detection. First, we take the picture from the
webcam. Then HAAR cascades scan the complete image and return the
position of detected faces as Rect (x,y,w,h).
Methodology
⮚ We design CNN model for emotion detection and K- Cluster Model for Music Recommendation.
⮚ This model classifies the image into Three classes: neutral, sad, happy.
⮚ We have used Unsupervised Machine Learning techniques to cluster songs into two distinct classes:
'VERY ENTERTAINING' (class 0) and 'RELAXED' (class 1). This clustering is achieved using the widely-
used K-means algorithm. The recommended songs are then ordered based on their current
popularity.
⮚ We have an unique story in the way we recommend the songs for each mood, for example when
other sites recommend sad songs when a person is sad or feeling bad, we recommend users with
songs which will cheer them up('VERY ENTERTAINING') and 'RELAXING' songs when they are 'HAPPY'.
Methodology