Recognition - PowerPoint PPT Presentation

About This Presentation
Title:

Recognition

Description:

One possibility: look for something that looks sort of like a face (oval, dark ... Analysis (PCA): approximating a high-dimensional data set with a lower ... – PowerPoint PPT presentation

Number of Views:27
Avg rating:3.0/5.0
Slides: 21
Provided by: szymonrus
Category:

less

Transcript and Presenter's Notes

Title: Recognition


1
Recognition PCA and Templates

2
Recognition
  • Suppose you want to find a face in an image
  • One possibility look for something that looks
    sort of like a face (oval, dark band near top,
    dark band near bottom)
  • Another possibility look for pieces of faces
    (eyes, mouth, etc.) in a specific arrangement

3
Recognition
  • Suppose you want to recognize aparticular face
  • How does this face differ from average face

4
Templates
  • Model of a generic or average face
  • Learn templates from example data
  • For each location in image, look for template at
    that location
  • Optionally also search over scale, orientation

5
Templates
  • In the simplest case, based on intensity
  • Template is average of all faces in training set
  • Comparison based on e.g. SSD
  • More complex templates
  • Outputs of feature detectors
  • Color histograms
  • Often combine position and frequency information
    (wavelets)

6
Face Detection Results
WaveletHistogramTemplate
7
More Face Detection Results
Schneiderman and Kanade
8
How to Recognize Specific People?
  • Consider variation from average face
  • Not all variations equally important
  • Variation in a single pixel relatively
    unimportant
  • If image is high-dimensional vector, want to find
    directions in this space along which variation is
    high

9
Principal Components Analaysis
  • Principal Components Analysis (PCA)
    approximating a high-dimensional data set with a
    lower-dimensional subspace

Original axes
10
Principal Components
  • Computing PCA
  • Subtract out mean (whitening)
  • Find eigenvalues of covariance matrix
  • Equivalently, compute SVD of data matrix

11
PCA on Faces Eigenfaces
First principal component
Averageface
Othercomponents
For all except average,gray 0,white gt
0, black lt 0
12
Using PCA for Recognition
  • Store each person as coefficients of projection
    onto first few principal components
  • Compute projections of target image, compare to
    database

13
Recognition UsingRelations Between Templates
  • Often easier to recognize a small feature
  • e.g., lips easier to recognize than faces
  • For articulated objects (e.g. people), template
    for whole class usually complicated
  • So, identify small pieces and look for spatial
    arrangements
  • Many false positives from identifying pieces

14
Graph Matching
Head
Head
Arm
Leg
Arm
Body
Arm
Arm
Body
Leg
Body
Head
Leg
Leg
Leg
Leg
Model
Feature detection results
15
Graph Matching
Head
Arm
Body
Arm
Next to, right of
Next to, below
Leg
Leg
Constraints
16
Graph Matching
Head
Head
Arm
Leg
Arm
Body
Arm
Arm
Body
Leg
Body
Head
Leg
Leg
Leg
Leg
Combinatorial search
17
Graph Matching
Head
Head
Arm
Leg
Arm
Body
Arm
Arm
Body
Leg
Body
Head
OK
Leg
Leg
Leg
Leg
Combinatorial search
18
Graph Matching
Head
Head
Arm
Leg
Arm
Body
Arm
Arm
Body
Already assigned
Leg
Body
Head
Leg
Leg
Leg
Leg
Combinatorial search
19
Graph Matching
Head
Head
Arm
Leg
Arm
Body
Arm
Violatesconstraint
Arm
Body
Leg
Body
Head
Leg
Leg
Leg
Leg
Combinatorial search
20
Graph Matching
  • Large search space
  • Heuristics for pruning
  • Missing features
  • Look for maximal consistent assignment
  • Noise, spurious features
  • Incomplete constraints
  • Verification step at end
Write a Comment
User Comments (0)
About PowerShow.com