SlideShare a Scribd company logo
1 of 32
1
EMO PLAYER
The emotion based music player
- N I S A M U D E E N P
ABSTRACT
• A novel approach that provides, the user with an
automatically generated playlist of songs based on the mood
of the user.
• Music plays a very important role in human’s daily life and
in the modern advanced technologies .
• The difficulties in the creation of large playlists can
overcome here.
• This Music player itself selects songs according to the
current mood of the user. 2
Cont…
• Existing methods for automating the playlist generation
process are computationally slow, less accurate and sometimes
even require use of additional hardware like EEG or sensors.
• This proposed system based on extraction of facial
expressions that will generate a playlist automatically thereby
reducing the effort and time.
3
• User dependent and user independent datasets can done here
and the Facial expressions are captured using an inbuilt
camera.
• The accuracy of the detection algorithm used for real time
images is around 85-90%, while for static images it is
around 98-100%
4
Cont…
INTRODUCTION
• From others this plays a novel approach that removes the
risk that the user has to face the task of manually browsing
through the playlist of songs to select.
• Here an efficient and accurate algorithm, that would
generate a playlist based on current emotional state and
behavior of the user.
5
• The introduction of Audio Emotion Recognition (AER) and
Music Information Retrieval (MIR) in the traditional music
players provided automatically parsing the playlist based on
various classes of emotions and moods.
• Facial expression is the most ancient and natural way of
expressing feelings, emotions and mood and its algorithm
requires less computational, time, and cost.
6
Cont…
Emotion Basics
• The facial expressions categorize into 5 different of facial
expressions like anger, joy, surprise, sad, and excitement.
• An emotion model is proposed that classifies a song based
on any of the 7 classes of emotions viz sad, joy-anger, joy-
surprise, joy-excitement, joy, anger, and sad-anger.
7
8
Requirement
• Track User Emotion
• Recommend by Sorting playlist based on user’s current
emotion
• Sort songs by 2 factors
o Relevancy to User Preference
o Effect on User Emotion
METHODOLOGY
• Three major modules:
Emotion extraction module(EEM)
Audio feature extraction module(AEM)
Emotion-Audio recognition module.
• EEM and AEM are two separate modules and Emotion-
Audio recognition module performs the mapping of
modules by querying the audio meta-data file.
• The EEM and AEM are combined in Emotion-Audio
integration module. 9
Emotion extraction module
• Done by the analysis on Images, Image of a user is captured
using a webcam or it can be accessed from the stored image in
the hard disk.
• This acquired image undergoes image enhancement in the
form of tone mapping in order to restore the original contrast
of the image.
• converted into binary image format for the detection of face
using Viola and Jones algorithm (Frontal Cart property)
10
Viola and Jones algorithm
• The Viola–Jones object detection framework is the first object
detection framework to provide competitive object detection rates
in real-time proposed in 2001 by Paul Viola and Michael Jones.
• It can be trained to detect a variety of object classes, it was
motivated primarily by the problem of face detection .
Cont…
• Here a computer needs precise instructions and constraints for
the detection To make the task more manageable, Viola–Jones
requires full view frontal upright faces.
• Thus in order to be detected, the entire face must point towards
the camera and should not be tilted to either side.
• Here we use the viola frontal cart property, The ‘frontal cart’
property only detects the frontal face that are upright and
forward facing.
• Here this property with a merging threshold of 16 is
employed to carry out this process. This value helps in
coagulating the multiple boxes into a single bounding box.
• Bounding box is the physical shape for a given object and
can be used to graphically define the physical shapes of the
objects.
Cont…
MATLAB code on frontal cart for
object detection
function [ ] = Viola_Jones_img ( Img )
%Viola_Jones_img( Img )
% Img - input image
% Example how to call function: Viola_Jones_img(
imread ('name_of_the_picture.jpg'))
faceDetector =
vision.CascadeObjectDetector;
bboxes = step(faceDetector, Img);
figure, imshow( Img ), title( 'Detected faces' );hold on
for i = 1 : size (bboxes, 1 )
rectangle( 'Position' ,bboxes
( i ,:), ‘ LineWidth ' , 2 , ‘ EdgeColor ' , 'y' );
end
end
Advantages
 Extremely fast feature computation
 Efficient feature selection
 Scale and location invariant detector
 Instead of scaling the image itself (e.g. pyramid-filters), we
