facial expression recognition based on local binary patterns final

68
Supervised by Prof.Dr. Aliaa Youssif Caifeng Shan a,*, Shaogang Gong b, Peter W. McOwan b Published in Journal: www.elsevier.com 1 Presented by, Mohamed Sherif Ahmed Reda Elshami Moataz Ahmed

Upload: ahmad-abdelhafeez

Post on 16-Jul-2015

282 views

Category:

Engineering


7 download

TRANSCRIPT

Page 1: Facial expression recognition based on local binary patterns final

Supervised by

Prof.Dr. Aliaa Youssif

Caifeng Shan a,*, Shaogang Gong b, Peter W. McOwan b

Published in Journal: www.elsevier.com

1

Presented by,

Mohamed SherifAhmed Reda ElshamiMoataz Ahmed

Page 2: Facial expression recognition based on local binary patterns final

Introduction:• What is Facial expression recognition.

• Types of Feature extraction.

• Facial expression recognition based on Local Binary Patterns(LBP).

• Facial expression data.

Feature Extraction using LBP

Machine Learning ◦ What is Machine Learning?

◦ Machine Learning Method we use(Brief)

◦ SVM(Supported Vector machine)

Page 3: Facial expression recognition based on local binary patterns final

Low-resolution facial expression recognition

Boosting LBP for facial expression recognition

Tables of Results

Paper Implementation

Conclusion

Future Work

References

3

Page 4: Facial expression recognition based on local binary patterns final

Facial expressionis one of the most powerful, natural and immediate means for human beings to communicate their

emotions and intensions.

Page 5: Facial expression recognition based on local binary patterns final

A facial recognition system is a computer application for automatically identifying or verifying a person from a digital image or a video frame from a video source. One of the ways to do this is by comparing selected facial features from the image and a facial database.

Page 6: Facial expression recognition based on local binary patterns final

Facial expression recognition is a process performed byhumans or computers, which consists of:1. Locating faces in the scene (referred to as face

detection).

2. Extracting facial features from the detected face region (referred to as facial feature extraction).

3. Analyzing the motion of facial features and/or the changes in the appearance of facial features and classifying this information into some facial-expression-interpretative categories such as facial muscle activations like smile or frown, emotion (affect) categories like happiness or anger, attitude categories like (dis)liking or ambivalence, etc. (referred to as facial expression interpretation).

Page 7: Facial expression recognition based on local binary patterns final

History:

Automatic facial expression recognition has attracted much attention from behavioural scientists since the work of C.Darwin in 1872(The Expression of the Emotions in Man and Animals).

M.Suwa made the first attempt to automatically analyze facial expressions from image sequences in 1978 (A preliminary note on pattern recognition of human emotional expression).

Much progress has been made in the last decade.

Page 8: Facial expression recognition based on local binary patterns final

Photographs from the 1862 book Mécanisme de la Physionomie Humaine by Guillaume Duchenne. Through electric stimulation, determined which muscles were responsible for different facial expressions. Charles Darwin would later republish some of these photographs in his own work on the subject, which compared facial expressions in humans to those in animals.

Page 9: Facial expression recognition based on local binary patterns final

Challenges: Though much progress has been made

recognizing facial expression with a high accuracy remains difficult due to the subtlety, complexity and variability of facial expressions.

Low-resolution images in real world environments make real-life expression recognition much more difficult.

And we must also consider the factor of timeand memory.

Page 10: Facial expression recognition based on local binary patterns final

progress: Y. Yacoob, L.S. Davis, Recognizing human facial expression from long

image sequences using optical flow, IEEE Transactions on Pattern Analysis and Machine Intelligence 18 (6) (1996) 636–642.

I. Essa, A. Pentland, Coding, analysis, interpretation, and recognition of facial expressions, IEEE Transactions on Pattern Analysis and Machine Intelligence 19 (7) (1997) 757–763.

M.J. Lyons, J. Budynek, S. Akamatsu, Automatic classification of single facial images, IEEE Transactions on Pattern Analysis and Machine Intelligence 21 (12) (1999) 1357–1362.

G. Donato, M. Bartlett, J. Hager, P. Ekman, T. Sejnowski, Classifying facial actions, IEEE Transactions on Pattern Analysis and Machine Intelligence 21 (10) (1999) 974–989.

