SlideShare ist ein Scribd-Unternehmen logo
1 von 52
Facial Expression
Recognition/Removal
      Robot Vision CAP4453




                             Alejandro Avilés
                               Rafael Dahis
CVPR 2010


Facial Expression Recognition/Removal               2
Introduction
  What is our goal?
     Obtain a neutral face 3D model from an expressional face
      3D model
  How can we achieve this?
     Learning how to infer the expression
     Subtracting the expression




4/22/2012          Facial Expression Recognition/Removal         3
Motivations
  3D Facial expression removal benefits…

       Performance of 3D face recognition


       Improve 3D gender classification methods


       Analyzing complex expressions


       Face synthesis

4/22/2012            Facial Expression Recognition/Removal   4
Background
  This is probably the first attempt in 3D removal…
  Comparing it to 3D face synthesis as its opposite process

       Interpolation-based


       Muscle-based


       Example-based



4/22/2012            Facial Expression Recognition/Removal     5
Framework
  Steps
     Alignment


       Training
         Building spaces
         Learning



       Testing
         Subtract expression
         Reconstruction



4/22/2012              Facial Expression Recognition/Removal   6
Alignment
  We need to adapt the input to a generic 3D model

  Why?
    Input faces are irregular and posture-variant
    They would be difficult to map


  Input = A cloud of points
  Generic model = Triangle mesh

  How can we obtain a normalized mesh?
     Fitting the cloud of points to a generic model

4/22/2012            Facial Expression Recognition/Removal   7
Alignment –                      1st       step
  Landmark-constrained Rigid Adjustment
     We adjust the posture of O towards G
     Landmarks to constrain the fitting


  Iterative Closest Point
     Creating pairs between both sets
                                                                              Original   Generic

    For each point xi ∈ PO
       If xi ∈ LO                                              Model            O          G
          Find corresponding landmark yi ∈ LG                  Point set        PO         PG
       Else
          Find nearest point yi ∈ PG                           Landmark set     LO         LG

4/22/2012              Facial Expression Recognition/Removal                                       8
Alignment –                           2nd         step
  Energy-based Generic Model Adaptation
     The generic mesh G is deformed to wrap O
     It is a energy minimization problem


  First, we have to explain these two energy measures
     Eg = Geometric Error
               Measures the quality of the wrapping
       Es = Smooth Error
               Measures the smoothness of the process

4/22/2012                   Facial Expression Recognition/Removal   9
Alignment –                            2nd         step
  Geometric error is measured:
     δ is the weight of landmarks
     xi ∈ PO   yi ∈ PG
     ti denotes the offset of yi and its pair xi
               It will be calculated by minimizing the total energy function

                                                                       Landmarks


                                                                       Rest of the points



4/22/2012                    Facial Expression Recognition/Removal                 10
Alignment –                    2nd         step
  Smoth error is measured:
     N(i) is the 1-ring neighbor at point i
     ti and tj denote the offset of points i and j




                                                             Landmarks


                                                             Rest of the points



4/22/2012            Facial Expression Recognition/Removal                11
Alignment –                           2nd         step
  The energy function
     λ (0 ≤ λ ≤ 1) is used as a tradeoff between the errors




       Taking in account both λ and δ, they define:
               A tradeoff between time-consuming and accuracy




4/22/2012                   Facial Expression Recognition/Removal   12
Alignment –                       2nd         step
  Algorithm:
     For each point yi ∈ PG
        If yi ∉ LG
           Find its nearest point xi ∈ PO
        Else
           Choose its corresponding point xi ∈ LO

     For each yi ∈ PG
        Calculate its offset ti by minimizing the energy function: E(λ,δ)
        Update the point: yi = yi + ti

     Compute the total root mean squared distance εk between PO and PG

     If εk < threshold
        Start again reducing value of λ and δ                    M is the
     Else                                                        aligned
        Obtain aligned 3D face: M = O                           3D model

4/22/2012               Facial Expression Recognition/Removal               13
Training – Building spaces
  Normal Space
     Properties of facial
      expressions

  Expression Residue Space
     Expression variations
      compared with their neutral
      faces

  Each point on the spaces
     stores one face sample

4/22/2012             Facial Expression Recognition/Removal   14
Training – Building spaces
  Normal space
     T represents the triangle set of M


       n = (nx,ny,nz) is a normal vector


       nj is the normal of a jth triangle on M


       C represents the normal space
               Is composed by all the normal vectors on T

4/22/2012                    Facial Expression Recognition/Removal   15
Training – Building spaces
  Expression residue space
     How a facial expression is understood?
               The difference between the expressional face and the neutral face
               Δ(Mexpresional ,Mneutral)

       This is stored as a combination of movements over each triangle on a
            neutral face model

       How each movement is encoded?
       5-tuple:
         azimuth angle
         elevation angle
         x translation
         y translation
         z translation



4/22/2012                        Facial Expression Recognition/Removal              16
Training – Relationship model
  We want to be able to:
  Infer the expression given a expressional face

  In order to do that we need:
  A Relationship Model that maps normal space and
     expression residue space.

  This process is not trivial:
     Dimension reduction of Normal Space
     Inferring Expression Residue


4/22/2012            Facial Expression Recognition/Removal   17
Training – Relationship model
  Dimension reduction of Normal Space
       Normal Space contains redundant and noisy information
       We will use Principal Component Analysis
                      ui represents the vector of the ith training sample
                      Cj represents the jth centralized geodesical coordinate
                        u1   u2   …    uN                                           S matrix
                                  …
                       C1    C1        C1
                       C2    C2        C2
                       C3    C3        C3
            U matrix




                       …     …         …
                       CK    CK        CK                  Covariance matrix
                                      KxN
                                                                                               KxK