scale the features.
 Such a generic detection scheme can be trained for detection
of other types of objects (e.g. cars, hands)
Disadvantages
 Detector is most effective only on frontal images of faces
 Sensitive to lighting conditions
 We might get multiple detections of the same face, due to
overlapping sub-windows.
EEM Cont..
• The output of Viola and Jones Face detection block forms an
input to the facial feature extraction block.
• Equations for bounding box calculations for extracting
features of a mouth.
1. X (start pt of mouth) = X (mid pt of nose) – (X (end pt of nose) – (X start pt of nose))
2. X (end pt of mouth) = X (mid pt of nose) + ((X end pt of nose) – (X start pt of nose))
3. Y (start pt of mouth) = Y (mid pt of nose) +15
4. Y (end pt of mouth) = Y (start pt of mouth) +103
17
Audio feature extraction module
• Here the list of songs forms as input audio files, and here
the conversion of 16 bit PCM mono signal around a
variable sampling rate of 48.6 kHz. The conversion process
is done using Audacity technique.
• The extraction of converted files are done by three tool box
units - MIR 1.5 Toolbox
- Chroma Toolbox
- Auditory Toolbox 18
MIR 1.5 Toolbox
• Features like tonality, rhythm, structures, etc extracted using
integrated set of functions written in Matlab.
• Additionally to the basic computational processes, the toolbox
also includes higher-level musical feature extraction tools,
whose alternative strategies, and their multiple combinations,
can be selected by the user.
19
Cont…
• The toolbox was initially conceived in the context of the Brain
Tuning project financed by the European Union (FP6-NEST).
One main objective was to investigate the relation between
musical features and music-induced emotion and the
associated neural activity.
20
Chroma Toolbox
• It is a MATLAB implementations for extracting various types
of novel pitch-based and chroma-based audio features.
• It contains feature extractors for pitch features as well as
parameterized families of variants of chroma-like features.
21
Auditory Toolbox
• Features like centroid, spectral flux, spectral roll off,
kurtosis,15 MFCC coefficients are extracted using Auditory
Toolbox with the implementation on MATLAB.
• Audio signals are categorized into 8 types viz. sad, joy-anger,
joy-surprise, joy-excitement, joy, anger, sad-anger and others.
22
8 Types
1. Songs that resemble cheerfulness, energetic and playfulness are classified
under joy.
2. Songs that resemble very depressing are classified under the sad.
3. Songs that reflect mere attitude, revenge are classified under anger.
4. Songs with anger in playful is classified under Joy-anger category.
5. Songs with very depress mode and anger mood are classified under Sad-
Anger category.
6. Songs which reflect excitement of joy is classified under Joy-
Excitement category.
7. Songs which reflect surprise of joy is classified under Joy-surprise
category.
8. All other songs fall under ‗others‘ category. 23
Emotion-Audio recognition module
• The emotion extraction module and audio feature extraction
module is finally mapped and combined using an Emotion
Audio integration module.
• The extracted for the songs are stored as a meta-data in the
database. Mapping is performed by querying the meta-data
database.
24
25
Mapping of Facial and Audio features
26
Music Recommendation
Study songs’ emotional effect
27
good
bad
28
Related research
• Emotion recognition by Appearance-based feature extraction
and Geometric based feature extraction.
• An accurate and efficient statistical based approach for
analyzing extracted facial expression features…
29
CONCLUSION
• which is very less thus helping in achieving a better real time
performance and efficiency.
Module Time Taken(sec)
Face Detection 0.8126
Facial Feature Extraction 0.9216
Emotion Extraction Module 0.9994
Emotion-Audio Integration Module 0.0006
Proposed System 1.0000
FUTURE SCOP
• The future scope in the system would to design a mechanism
that would be helpful in music therapy treatment and provide
the music therapist the help needed to treat the patients
suffering from disorders like mental stress, anxiety, acute
depression and trauma. The proposed system also tends to
avoid in future the unpredictable results produced in extreme
bad light conditions and very poor camera resolution.
30
REFERENCE
• Chang, C. Hu, R. Feris, and M. Turk, ―Manifold based analysis of facial
expression,‖ Image Vision Comput ,IEEE Trans. Pattern Anal. Mach. Intell.
vol. 24, pp. 05–614, June 2006.
• A. habibzad, ninavin, Mir kamalMirnia,‖ A new algorithm to classify face
emotions through eye and lip feature by using particle swarm optimization.‖
• Byeong-jun Han, Seungmin Rho, Roger B. Dannenberg and Eenjun Hwang,
―SMERS: music emotion recognition using support vector regression‖,
10thISMIR , 2009.
• Alvin I. Goldmana, b.Chandra and SekharSripadab, ―Simulationist models of
face-based emotion recognition‖.
• Carlos A. Cervantes and Kai-Tai Song , ―Embedded Design of an Emotion-
Aware Music Player‖, IEEE International Conference on Systems, Man, and
Cybernetics, pp 2528-2533 ,2013.
31
32