M. Pantic, L. Rothkrantz, Expert system for automatic analysis of facial expression, Image and Vision Computing 18 (11) (2000) 881–905.

Y. Tian, T. Kanade, J. Cohn, Recognizing action units for facial expression analysis, IEEE Transactions on Pattern Analysis and Machine Intelligence 23 (2) (2001) 97–115.

Page 11: Facial expression recognition based on local binary patterns final

There are two common approaches to extract facial features:

Geometric feature-based methods.

Appearance-based methods.

Page 12: Facial expression recognition based on local binary patterns final

Geometric features present the shape and locations of facial components, which are extracted to form a feature vector that represents the face geometry.

In image sequences, the facial movements can be qualified by measuring the geometrical displacement of facial feature points between the current frame and the initial frame.

Page 13: Facial expression recognition based on local binary patterns final
Page 14: Facial expression recognition based on local binary patterns final
Page 15: Facial expression recognition based on local binary patterns final

With appearance-based methods, Holistic spatial analysis including Principal Component Analysis (PCA), Linear Discriminant Analysis (LDA), Independent Component Analysis (ICA) and Gabor wavelets, are applied to either the whole-face or specific face-regions to extract the appearance changes of the face.

Page 16: Facial expression recognition based on local binary patterns final

Due to their superior performance, the major works on appearance-based methods have focused on using Gabor-wavelet representations.

However, the computation of Gabor-waveletrepresentations is both time and memory intensive.

Page 17: Facial expression recognition based on local binary patterns final

Gabor-wavelet:In image processing, a Gabor filter is a linear filter used for edge detection.

The Gabor wavelet representation allows description of spatial frequency structure in the image while preserving information about spatial relations.

Page 18: Facial expression recognition based on local binary patterns final

Recently M.Valstar have demonstrated that geometric feature-based methods provide

similar or better performance than appearance-based approaches in Action Unit recognition.

However, the geometric feature-based

methods usually requires accurate and reliable facial feature detection and tracking.

Page 19: Facial expression recognition based on local binary patterns final

We extract the facial features using appearance based method:

In this work, we empirically study facial representation based on Local Binary Pattern (LBP) features for person-independent

facial expression recognition.

Page 20: Facial expression recognition based on local binary patterns final

Local Binary Pattern (LBP) is a simple yet very efficient texture operator which labels the pixels of an image by threasholding the neighborhood of each pixel and considers the result as a binary number. Due to its discriminative power and computational simplicity.

Page 21: Facial expression recognition based on local binary patterns final

LBP features were proposed originally for texture analysis, and recently have been introduced to represent faces in facial images analysis.

The most important properties of LBP features are their tolerance against illumination changes and their computational simplicity.

Page 22: Facial expression recognition based on local binary patterns final

Different machine learning methods, includingtemplate Matching, Support Vector Machine (SVM), Linear Discriminant Analysis (LDA) and the linear programming technique are examined to perform facial expression recognition using LBP features.

Page 23: Facial expression recognition based on local binary patterns final

Compared to Gabor wavelets, LBP features can be derived very fast in a single scan through the raw image and lie in low-dimensional feature space, while still retaining discriminative facial information in a compact representation.

Since it is both time and memory

intensive to convolve face images with a bank of Gabor filters to extract multi-scale and multi-orientational coefficients.

Page 24: Facial expression recognition based on local binary patterns final

The generalization ability of LBP features across different databases are evaluated.

Obviously low-resolution images in real world environments make real-life expression recognition much more difficult.

SO In this work, LBP features for low-resolution facial expression recognition are investigated.

Experiments on different image resolutions show that LBP features perform stably and robustly over a useful range of low resolutions of face images.

Page 25: Facial expression recognition based on local binary patterns final

A widely used description is Facial Action Coding System (FACS), which is a human-observer-based system developed to capture subtle changes in facial expressions.

With FACS, facial expressions are decomposed into one or more Action Units (AUs).

Page 26: Facial expression recognition based on local binary patterns final

Emotion Action Units

Happiness 6+12

Sadness 1+4+15

Surprise 1+2+5B+26

Fear 1+2+4+5+7+20+26

Anger 4+5+7+23

Disgust 9+15+16