4/22/2012                                   Facial Expression Recognition/Removal                    18
Training – Relationship model
  Dimension reduction of Normal Space
     Once we have the covariance matrix we perform Singular Value
      Decomposition (SVD) to obtain:
               Eigenvectors (v1, …, vN)
               Eigenvalues (λ1, …, λN), sorted from highest to lowest

       Selecting the most relevant eigenvectors
         P is the set of eigenvectors selected (v1, …, vV)
            
               ξ is a predefined threshold to avoid selecting too many eigenvectors

       Finally, we get the reduced normal space
            


4/22/2012                      Facial Expression Recognition/Removal                   19
Training – Relationship model
  Inference of Expressional Residue
     RBF regression stands for Radial Basis Functions
     They depend only on the distance from a point to the
      center




4/22/2012          Facial Expression Recognition/Removal     20
Training – Relationship model
  Inference of Expressional Residue
     RBF Networks use radial basis functions as activation
      functions




4/22/2012           Facial Expression Recognition/Removal     21
Training – Relationship model
  Inference of Expressional Residue
                                  RBF(1)
                 C1                                      sum(1)   e1
                 C2               RBF(2)
                                                         sum(2)   e2

                                                         sum(k)   ek
                 Cn               RBF(n)
       Inputs: centralized geodesical coordinates of reduced normal space.
        uiP = (C1, C2, …, Cn)
       The intermediate nodes compute a RBF that relate Ci to its neighborhood
       Outputs: value for each dimension of the expression space
       The weights matrix will be computed by least squares method



4/22/2012                Facial Expression Recognition/Removal                    22
Testing
  Given an expressional face…
     Infer the expression residue
     Subtract the expression residue
     Reconstruct the face
     Obtaing the neutral face


  Mathematical expression
    Mneu = Mexp – Δ(Mexp ,Mneu)                            M is the
                                                            aligned
                                                           3D model

4/22/2012          Facial Expression Recognition/Removal               23
Testing - Infering
  Being Cexp the normal representation of Mexp
  Let Φ(Cexp) be the result of RBF network to the new input
     Cexp

  Φ(Cexp) is the inference of Δ(Mexp ,Mneu)
    Δ(Mexp ,Mneu) ≅ Φ(Cexp)


  Final mathematical expression
     Mneu = Mexp – Φ(Cexp)

4/22/2012          Facial Expression Recognition/Removal       24
Testing - Reconstruction
  Having inferred the expression residue:
     We have a set of movements for each triangle on Mexp
     Applying them causes the mesh to be deformed




                        Poisson-based reconstruction



4/22/2012          Facial Expression Recognition/Removal     25
Experiments
      BU-3DFED (Binghamton University 3D Facial Expression
       Database)

      44 males 56 females
      Each made 6 different expressions and 1 neutral face
      Each expression had 4 levels of intensity

      Total number of face models = 700

4/22/2012           Facial Expression Recognition/Removal     26
Experiments
  The RMS (root mean square) is used to measure the
     performance between the two neutral face models




  Xi is a point on X and Yi is a point of Y which is the nearest
     to Xi
4/22/2012          Facial Expression Recognition/Removal            27
Experiments




4/22/2012   Facial Expression Recognition/Removal   28
Experiments - Results
  Anger




 Expressional face
                     Resulting neutral face
     of input
            True neutral face


4/22/2012               Facial Expression Recognition/Removal   29
Experiments - Results
  Disgust




  Fear




4/22/2012    Facial Expression Recognition/Removal   30
Experiments - Results
  Happiness




  Sadness




4/22/2012      Facial Expression Recognition/Removal   31
Experiments - Results
  Surprise




4/22/2012     Facial Expression Recognition/Removal   32
CVPR 2008


4/22/2012   Facial Expression Recognition/Removal               33
Introduction
  Expressions are dynamic
  Easier to recognize them by video than static images




4/22/2012         Facial Expression Recognition/Removal   34
Haar-like features
  Our “experts” from face detection
  Binary patterns that are convoluted with the images
   producing a single value result
  Each frame has many important haar-features




4/22/2012         Facial Expression Recognition/Removal   35
Clustering Temporal Patterns
  5 stages of an expression will be considered




  A clustering method will be used to classify the haar-
     features into the 5 stages



4/22/2012           Facial Expression Recognition/Removal   36
Clustering Temporal Patterns
  K-Means
     N → number of clusters
     N random vectors will be initialized, representing the center of
      the clusters

       For each point in the database:
         Which is the closest vector to me?
         That's the cluster I belong to!


       Recalculate cluster descriptor vectors: they must represent the
        mass-center of the points in the cluster
       Repeat until there's no more changes


4/22/2012                Facial Expression Recognition/Removal            37
Clustering Temporal Patterns




4/22/2012   Facial Expression Recognition/Removal   38
Building our Experts
  For representation purpose, a five-dimension vector is
   used for each haar-feature
  *0 0 0 1 0+ → the haar-feature belongs to the forth stage
   (middle+)




4/22/2012         Facial Expression Recognition/Removal        39
Building our Experts
  A normalized histogram is calculated, considering all the
   features in the sequence
  Ex for 7 features: [0 0 1/7 2/7 4/7]




4/22/2012          Facial Expression Recognition/Removal       40
Building our Experts
  We will convert the binary vector to decimal
    [ 0/7 0/7 1/7 2/7 4/7 ]
    = [ 1 2 4 8 16 ]
    = 0 + 0 + 4/7 + 16/7 + 64/7 = 84/7 = 12




4/22/2012         Facial Expression Recognition/Removal   41
Building our Experts
  An one-against-all approach is used
  “Is it a happy expression or not?”
     Other moods will work as negative examples




4/22/2012         Facial Expression Recognition/Removal   42
Building our Experts
  After repeating the clustering and summarizing process for all
     examples in database, we can produce a histogram of YES/NO
     to each expressions




  A threshold will define if a face represent that expression or
     not

4/22/2012           Facial Expression Recognition/Removal           43
Building our Experts
  That is one weak classifier
  The final strong classifier is build by Adaboost