More Related Content

What's hot

Hand gesture recognition system(FYP REPORT)
Hand gesture recognition system(FYP REPORT)Hand gesture recognition system(FYP REPORT)
Hand gesture recognition system(FYP REPORT)
Afnan Rehman
 
Face recognition ppt
Face recognition pptFace recognition ppt
Face recognition ppt
Santosh Kumar
 

What's hot (20)

AGE AND GENDER DETECTION.pptx
AGE AND GENDER DETECTION.pptxAGE AND GENDER DETECTION.pptx
AGE AND GENDER DETECTION.pptx
 
Homomorphic filtering
Homomorphic filteringHomomorphic filtering
Homomorphic filtering
 
Emotion recognition using image processing in deep learning
Emotion recognition using image     processing in deep learningEmotion recognition using image     processing in deep learning
Emotion recognition using image processing in deep learning
 
Mood based Music Player
Mood based Music PlayerMood based Music Player
Mood based Music Player
 
Human age and gender Detection
Human age and gender DetectionHuman age and gender Detection
Human age and gender Detection
 
Hand gesture recognition system(FYP REPORT)
Hand gesture recognition system(FYP REPORT)Hand gesture recognition system(FYP REPORT)
Hand gesture recognition system(FYP REPORT)
 
HUMAN EMOTION RECOGNIITION SYSTEM
HUMAN EMOTION RECOGNIITION SYSTEMHUMAN EMOTION RECOGNIITION SYSTEM
HUMAN EMOTION RECOGNIITION SYSTEM
 
SPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSINGSPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSING
 
Emotion detection using cnn.pptx
Emotion detection using cnn.pptxEmotion detection using cnn.pptx
Emotion detection using cnn.pptx
 
Facial Emotion Recognition: A Deep Learning approach
Facial Emotion Recognition: A Deep Learning approachFacial Emotion Recognition: A Deep Learning approach
Facial Emotion Recognition: A Deep Learning approach
 
Face recognition ppt
Face recognition pptFace recognition ppt
Face recognition ppt
 
Final year ppt
Final year pptFinal year ppt
Final year ppt
 
Face recognition technology
Face recognition technologyFace recognition technology
Face recognition technology
 
EMOTION DETECTION USING AI
EMOTION DETECTION USING AIEMOTION DETECTION USING AI
EMOTION DETECTION USING AI
 
Region Splitting and Merging Technique For Image segmentation.
Region Splitting and Merging Technique For Image segmentation.Region Splitting and Merging Technique For Image segmentation.
Region Splitting and Merging Technique For Image segmentation.
 
Image compression models
Image compression modelsImage compression models
Image compression models
 
Face recognization
Face recognizationFace recognization
Face recognization
 
Face detection ppt
Face detection pptFace detection ppt
Face detection ppt
 
Hit and-miss transform
Hit and-miss transformHit and-miss transform
Hit and-miss transform
 
Noise Models
Noise ModelsNoise Models
Noise Models
 

Similar to Emotion based music player

Face2mus 1437580648936
Face2mus 1437580648936Face2mus 1437580648936
Face2mus 1437580648936
Ann Thomas
 

Similar to Emotion based music player (20)

major ppt 1 final.pptx
major ppt 1 final.pptxmajor ppt 1 final.pptx
major ppt 1 final.pptx
 
B8_Mini project_Final review ppt.pptx
B8_Mini project_Final review ppt.pptxB8_Mini project_Final review ppt.pptx
B8_Mini project_Final review ppt.pptx
 