Page 27: Facial expression recognition based on local binary patterns final

AU Number FACS Name Muscular Basis

0 Neutral face

1 Inner Brow Raiser frontalis (pars medialis)

2 Outer Brow Raiser frontalis (pars lateralis)

4 Brow Lowererdepressor glabellae, depressor supercilii, corrugator supercilii

5 Upper Lid Raiser levator palpebrae superioris, superior tarsal muscle

6 Cheek Raiser orbicularis oculi (pars orbitalis)

7 Lid Tightener orbicularis oculi (pars palpebralis)

8 Lips Toward Each Other orbicularis oris

9 Nose Wrinkler levator labii superioris alaeque nasi

10 Upper Lip Raiser levator labii superioris, caput infraorbitalis

11 Nasolabial Deepener zygomaticus minor

12 Lip Corner Puller zygomaticus major

13 Sharp Lip Puller levator anguli oris (also known as caninus)

14 Dimpler buccinator

15 Lip Corner Depressor depressor anguli oris (also known as triangularis)

16 Lower Lip Depressor depressor labii inferioris

17 Chin Raiser mentalis

18 Lip Pucker incisivii labii superioris and incisivii labii inferioris

19 Tongue Show

20 Lip Stretcher risorius w/ platysma

21 Neck Tightener platysma

22 Lip Funneler orbicularis oris

23 Lip Tightener orbicularis oris

24 Lip Pressor orbicularis oris

25 Lips Partdepressor labii inferioris, or relaxation of mentalis or orbicularis oris

26 Jaw Drop masseter; relaxed temporalis and internal pterygoid

Page 28: Facial expression recognition based on local binary patterns final

28

Page 29: Facial expression recognition based on local binary patterns final

The experiments on the Cohn–Kanade database, one of the most comprehensive database in the current facial-expression-research community.

The database consists of 100 university students aged from 18 to 30 years, of which 65% were female, 15% were African-American and 3% were Asian or Latino.

Subjects were instructed to perform a series of 23 facial displays, six of which were based on description of prototypic emotions.

Image sequences from neutral to target display were

digitized into 640 x 490 pixel arrays with 8-bit precision for gray scale values.

Page 30: Facial expression recognition based on local binary patterns final
Page 31: Facial expression recognition based on local binary patterns final

We empirically evaluate LBP features for person-independent facial expression recognition. Different machine learning methods are exploited to classify expressions on several databases. here we comprehensively study LBP features for facial expression recognition with different classifiers on much larger databases.

We investigate LBP features for low-resolution facial expression recognition, a critical problem but seldom addressed in the existing work. We not only perform evaluation on different image resolutions, but also conduct experiments in real-world compressed video sequences.

We formulate Boosted-LBP by learning the most discriminative LBP histograms with AdaBoost for each expression, and the recognition performance of different classifiers are improved by using the Boosted-LBP features. We also evaluate the generalization ability of LBP features cross different databases.

Page 32: Facial expression recognition based on local binary patterns final
Page 33: Facial expression recognition based on local binary patterns final

33

Color image

Page 34: Facial expression recognition based on local binary patterns final

34

Gray image

Page 35: Facial expression recognition based on local binary patterns final

5 9 1

4 4 6

7 2 3

1 1 0

1 1

1 0 0

Binary: 11010011Decimal: 211

Threshold

4<5 --------- 14<9 --------- 14>1 --------- 04<6 --------- 14>3 ----------04>2 ---------- 04<7 -----------14=4 -----------1

Page 36: Facial expression recognition based on local binary patterns final

Circular Neighborhoods

Page 37: Facial expression recognition based on local binary patterns final

An important special case of LBP is the uniform LBP. A LBP descriptor is called uniform if and only if at most two bitwise transition between 0 and 1 over the circulated binary feature.

For example:

00000000 (0 transition), 11100011 (2 transitions) are uniform

01010000 (4 transitions) is non-uniform

Page 38: Facial expression recognition based on local binary patterns final
Page 39: Facial expression recognition based on local binary patterns final
Page 40: Facial expression recognition based on local binary patterns final

Is a branch of artificial intelligence, concerns the construction and study of systems that can learn from data.

Types◦ Supervised Learning

◦ Unsupervised Learning

Page 41: Facial expression recognition based on local binary patterns final