4/22/2012          Facial Expression Recognition/Removal   44
Testing
  For a new sequence:
     Calculate the haar-features
     Cluster into stages
     Summarize (output a decimal)
     Compare this value with the threshold of each expression




4/22/2012          Facial Expression Recognition/Removal         45
Experiments
  Cohn-Kanade faces database
     100 students, from 18 to 30
     65% woman, 35% man
     15% african-american, 5% asian or latin
     Each performed 23 poses, including prototypical expressions


  In this work, they used 90 of those expressions (60 for training,
   30 for testing)
  Experiments were made with sequences of 7 and 9 frames


4/22/2012            Facial Expression Recognition/Removal          46
Experiments
  Compared with DBP (another method)
  ROC curve
     True positive rate x false positive rate (graph)




4/22/2012            Facial Expression Recognition/Removal   47
Experiments
  The value for comparison is the “area under the ROC curve”




4/22/2012          Facial Expression Recognition/Removal        48
Experiments




4/22/2012   Facial Expression Recognition/Removal   49
4/22/2012   Facial Expression Recognition/Removal   50
Poisson-based reconstruction
  We paste all the triangles together solving:
    AU = b


  Being:
     U the coordinates of the deformed mesh
     b the divergence of the gradient fields modified
     A a sparse matrix defined as:




4/22/2012           Facial Expression Recognition/Removal   51
RBF Regression




4/22/2012   Facial Expression Recognition/Removal   52

Weitere ähnliche Inhalte

Was ist angesagt?

Tro07 sparse-solutions-talk
Tro07 sparse-solutions-talkTro07 sparse-solutions-talk
Tro07 sparse-solutions-talkmpbchina
 
Identity Based Encryption
Identity Based EncryptionIdentity Based Encryption
Identity Based EncryptionPratik Poddar
 
addmaths-gantt-chart-f4-and-5
addmaths-gantt-chart-f4-and-5addmaths-gantt-chart-f4-and-5
addmaths-gantt-chart-f4-and-5suefee
 
Bouguet's MatLab Camera Calibration Toolbox for Stereo Camera
Bouguet's MatLab Camera Calibration Toolbox for Stereo CameraBouguet's MatLab Camera Calibration Toolbox for Stereo Camera
Bouguet's MatLab Camera Calibration Toolbox for Stereo CameraYuji Oyamada
 
A Decomposition-based Approach to Modeling and Understanding Arbitrary Shapes
A Decomposition-based Approach to Modeling and Understanding Arbitrary ShapesA Decomposition-based Approach to Modeling and Understanding Arbitrary Shapes
A Decomposition-based Approach to Modeling and Understanding Arbitrary ShapesDavid Canino
 
Solidmodelling
SolidmodellingSolidmodelling
SolidmodellingGopi Chand
 
Lambert Roadef 2008
Lambert Roadef 2008Lambert Roadef 2008
Lambert Roadef 2008lamberttony
 
Elaich module 5 exercise 5.b - Hands on materials
Elaich module 5 exercise 5.b - Hands on materialsElaich module 5 exercise 5.b - Hands on materials
Elaich module 5 exercise 5.b - Hands on materialselaich
 
956 Sukatan Pelajaran Matematik Lanjutan STPM (Baharu)
956 Sukatan Pelajaran Matematik Lanjutan STPM (Baharu)956 Sukatan Pelajaran Matematik Lanjutan STPM (Baharu)
956 Sukatan Pelajaran Matematik Lanjutan STPM (Baharu)RAMLAH BINTI A. RANI
 

Was ist angesagt? (12)

Tro07 sparse-solutions-talk
Tro07 sparse-solutions-talkTro07 sparse-solutions-talk
Tro07 sparse-solutions-talk
 
Identity Based Encryption
Identity Based EncryptionIdentity Based Encryption
Identity Based Encryption
 
addmaths-gantt-chart-f4-and-5
addmaths-gantt-chart-f4-and-5addmaths-gantt-chart-f4-and-5
addmaths-gantt-chart-f4-and-5
 
Bouguet's MatLab Camera Calibration Toolbox for Stereo Camera
Bouguet's MatLab Camera Calibration Toolbox for Stereo CameraBouguet's MatLab Camera Calibration Toolbox for Stereo Camera
Bouguet's MatLab Camera Calibration Toolbox for Stereo Camera
 
A Decomposition-based Approach to Modeling and Understanding Arbitrary Shapes
A Decomposition-based Approach to Modeling and Understanding Arbitrary ShapesA Decomposition-based Approach to Modeling and Understanding Arbitrary Shapes
A Decomposition-based Approach to Modeling and Understanding Arbitrary Shapes
 
Solidmodelling
SolidmodellingSolidmodelling
Solidmodelling
 
Lambert Roadef 2008
Lambert Roadef 2008Lambert Roadef 2008
Lambert Roadef 2008
 
443 449
443 449443 449
443 449
 
Elaich module 5 exercise 5.b - Hands on materials
Elaich module 5 exercise 5.b - Hands on materialsElaich module 5 exercise 5.b - Hands on materials
Elaich module 5 exercise 5.b - Hands on materials
 
B.V. Gnedenko anniversary
B.V. Gnedenko anniversaryB.V. Gnedenko anniversary
B.V. Gnedenko anniversary
 
2012 december 7 yonsei
2012 december 7 yonsei2012 december 7 yonsei
2012 december 7 yonsei
 
956 Sukatan Pelajaran Matematik Lanjutan STPM (Baharu)
956 Sukatan Pelajaran Matematik Lanjutan STPM (Baharu)956 Sukatan Pelajaran Matematik Lanjutan STPM (Baharu)
956 Sukatan Pelajaran Matematik Lanjutan STPM (Baharu)
 

Andere mochten auch

Facial expression
Facial expressionFacial expression
Facial expression17791
 
Facial expression pictures
Facial expression picturesFacial expression pictures
Facial expression picturesFelsy Sepulveda
 