IRJET - EMO-MUSIC(Emotion based Music Player)
IRJET - EMO-MUSIC(Emotion based Music Player)IRJET - EMO-MUSIC(Emotion based Music Player)
IRJET - EMO-MUSIC(Emotion based Music Player)
 
A Music Visual Interface via Emotion Detection Supervisor
A Music Visual Interface via Emotion Detection SupervisorA Music Visual Interface via Emotion Detection Supervisor
A Music Visual Interface via Emotion Detection Supervisor
 
Mind Experiences Models Experimenter Framework
Mind Experiences Models Experimenter FrameworkMind Experiences Models Experimenter Framework
Mind Experiences Models Experimenter Framework
 
Image processing
Image processingImage processing
Image processing
 
Emotion recognition using facial expressions and speech
Emotion recognition using facial expressions and speechEmotion recognition using facial expressions and speech
Emotion recognition using facial expressions and speech
 
Facial emotion detection on babies' emotional face using Deep Learning.
Facial emotion detection on babies' emotional face using Deep Learning.Facial emotion detection on babies' emotional face using Deep Learning.
Facial emotion detection on babies' emotional face using Deep Learning.
 
Face2mus 1437580648936
Face2mus 1437580648936Face2mus 1437580648936
Face2mus 1437580648936
 
Face recognition.ppt
Face recognition.pptFace recognition.ppt
Face recognition.ppt
 
An Enhanced Independent Component-Based Human Facial Expression Recognition ...
An Enhanced Independent Component-Based Human Facial Expression Recognition  ...An Enhanced Independent Component-Based Human Facial Expression Recognition  ...
An Enhanced Independent Component-Based Human Facial Expression Recognition ...
 
EMOTION RECOGNITION SYSTEMS: A REVIEW
EMOTION RECOGNITION SYSTEMS: A REVIEWEMOTION RECOGNITION SYSTEMS: A REVIEW
EMOTION RECOGNITION SYSTEMS: A REVIEW
 
Nlp, robotics and expert system
Nlp, robotics and expert systemNlp, robotics and expert system
Nlp, robotics and expert system
 
Ai
Ai Ai
Ai
 
Multimodal Learning Analytics
Multimodal Learning AnalyticsMultimodal Learning Analytics
Multimodal Learning Analytics
 
Music Gesture for Visual Sound Separation
Music Gesture for Visual Sound SeparationMusic Gesture for Visual Sound Separation
Music Gesture for Visual Sound Separation
 
Facial Emotion Detection on Children's Emotional Face
Facial Emotion Detection on Children's Emotional FaceFacial Emotion Detection on Children's Emotional Face
Facial Emotion Detection on Children's Emotional Face
 
IRJET- Comparative Analysis of Emotion Recognition System
IRJET- Comparative Analysis of Emotion Recognition SystemIRJET- Comparative Analysis of Emotion Recognition System
IRJET- Comparative Analysis of Emotion Recognition System
 
IRJET- Implementation of Emotion based Music Recommendation System using SVM ...
IRJET- Implementation of Emotion based Music Recommendation System using SVM ...IRJET- Implementation of Emotion based Music Recommendation System using SVM ...
IRJET- Implementation of Emotion based Music Recommendation System using SVM ...
 
face detection
face detectionface detection
face detection
 

Recently uploaded

Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 

Recently uploaded (20)

Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 