Template Matching

SVM

41

Page 42: Facial expression recognition based on local binary patterns final

0 0 0 0 0 0 0

0 0 0 0 0 0 0

0 0 1 1 1 0 0

0 0 1 1 1 0 0

0 0 1 1 1 0 0

0 0 0 0 0 0 0

0 0 0 0 0 0 0

1 1 1 0

1 1 1 0

1 1 1 0

Page 43: Facial expression recognition based on local binary patterns final
Page 44: Facial expression recognition based on local binary patterns final
Page 45: Facial expression recognition based on local binary patterns final
Page 46: Facial expression recognition based on local binary patterns final

Linear

Polynomial

Radial basis function

46

Page 47: Facial expression recognition based on local binary patterns final
Page 48: Facial expression recognition based on local binary patterns final
Page 49: Facial expression recognition based on local binary patterns final
Page 50: Facial expression recognition based on local binary patterns final

In real-world environments such as smart meeting and visual surveillance, only low-resolution video input is available.

50

Page 51: Facial expression recognition based on local binary patterns final

51

Page 52: Facial expression recognition based on local binary patterns final

52

Page 53: Facial expression recognition based on local binary patterns final

The above experiments clearly demonstrate that the LBP features are effective for facial expression recognition, and performed just as well or better than reported existing techniques but with a significant low-computation advantage. In the above investigation, face images are equally divided into small sub-regions from which LBP histograms are extracted and concatenated into a single feature vector. However, apparently the extracted LBP features depend on the divided sub-regions, so this LBP feature extraction scheme suffers from fixed sub-region size and positions. By shifting and scaling a sub-window over face images, many more sub-regions can be obtained, bringing many more LBP histograms, which yield a more complete description of face images. To minimize a very large number of LBP histograms necessarily introduced by shifting and scaling a sub-window, boosting learning [can be used to learn the most effective LBP histograms that containing much discriminative information. In ,Zhang et al. presented an approach for face recognition by boosting LBP-based classifiers, where the distance between corresponding LBP histograms of two face images is used as a discriminative feature, and AdaBoost was used to learn a few of most efficient features.

53

Page 54: Facial expression recognition based on local binary patterns final

54

Page 55: Facial expression recognition based on local binary patterns final

55

Page 56: Facial expression recognition based on local binary patterns final
Page 57: Facial expression recognition based on local binary patterns final

57

Page 58: Facial expression recognition based on local binary patterns final

58

Page 59: Facial expression recognition based on local binary patterns final

59

Page 60: Facial expression recognition based on local binary patterns final

60

Page 61: Facial expression recognition based on local binary patterns final

61

Page 62: Facial expression recognition based on local binary patterns final

62

Page 63: Facial expression recognition based on local binary patterns final

63

Page 64: Facial expression recognition based on local binary patterns final

In this paper, we present a comprehensive empirical study of facial expression recognition based on Local Binary Patterns features. Different classification techniques are examined on several databases. The key issues of this work can be summarized as follows:

1. Deriving an effective facial representation from original face images is a vital step for successful facial expression recognition. We empirically evaluate LBP features to describe appearance changes of expression images. Extensive experiments illustrate that LBP features are effective and efficient for facial expression recognition.

2. One challenge for facial expression recognition is recognizing facial expressions at low resolutions, as only compressed low resolution video input is available in real-world applications. We investigate LBP features on low-resolution images, and observe that LBP features perform stably and robustly over a useful range of low resolutions of face images.

3. We adopt AdaBoost to learn the most discriminative LBP features from a large LBP feature pool. Best recognition performance is obtained by using SVM with Boosted-LBP features. However, this method has limitation on generalization to other datasets.

64

Page 65: Facial expression recognition based on local binary patterns final

[1] M. Pantic, L. Rothkrantz, Automatic analysis of facial expressions: the state of art, IEEE Transactions on Pattern Analysis and Machine Intelligence 22 (12) (2000) 1424–1445. [2] B. Fasel, J. Luettin, Automatic facial expression analysis: a survey, Pattern Recognition 36 (2003) 259–275. [3] M. Pantic, L. Rothkrantz, Toward an affect-sensitive multimodal human– computer interaction, in: Proceeding of the IEEE, vol. 91, 2003, pp. 1370–1390. [4] Y. Tian, T. Kanade, J. Cohn, Handbook of Face Recognition, Springer, 2005 (Chapter 11. Facial Expression Analysis). [5] Y. Yacoob, L.S. Davis, Recognizing human facial expression from long image sequences using optical flow, IEEE Transactions on Pattern Analysis and Machine Intelligence 18 (6) (1996) 636–642. [6] I. Essa, A. Pentland, Coding, analysis, interpretation, and recognition of facial expressions, IEEE Transactions on Pattern Analysis and Machine Intelligence 19 (7) (1997) 757–763. [7] M.J. Lyons, J. Budynek, S. Akamatsu, Automatic classification of single facial images, IEEE Transactions on Pattern Analysis and Machine Intelligence 21 (12) (1999) 1357–1362. [8] G. Donato, M. Bartlett, J. Hager, P. Ekman, T. Sejnowski, Classifying facial

65

Page 66: Facial expression recognition based on local binary patterns final

actions, IEEE Transactions on Pattern Analysis and Machine Intelligence 21

(10) (1999) 974–989.

[9] M. Pantic, L. Rothkrantz, Expert system for automatic analysis of facial

expression, Image and Vision Computing 18 (11) (2000) 881–905.

[10] Y. Tian, T. Kanade, J. Cohn, Recognizing action units for facial expression

analysis, IEEE Transactions on Pattern Analysis and Machine Intelligence 23 (2)

(2001) 97–115.

[11] I. Cohen, N. Sebe, A. Garg, L. Chen, T.S. Huang, Facial expression recognition

from video sequences: temporal and static modeling, Computer Vision and

Image Understanding 91 (2003) 160–187.

[12] L. Yin, J. Loi, W. Xiong, Facial expression representation and recognition based

on texture augmentation and topographic masking, in: ACM Multimedia, 2004.

[13] M. Yeasin, B. Bullot, R. Sharma, From facial expression to level of interests: a

spatio-temporal approach, in: IEEE Conference on Computer Vision and

Pattern Recognition (CVPR), 2004.

[14] J. Hoey, J.J. Little, Value directed learning of gestures and facial displays, in:

IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2004.

[15] Y. Chang, C. Hu, M. Turk, Probabilistic expression analysis on manifolds, in:

IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2004.

[16] R.E. Kaliouby, P. Robinson, Real-time inference of complex mental states from

facial expressions and head gestures, in: IEEE CVPR Workshop on Real-time

Vision for Human–Computer Interaction, 2004.

[17] M. Pantic, L.J.M. Rothkrantz, Facial action recognition for facial expression

analysis from static face images, IEEE Transactions on Systems, Man, and

Cybernetics 34 (3) (2004) 1449–1461.

66

Page 67: Facial expression recognition based on local binary patterns final

[18] Y. Zhang, Q. Ji, Active and dynamic information fusion for facial expression

understanding from image sequences, IEEE Transactions on Pattern Analysis

and Machine Intelligence 27 (5) (2005) 1–16.

[19] M.S. Bartlett, G. Littlewort, M. Frank, C. Lainscsek, I. Fasel, J. Movellan,

Recognizing facial expression: machine learning and application to spotaneous

behavior, in: IEEE Conference on Computer Vision and Pattern Recognition

(CVPR), 2005.

[20] F. Dornaika, F. Davoine, Simultaneous facial action tracking and expression

recognition using a particle filter, in: IEEE International Conference on

Computer Vision (ICCV), 2005.

[21] C.S. Lee, A. Elgammal, Facial expression analysis using nonlinear decomposable

generative models, in: IEEE International Workshop on Analysis and Modeling

of Faces and Gestures (AMFG), 2005.

[22] M. Valstar, I. Patras, M. Pantic, Facial action unit detection using probabilistic

actively learned support vector machines on tracked facial point data, in: IEEE

Conference on Computer Vision and Pattern Recognition Workshop, vol. 3,

2005, pp. 76–84.

[23] M. Valstar, M. Pantic, Fully automatic facial action unit detection and temporal

analysis, in: IEEE Conference on Computer Vision and Pattern Recognition

Workshop, 2006, p. 149

67

Page 68: Facial expression recognition based on local binary patterns final

Thank you

68