Facial expression recognition based on local binary patterns final
Facial expression recognition based on local binary patterns finalFacial expression recognition based on local binary patterns final
Facial expression recognition based on local binary patterns finalahmad abdelhafeez
 
Applications of Emotions Recognition
Applications of Emotions RecognitionApplications of Emotions Recognition
Applications of Emotions RecognitionFrancesco Bonadiman
 
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 ...أحلام انصارى
 
Frozen groupwork Let it go Elsa's facial expression and feelings
Frozen groupwork Let it go Elsa's facial expression and feelingsFrozen groupwork Let it go Elsa's facial expression and feelings
Frozen groupwork Let it go Elsa's facial expression and feelingsGiorgia Magnani
 
Facial expressionclass barca
Facial expressionclass barcaFacial expressionclass barca
Facial expressionclass barcaVivek Sharma
 
Robust real time object detection
Robust real time object detectionRobust real time object detection
Robust real time object detectionErliyah Jannah
 
C:\Fakepath\Facial Expression
C:\Fakepath\Facial ExpressionC:\Fakepath\Facial Expression
C:\Fakepath\Facial ExpressionHonest Heart
 
Haar like feature
Haar like featureHaar like feature
Haar like featureczech0923
 
Deformable Facial Models and 3D Face Reconstruction Methods: A survey
Deformable Facial Models and 3D Face Reconstruction Methods: A surveyDeformable Facial Models and 3D Face Reconstruction Methods: A survey
Deformable Facial Models and 3D Face Reconstruction Methods: A surveyLakshmi Sarvani Videla
 
"Introduction to Feature Descriptors in Vision: From Haar to SIFT," A Present...
"Introduction to Feature Descriptors in Vision: From Haar to SIFT," A Present..."Introduction to Feature Descriptors in Vision: From Haar to SIFT," A Present...
"Introduction to Feature Descriptors in Vision: From Haar to SIFT," A Present...Edge AI and Vision Alliance
 
Facial expression recognition based on image feature
Facial expression recognition based on image featureFacial expression recognition based on image feature
Facial expression recognition based on image featureTasnim Tara
 
3D Dynamic Facial Sequences Analsysis for face recognition and emotion detection
3D Dynamic Facial Sequences Analsysis for face recognition and emotion detection3D Dynamic Facial Sequences Analsysis for face recognition and emotion detection
3D Dynamic Facial Sequences Analsysis for face recognition and emotion detectionTaleb ALASHKAR
 
Face Recognition with OpenCV and scikit-learn
Face Recognition with OpenCV and scikit-learnFace Recognition with OpenCV and scikit-learn
Face Recognition with OpenCV and scikit-learnShiqiao Du
 
Introduction to OpenCV (with Java)
Introduction to OpenCV (with Java)Introduction to OpenCV (with Java)
Introduction to OpenCV (with Java)Luigi De Russis
 

Andere mochten auch (20)

Facial expression
Facial expressionFacial expression
Facial expression
 
Facial expression pictures
Facial expression picturesFacial expression pictures
Facial expression pictures
 
Facial expressions
Facial expressionsFacial expressions
Facial expressions
 
Facial expression recognition based on local binary patterns final
Facial expression recognition based on local binary patterns finalFacial expression recognition based on local binary patterns final
Facial expression recognition based on local binary patterns final
 
Applications of Emotions Recognition
Applications of Emotions RecognitionApplications of Emotions Recognition
Applications of Emotions Recognition
 
Facial Expressions
Facial ExpressionsFacial Expressions
Facial Expressions
 
iFace Facial Expression
iFace Facial ExpressioniFace Facial Expression
iFace Facial Expression
 
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 ...
 
Frozen groupwork Let it go Elsa's facial expression and feelings
Frozen groupwork Let it go Elsa's facial expression and feelingsFrozen groupwork Let it go Elsa's facial expression and feelings
Frozen groupwork Let it go Elsa's facial expression and feelings
 
Facial expressionclass barca
Facial expressionclass barcaFacial expressionclass barca
Facial expressionclass barca
 
Robust real time object detection
Robust real time object detectionRobust real time object detection
Robust real time object detection
 
C:\Fakepath\Facial Expression
C:\Fakepath\Facial ExpressionC:\Fakepath\Facial Expression
C:\Fakepath\Facial Expression
 
Haar like feature
Haar like featureHaar like feature
Haar like feature
 
Deformable Facial Models and 3D Face Reconstruction Methods: A survey
Deformable Facial Models and 3D Face Reconstruction Methods: A surveyDeformable Facial Models and 3D Face Reconstruction Methods: A survey
Deformable Facial Models and 3D Face Reconstruction Methods: A survey
 
"Introduction to Feature Descriptors in Vision: From Haar to SIFT," A Present...
"Introduction to Feature Descriptors in Vision: From Haar to SIFT," A Present..."Introduction to Feature Descriptors in Vision: From Haar to SIFT," A Present...
"Introduction to Feature Descriptors in Vision: From Haar to SIFT," A Present...
 
Facial expression recognition based on image feature
Facial expression recognition based on image featureFacial expression recognition based on image feature
Facial expression recognition based on image feature
 
Facial expression
Facial expressionFacial expression
Facial expression
 
3D Dynamic Facial Sequences Analsysis for face recognition and emotion detection
3D Dynamic Facial Sequences Analsysis for face recognition and emotion detection3D Dynamic Facial Sequences Analsysis for face recognition and emotion detection
3D Dynamic Facial Sequences Analsysis for face recognition and emotion detection
 
Face Recognition with OpenCV and scikit-learn
Face Recognition with OpenCV and scikit-learnFace Recognition with OpenCV and scikit-learn
Face Recognition with OpenCV and scikit-learn
 
Introduction to OpenCV (with Java)
Introduction to OpenCV (with Java)Introduction to OpenCV (with Java)
Introduction to OpenCV (with Java)
 

Ähnlich wie Facial Expression Recognition / Removal