Emotion based music player

  • 1. 1 EMO PLAYER The emotion based music player - N I S A M U D E E N P
  • 2. ABSTRACT • A novel approach that provides, the user with an automatically generated playlist of songs based on the mood of the user. • Music plays a very important role in human’s daily life and in the modern advanced technologies . • The difficulties in the creation of large playlists can overcome here. • This Music player itself selects songs according to the current mood of the user. 2
  • 3. Cont… • Existing methods for automating the playlist generation process are computationally slow, less accurate and sometimes even require use of additional hardware like EEG or sensors. • This proposed system based on extraction of facial expressions that will generate a playlist automatically thereby reducing the effort and time. 3
  • 4. • User dependent and user independent datasets can done here and the Facial expressions are captured using an inbuilt camera. • The accuracy of the detection algorithm used for real time images is around 85-90%, while for static images it is around 98-100% 4 Cont…
  • 5. INTRODUCTION • From others this plays a novel approach that removes the risk that the user has to face the task of manually browsing through the playlist of songs to select. • Here an efficient and accurate algorithm, that would generate a playlist based on current emotional state and behavior of the user. 5
  • 6. • The introduction of Audio Emotion Recognition (AER) and Music Information Retrieval (MIR) in the traditional music players provided automatically parsing the playlist based on various classes of emotions and moods. • Facial expression is the most ancient and natural way of expressing feelings, emotions and mood and its algorithm requires less computational, time, and cost. 6 Cont…
  • 7. Emotion Basics • The facial expressions categorize into 5 different of facial expressions like anger, joy, surprise, sad, and excitement. • An emotion model is proposed that classifies a song based on any of the 7 classes of emotions viz sad, joy-anger, joy- surprise, joy-excitement, joy, anger, and sad-anger. 7
  • 8. 8 Requirement • Track User Emotion • Recommend by Sorting playlist based on user’s current emotion • Sort songs by 2 factors o Relevancy to User Preference o Effect on User Emotion
  • 9. METHODOLOGY • Three major modules: Emotion extraction module(EEM) Audio feature extraction module(AEM) Emotion-Audio recognition module. • EEM and AEM are two separate modules and Emotion- Audio recognition module performs the mapping of modules by querying the audio meta-data file. • The EEM and AEM are combined in Emotion-Audio integration module. 9
  • 10. Emotion extraction module • Done by the analysis on Images, Image of a user is captured using a webcam or it can be accessed from the stored image in the hard disk. • This acquired image undergoes image enhancement in the form of tone mapping in order to restore the original contrast of the image. • converted into binary image format for the detection of face using Viola and Jones algorithm (Frontal Cart property) 10
  • 11. Viola and Jones algorithm • The Viola–Jones object detection framework is the first object detection framework to provide competitive object detection rates in real-time proposed in 2001 by Paul Viola and Michael Jones. • It can be trained to detect a variety of object classes, it was motivated primarily by the problem of face detection .
  • 12. Cont… • Here a computer needs precise instructions and constraints for the detection To make the task more manageable, Viola–Jones requires full view frontal upright faces. • Thus in order to be detected, the entire face must point towards the camera and should not be tilted to either side. • Here we use the viola frontal cart property, The ‘frontal cart’ property only detects the frontal face that are upright and forward facing.
  • 13. • Here this property with a merging threshold of 16 is employed to carry out this process. This value helps in coagulating the multiple boxes into a single bounding box. • Bounding box is the physical shape for a given object and can be used to graphically define the physical shapes of the objects. Cont…
  • 14. MATLAB code on frontal cart for object detection function [ ] = Viola_Jones_img ( Img ) %Viola_Jones_img( Img ) % Img - input image % Example how to call function: Viola_Jones_img( imread ('name_of_the_picture.jpg')) faceDetector = vision.CascadeObjectDetector; bboxes = step(faceDetector, Img); figure, imshow( Img ), title( 'Detected faces' );hold on for i = 1 : size (bboxes, 1 ) rectangle( 'Position' ,bboxes ( i ,:), ‘ LineWidth ' , 2 , ‘ EdgeColor ' , 'y' ); end end
  • 15. Advantages  Extremely fast feature computation  Efficient feature selection  Scale and location invariant detector  Instead of scaling the image itself (e.g. pyramid-filters), we scale the features.  Such a generic detection scheme can be trained for detection of other types of objects (e.g. cars, hands)
  • 16. Disadvantages  Detector is most effective only on frontal images of faces  Sensitive to lighting conditions  We might get multiple detections of the same face, due to overlapping sub-windows.
  • 17. EEM Cont.. • The output of Viola and Jones Face detection block forms an input to the facial feature extraction block. • Equations for bounding box calculations for extracting features of a mouth. 1. X (start pt of mouth) = X (mid pt of nose) – (X (end pt of nose) – (X start pt of nose)) 2. X (end pt of mouth) = X (mid pt of nose) + ((X end pt of nose) – (X start pt of nose)) 3. Y (start pt of mouth) = Y (mid pt of nose) +15 4. Y (end pt of mouth) = Y (start pt of mouth) +103 17
  • 18. Audio feature extraction module • Here the list of songs forms as input audio files, and here the conversion of 16 bit PCM mono signal around a variable sampling rate of 48.6 kHz. The conversion process is done using Audacity technique. • The extraction of converted files are done by three tool box units - MIR 1.5 Toolbox - Chroma Toolbox - Auditory Toolbox 18
  • 19. MIR 1.5 Toolbox • Features like tonality, rhythm, structures, etc extracted using integrated set of functions written in Matlab. • Additionally to the basic computational processes, the toolbox also includes higher-level musical feature extraction tools, whose alternative strategies, and their multiple combinations, can be selected by the user. 19
  • 20. Cont… • The toolbox was initially conceived in the context of the Brain Tuning project financed by the European Union (FP6-NEST). One main objective was to investigate the relation between musical features and music-induced emotion and the associated neural activity. 20
  • 21. Chroma Toolbox • It is a MATLAB implementations for extracting various types of novel pitch-based and chroma-based audio features. • It contains feature extractors for pitch features as well as parameterized families of variants of chroma-like features. 21
  • 22. Auditory Toolbox • Features like centroid, spectral flux, spectral roll off, kurtosis,15 MFCC coefficients are extracted using Auditory Toolbox with the implementation on MATLAB. • Audio signals are categorized into 8 types viz. sad, joy-anger, joy-surprise, joy-excitement, joy, anger, sad-anger and others. 22
  • 23. 8 Types 1. Songs that resemble cheerfulness, energetic and playfulness are classified under joy. 2. Songs that resemble very depressing are classified under the sad. 3. Songs that reflect mere attitude, revenge are classified under anger. 4. Songs with anger in playful is classified under Joy-anger category. 5. Songs with very depress mode and anger mood are classified under Sad- Anger category. 6. Songs which reflect excitement of joy is classified under Joy- Excitement category. 7. Songs which reflect surprise of joy is classified under Joy-surprise category. 8. All other songs fall under ‗others‘ category. 23
  • 24. Emotion-Audio recognition module • The emotion extraction module and audio feature extraction module is finally mapped and combined using an Emotion Audio integration module. • The extracted for the songs are stored as a meta-data in the database. Mapping is performed by querying the meta-data database. 24
  • 25. 25
  • 26. Mapping of Facial and Audio features 26
  • 27. Music Recommendation Study songs’ emotional effect 27 good bad
  • 28. 28 Related research • Emotion recognition by Appearance-based feature extraction and Geometric based feature extraction. • An accurate and efficient statistical based approach for analyzing extracted facial expression features…
  • 29. 29 CONCLUSION • which is very less thus helping in achieving a better real time performance and efficiency. Module Time Taken(sec) Face Detection 0.8126 Facial Feature Extraction 0.9216 Emotion Extraction Module 0.9994 Emotion-Audio Integration Module 0.0006 Proposed System 1.0000
  • 30. FUTURE SCOP • The future scope in the system would to design a mechanism that would be helpful in music therapy treatment and provide the music therapist the help needed to treat the patients suffering from disorders like mental stress, anxiety, acute depression and trauma. The proposed system also tends to avoid in future the unpredictable results produced in extreme bad light conditions and very poor camera resolution. 30
  • 31. REFERENCE • Chang, C. Hu, R. Feris, and M. Turk, ―Manifold based analysis of facial expression,‖ Image Vision Comput ,IEEE Trans. Pattern Anal. Mach. Intell. vol. 24, pp. 05–614, June 2006. • A. habibzad, ninavin, Mir kamalMirnia,‖ A new algorithm to classify face emotions through eye and lip feature by using particle swarm optimization.‖ • Byeong-jun Han, Seungmin Rho, Roger B. Dannenberg and Eenjun Hwang, ―SMERS: music emotion recognition using support vector regression‖, 10thISMIR , 2009. • Alvin I. Goldmana, b.Chandra and SekharSripadab, ―Simulationist models of face-based emotion recognition‖. • Carlos A. Cervantes and Kai-Tai Song , ―Embedded Design of an Emotion- Aware Music Player‖, IEEE International Conference on Systems, Man, and Cybernetics, pp 2528-2533 ,2013. 31
  • 32. 32