Practical computation of Hecke operators
Practical computation of Hecke operatorsPractical computation of Hecke operators
Practical computation of Hecke operatorsMathieu Dutour Sikiric
 
Introduction to Common Spatial Pattern Filters for EEG Motor Imagery Classifi...
Introduction to Common Spatial Pattern Filters for EEG Motor Imagery Classifi...Introduction to Common Spatial Pattern Filters for EEG Motor Imagery Classifi...
Introduction to Common Spatial Pattern Filters for EEG Motor Imagery Classifi...Tatsuya Yokota
 
Modeling Physical Systems with Modern Object Oriented Perl
Modeling Physical Systems with Modern Object Oriented PerlModeling Physical Systems with Modern Object Oriented Perl
Modeling Physical Systems with Modern Object Oriented PerlJoel Berger
 
Fingerprint High Level Classification
Fingerprint High Level ClassificationFingerprint High Level Classification
Fingerprint High Level ClassificationReza Rahimi
 
High-order Finite Elements for Computational Physics
High-order Finite Elements for Computational PhysicsHigh-order Finite Elements for Computational Physics
High-order Finite Elements for Computational PhysicsRobert Rieben
 
7 - Model Assessment and Selection
7 - Model Assessment and Selection7 - Model Assessment and Selection
7 - Model Assessment and SelectionNikita Zhiltsov
 
Tools for Modeling and Analysis of Non-manifold Shapes
Tools for Modeling and Analysis of Non-manifold ShapesTools for Modeling and Analysis of Non-manifold Shapes
Tools for Modeling and Analysis of Non-manifold ShapesDavid Canino
 
C&s sparse june_2010
C&s sparse june_2010C&s sparse june_2010
C&s sparse june_2010mpbchina
 
Binary Symbol Recognition from Local Dissimilarity Map
Binary Symbol Recognition from Local Dissimilarity MapBinary Symbol Recognition from Local Dissimilarity Map
Binary Symbol Recognition from Local Dissimilarity MapFrédéric Morain-Nicolier
 
Analytic construction of points on modular elliptic curves
Analytic construction of points on modular elliptic curvesAnalytic construction of points on modular elliptic curves
Analytic construction of points on modular elliptic curvesmmasdeu
 
Phong Shading over any Polygonal Surface
Phong Shading over any Polygonal Surface Phong Shading over any Polygonal Surface
Phong Shading over any Polygonal Surface Bhuvnesh Pratap
 
Relative squared distances to a conic
Relative squared distances to a conic Relative squared distances to a conic
Relative squared distances to a conic ijcga
 
Two marks with answers ME6501 CAD
Two marks with answers ME6501 CADTwo marks with answers ME6501 CAD
Two marks with answers ME6501 CADPriscilla CPG
 
Fundamentals of Finite Difference Methods
Fundamentals of Finite Difference MethodsFundamentals of Finite Difference Methods
Fundamentals of Finite Difference Methods1rj
 
Chapter 3 projection
Chapter 3 projectionChapter 3 projection
Chapter 3 projectionNBER
 
Image formation
Image formationImage formation
Image formationpotaters
 
Marjanović, M: Advanced Landslide Assessment of the Halenkovice Experimental ...
Marjanović, M: Advanced Landslide Assessment of the Halenkovice Experimental ...Marjanović, M: Advanced Landslide Assessment of the Halenkovice Experimental ...
Marjanović, M: Advanced Landslide Assessment of the Halenkovice Experimental ...indogpr
 

Ähnlich wie Facial Expression Recognition / Removal (20)

Practical computation of Hecke operators
Practical computation of Hecke operatorsPractical computation of Hecke operators
Practical computation of Hecke operators
 
Introduction to Common Spatial Pattern Filters for EEG Motor Imagery Classifi...
Introduction to Common Spatial Pattern Filters for EEG Motor Imagery Classifi...Introduction to Common Spatial Pattern Filters for EEG Motor Imagery Classifi...
Introduction to Common Spatial Pattern Filters for EEG Motor Imagery Classifi...
 
Modeling Physical Systems with Modern Object Oriented Perl
Modeling Physical Systems with Modern Object Oriented PerlModeling Physical Systems with Modern Object Oriented Perl
Modeling Physical Systems with Modern Object Oriented Perl
 
Fingerprint High Level Classification
Fingerprint High Level ClassificationFingerprint High Level Classification
Fingerprint High Level Classification
 
i2ml-chap5-v1-1.ppt
i2ml-chap5-v1-1.ppti2ml-chap5-v1-1.ppt
i2ml-chap5-v1-1.ppt
 
Face recognition using PCA
Face recognition using PCAFace recognition using PCA
Face recognition using PCA
 
High-order Finite Elements for Computational Physics
High-order Finite Elements for Computational PhysicsHigh-order Finite Elements for Computational Physics
High-order Finite Elements for Computational Physics
 
7 - Model Assessment and Selection
7 - Model Assessment and Selection7 - Model Assessment and Selection
7 - Model Assessment and Selection
 
Tools for Modeling and Analysis of Non-manifold Shapes
Tools for Modeling and Analysis of Non-manifold ShapesTools for Modeling and Analysis of Non-manifold Shapes
Tools for Modeling and Analysis of Non-manifold Shapes
 
C&s sparse june_2010
C&s sparse june_2010C&s sparse june_2010
C&s sparse june_2010
 
Binary Symbol Recognition from Local Dissimilarity Map
Binary Symbol Recognition from Local Dissimilarity MapBinary Symbol Recognition from Local Dissimilarity Map
Binary Symbol Recognition from Local Dissimilarity Map
 
Analytic construction of points on modular elliptic curves
Analytic construction of points on modular elliptic curvesAnalytic construction of points on modular elliptic curves
Analytic construction of points on modular elliptic curves
 
Phong Shading over any Polygonal Surface
Phong Shading over any Polygonal Surface Phong Shading over any Polygonal Surface
Phong Shading over any Polygonal Surface
 
Light effect
Light effectLight effect
Light effect
 
Relative squared distances to a conic
Relative squared distances to a conic Relative squared distances to a conic
Relative squared distances to a conic
 
Two marks with answers ME6501 CAD
Two marks with answers ME6501 CADTwo marks with answers ME6501 CAD
Two marks with answers ME6501 CAD
 
Fundamentals of Finite Difference Methods
Fundamentals of Finite Difference MethodsFundamentals of Finite Difference Methods
Fundamentals of Finite Difference Methods
 
Chapter 3 projection
Chapter 3 projectionChapter 3 projection
Chapter 3 projection
 
Image formation
Image formationImage formation
Image formation
 
Marjanović, M: Advanced Landslide Assessment of the Halenkovice Experimental ...
Marjanović, M: Advanced Landslide Assessment of the Halenkovice Experimental ...Marjanović, M: Advanced Landslide Assessment of the Halenkovice Experimental ...
Marjanović, M: Advanced Landslide Assessment of the Halenkovice Experimental ...
 

Mehr von Rafael Dahis

Programação Para Quem Faz Humanas
Programação Para Quem Faz HumanasProgramação Para Quem Faz Humanas
Programação Para Quem Faz HumanasRafael Dahis
 
quero ser um Growth Hacker
quero ser um Growth Hackerquero ser um Growth Hacker
quero ser um Growth HackerRafael Dahis
 
Então você quer um produto viral?
Então você quer um produto viral?Então você quer um produto viral?
Então você quer um produto viral?Rafael Dahis
 
Startup Metrics for Dummy Pirates
Startup Metrics for Dummy PiratesStartup Metrics for Dummy Pirates
Startup Metrics for Dummy PiratesRafael Dahis
 
Pensando Produto: de Ford a Facebook
Pensando Produto: de Ford a FacebookPensando Produto: de Ford a Facebook
Pensando Produto: de Ford a FacebookRafael Dahis
 
Métricas para Startups
Métricas para StartupsMétricas para Startups
Métricas para StartupsRafael Dahis
 
Então você quer um produto VIRAL?
Então você quer um produto VIRAL?Então você quer um produto VIRAL?
Então você quer um produto VIRAL?Rafael Dahis
 
CarrascoMamata: 10.000 users em 24 horas.
CarrascoMamata: 10.000 users em 24 horas.CarrascoMamata: 10.000 users em 24 horas.
CarrascoMamata: 10.000 users em 24 horas.Rafael Dahis
 
Web Startups e Aprendizado
Web Startups e AprendizadoWeb Startups e Aprendizado
Web Startups e AprendizadoRafael Dahis
 
Redes Sociais Complexas: Detecção de estruturas e comunidades
Redes Sociais Complexas: Detecção de estruturas e comunidadesRedes Sociais Complexas: Detecção de estruturas e comunidades
Redes Sociais Complexas: Detecção de estruturas e comunidadesRafael Dahis
 
Redes Complexas (2009)
Redes Complexas (2009)Redes Complexas (2009)
Redes Complexas (2009)Rafael Dahis
 

Mehr von Rafael Dahis (13)

Programação Para Quem Faz Humanas
Programação Para Quem Faz HumanasProgramação Para Quem Faz Humanas
Programação Para Quem Faz Humanas
 
quero ser um Growth Hacker
quero ser um Growth Hackerquero ser um Growth Hacker
quero ser um Growth Hacker
 
Então você quer um produto viral?
Então você quer um produto viral?Então você quer um produto viral?
Então você quer um produto viral?
 
Startup Metrics for Dummy Pirates
Startup Metrics for Dummy PiratesStartup Metrics for Dummy Pirates
Startup Metrics for Dummy Pirates
 
Pensando Produto: de Ford a Facebook
Pensando Produto: de Ford a FacebookPensando Produto: de Ford a Facebook
Pensando Produto: de Ford a Facebook
 
Métricas para Startups
Métricas para StartupsMétricas para Startups
Métricas para Startups
 
Então você quer um produto VIRAL?
Então você quer um produto VIRAL?Então você quer um produto VIRAL?
Então você quer um produto VIRAL?
 
CarrascoMamata: 10.000 users em 24 horas.
CarrascoMamata: 10.000 users em 24 horas.CarrascoMamata: 10.000 users em 24 horas.
CarrascoMamata: 10.000 users em 24 horas.
 
Web Startups e Aprendizado
Web Startups e AprendizadoWeb Startups e Aprendizado
Web Startups e Aprendizado
 
Apple - Marketing
Apple - MarketingApple - Marketing
Apple - Marketing
 
TweetMeToo (2010)
TweetMeToo (2010)TweetMeToo (2010)
TweetMeToo (2010)
 
Redes Sociais Complexas: Detecção de estruturas e comunidades
Redes Sociais Complexas: Detecção de estruturas e comunidadesRedes Sociais Complexas: Detecção de estruturas e comunidades
Redes Sociais Complexas: Detecção de estruturas e comunidades
 
Redes Complexas (2009)
Redes Complexas (2009)Redes Complexas (2009)
Redes Complexas (2009)
 

Kürzlich hochgeladen

TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 

Kürzlich hochgeladen (20)

TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 

Facial Expression Recognition / Removal

  • 1. Facial Expression Recognition/Removal Robot Vision CAP4453 Alejandro Avilés Rafael Dahis
  • 2. CVPR 2010 Facial Expression Recognition/Removal 2
  • 3. Introduction  What is our goal?  Obtain a neutral face 3D model from an expressional face 3D model  How can we achieve this?  Learning how to infer the expression  Subtracting the expression 4/22/2012 Facial Expression Recognition/Removal 3
  • 4. Motivations  3D Facial expression removal benefits…  Performance of 3D face recognition  Improve 3D gender classification methods  Analyzing complex expressions  Face synthesis 4/22/2012 Facial Expression Recognition/Removal 4
  • 5. Background  This is probably the first attempt in 3D removal…  Comparing it to 3D face synthesis as its opposite process  Interpolation-based  Muscle-based  Example-based 4/22/2012 Facial Expression Recognition/Removal 5
  • 6. Framework  Steps  Alignment  Training  Building spaces  Learning  Testing  Subtract expression  Reconstruction 4/22/2012 Facial Expression Recognition/Removal 6
  • 7. Alignment  We need to adapt the input to a generic 3D model  Why?  Input faces are irregular and posture-variant  They would be difficult to map  Input = A cloud of points  Generic model = Triangle mesh  How can we obtain a normalized mesh?  Fitting the cloud of points to a generic model 4/22/2012 Facial Expression Recognition/Removal 7
  • 8. Alignment – 1st step  Landmark-constrained Rigid Adjustment  We adjust the posture of O towards G  Landmarks to constrain the fitting  Iterative Closest Point Creating pairs between both sets Original Generic For each point xi ∈ PO If xi ∈ LO Model O G Find corresponding landmark yi ∈ LG Point set PO PG Else Find nearest point yi ∈ PG Landmark set LO LG 4/22/2012 Facial Expression Recognition/Removal 8
  • 9. Alignment – 2nd step  Energy-based Generic Model Adaptation  The generic mesh G is deformed to wrap O  It is a energy minimization problem  First, we have to explain these two energy measures  Eg = Geometric Error  Measures the quality of the wrapping  Es = Smooth Error  Measures the smoothness of the process 4/22/2012 Facial Expression Recognition/Removal 9
  • 10. Alignment – 2nd step  Geometric error is measured:  δ is the weight of landmarks  xi ∈ PO yi ∈ PG  ti denotes the offset of yi and its pair xi  It will be calculated by minimizing the total energy function Landmarks Rest of the points 4/22/2012 Facial Expression Recognition/Removal 10
  • 11. Alignment – 2nd step  Smoth error is measured:  N(i) is the 1-ring neighbor at point i  ti and tj denote the offset of points i and j Landmarks Rest of the points 4/22/2012 Facial Expression Recognition/Removal 11
  • 12. Alignment – 2nd step  The energy function  λ (0 ≤ λ ≤ 1) is used as a tradeoff between the errors  Taking in account both λ and δ, they define:  A tradeoff between time-consuming and accuracy 4/22/2012 Facial Expression Recognition/Removal 12
  • 13. Alignment – 2nd step  Algorithm: For each point yi ∈ PG If yi ∉ LG Find its nearest point xi ∈ PO Else Choose its corresponding point xi ∈ LO For each yi ∈ PG Calculate its offset ti by minimizing the energy function: E(λ,δ) Update the point: yi = yi + ti Compute the total root mean squared distance εk between PO and PG If εk < threshold Start again reducing value of λ and δ M is the Else aligned Obtain aligned 3D face: M = O 3D model 4/22/2012 Facial Expression Recognition/Removal 13
  • 14. Training – Building spaces  Normal Space  Properties of facial expressions  Expression Residue Space  Expression variations compared with their neutral faces  Each point on the spaces stores one face sample 4/22/2012 Facial Expression Recognition/Removal 14
  • 15. Training – Building spaces  Normal space  T represents the triangle set of M  n = (nx,ny,nz) is a normal vector  nj is the normal of a jth triangle on M  C represents the normal space  Is composed by all the normal vectors on T 4/22/2012 Facial Expression Recognition/Removal 15
  • 16. Training – Building spaces  Expression residue space  How a facial expression is understood?  The difference between the expressional face and the neutral face  Δ(Mexpresional ,Mneutral)  This is stored as a combination of movements over each triangle on a neutral face model  How each movement is encoded?  5-tuple:  azimuth angle  elevation angle  x translation  y translation  z translation 4/22/2012 Facial Expression Recognition/Removal 16
  • 17. Training – Relationship model  We want to be able to:  Infer the expression given a expressional face  In order to do that we need:  A Relationship Model that maps normal space and expression residue space.  This process is not trivial:  Dimension reduction of Normal Space  Inferring Expression Residue 4/22/2012 Facial Expression Recognition/Removal 17
  • 18. Training – Relationship model  Dimension reduction of Normal Space  Normal Space contains redundant and noisy information  We will use Principal Component Analysis  ui represents the vector of the ith training sample  Cj represents the jth centralized geodesical coordinate u1 u2 … uN S matrix … C1 C1 C1 C2 C2 C2 C3 C3 C3 U matrix … … … CK CK CK Covariance matrix KxN KxK 4/22/2012 Facial Expression Recognition/Removal 18
  • 19. Training – Relationship model  Dimension reduction of Normal Space  Once we have the covariance matrix we perform Singular Value Decomposition (SVD) to obtain:  Eigenvectors (v1, …, vN)  Eigenvalues (λ1, …, λN), sorted from highest to lowest  Selecting the most relevant eigenvectors  P is the set of eigenvectors selected (v1, …, vV)   ξ is a predefined threshold to avoid selecting too many eigenvectors  Finally, we get the reduced normal space  4/22/2012 Facial Expression Recognition/Removal 19
  • 20. Training – Relationship model  Inference of Expressional Residue  RBF regression stands for Radial Basis Functions  They depend only on the distance from a point to the center 4/22/2012 Facial Expression Recognition/Removal 20
  • 21. Training – Relationship model  Inference of Expressional Residue  RBF Networks use radial basis functions as activation functions 4/22/2012 Facial Expression Recognition/Removal 21
  • 22. Training – Relationship model  Inference of Expressional Residue RBF(1) C1 sum(1) e1 C2 RBF(2) sum(2) e2 sum(k) ek Cn RBF(n)  Inputs: centralized geodesical coordinates of reduced normal space. uiP = (C1, C2, …, Cn)  The intermediate nodes compute a RBF that relate Ci to its neighborhood  Outputs: value for each dimension of the expression space  The weights matrix will be computed by least squares method 4/22/2012 Facial Expression Recognition/Removal 22
  • 23. Testing  Given an expressional face…  Infer the expression residue  Subtract the expression residue  Reconstruct the face  Obtaing the neutral face  Mathematical expression  Mneu = Mexp – Δ(Mexp ,Mneu) M is the aligned 3D model 4/22/2012 Facial Expression Recognition/Removal 23
  • 24. Testing - Infering  Being Cexp the normal representation of Mexp  Let Φ(Cexp) be the result of RBF network to the new input Cexp  Φ(Cexp) is the inference of Δ(Mexp ,Mneu)  Δ(Mexp ,Mneu) ≅ Φ(Cexp)  Final mathematical expression  Mneu = Mexp – Φ(Cexp) 4/22/2012 Facial Expression Recognition/Removal 24
  • 25. Testing - Reconstruction  Having inferred the expression residue:  We have a set of movements for each triangle on Mexp  Applying them causes the mesh to be deformed Poisson-based reconstruction 4/22/2012 Facial Expression Recognition/Removal 25
  • 26. Experiments  BU-3DFED (Binghamton University 3D Facial Expression Database)  44 males 56 females  Each made 6 different expressions and 1 neutral face  Each expression had 4 levels of intensity  Total number of face models = 700 4/22/2012 Facial Expression Recognition/Removal 26
  • 27. Experiments  The RMS (root mean square) is used to measure the performance between the two neutral face models  Xi is a point on X and Yi is a point of Y which is the nearest to Xi 4/22/2012 Facial Expression Recognition/Removal 27
  • 28. Experiments 4/22/2012 Facial Expression Recognition/Removal 28
  • 29. Experiments - Results  Anger Expressional face Resulting neutral face of input True neutral face 4/22/2012 Facial Expression Recognition/Removal 29
  • 30. Experiments - Results  Disgust  Fear 4/22/2012 Facial Expression Recognition/Removal 30
  • 31. Experiments - Results  Happiness  Sadness 4/22/2012 Facial Expression Recognition/Removal 31
  • 32. Experiments - Results  Surprise 4/22/2012 Facial Expression Recognition/Removal 32
  • 33. CVPR 2008 4/22/2012 Facial Expression Recognition/Removal 33
  • 34. Introduction  Expressions are dynamic  Easier to recognize them by video than static images 4/22/2012 Facial Expression Recognition/Removal 34
  • 35. Haar-like features  Our “experts” from face detection  Binary patterns that are convoluted with the images producing a single value result  Each frame has many important haar-features 4/22/2012 Facial Expression Recognition/Removal 35
  • 36. Clustering Temporal Patterns  5 stages of an expression will be considered  A clustering method will be used to classify the haar- features into the 5 stages 4/22/2012 Facial Expression Recognition/Removal 36
  • 37. Clustering Temporal Patterns  K-Means  N → number of clusters  N random vectors will be initialized, representing the center of the clusters  For each point in the database:  Which is the closest vector to me?  That's the cluster I belong to!  Recalculate cluster descriptor vectors: they must represent the mass-center of the points in the cluster  Repeat until there's no more changes 4/22/2012 Facial Expression Recognition/Removal 37
  • 38. Clustering Temporal Patterns 4/22/2012 Facial Expression Recognition/Removal 38
  • 39. Building our Experts  For representation purpose, a five-dimension vector is used for each haar-feature  *0 0 0 1 0+ → the haar-feature belongs to the forth stage (middle+) 4/22/2012 Facial Expression Recognition/Removal 39
  • 40. Building our Experts  A normalized histogram is calculated, considering all the features in the sequence  Ex for 7 features: [0 0 1/7 2/7 4/7] 4/22/2012 Facial Expression Recognition/Removal 40
  • 41. Building our Experts  We will convert the binary vector to decimal [ 0/7 0/7 1/7 2/7 4/7 ] = [ 1 2 4 8 16 ] = 0 + 0 + 4/7 + 16/7 + 64/7 = 84/7 = 12 4/22/2012 Facial Expression Recognition/Removal 41
  • 42. Building our Experts  An one-against-all approach is used  “Is it a happy expression or not?”  Other moods will work as negative examples 4/22/2012 Facial Expression Recognition/Removal 42
  • 43. Building our Experts  After repeating the clustering and summarizing process for all examples in database, we can produce a histogram of YES/NO to each expressions  A threshold will define if a face represent that expression or not 4/22/2012 Facial Expression Recognition/Removal 43
  • 44. Building our Experts  That is one weak classifier  The final strong classifier is build by Adaboost 4/22/2012 Facial Expression Recognition/Removal 44
  • 45. Testing  For a new sequence:  Calculate the haar-features  Cluster into stages  Summarize (output a decimal)  Compare this value with the threshold of each expression 4/22/2012 Facial Expression Recognition/Removal 45
  • 46. Experiments  Cohn-Kanade faces database  100 students, from 18 to 30  65% woman, 35% man  15% african-american, 5% asian or latin  Each performed 23 poses, including prototypical expressions  In this work, they used 90 of those expressions (60 for training, 30 for testing)  Experiments were made with sequences of 7 and 9 frames 4/22/2012 Facial Expression Recognition/Removal 46
  • 47. Experiments  Compared with DBP (another method)  ROC curve  True positive rate x false positive rate (graph) 4/22/2012 Facial Expression Recognition/Removal 47
  • 48. Experiments  The value for comparison is the “area under the ROC curve” 4/22/2012 Facial Expression Recognition/Removal 48
  • 49. Experiments 4/22/2012 Facial Expression Recognition/Removal 49
  • 50. 4/22/2012 Facial Expression Recognition/Removal 50
  • 51. Poisson-based reconstruction  We paste all the triangles together solving:  AU = b  Being:  U the coordinates of the deformed mesh  b the divergence of the gradient fields modified  A a sparse matrix defined as: 4/22/2012 Facial Expression Recognition/Removal 51
  • 52. RBF Regression 4/22/2012 Facial Expression Recognition/Removal 52