Recognition: Face Recognition. Linda Shapiro EE/CSE 576

Similar documents
Face/Flesh Detection and Face Recognition

Verification: is that a lamp? What do we mean by recognition? Recognition. Recognition

What do we mean by recognition?

Last week. Multi-Frame Structure from Motion: Multi-View Stereo. Unknown camera viewpoints

3D Models and Matching

Understanding Faces. Detection, Recognition, and. Transformation of Faces 12/5/17

Face Modeling. Portrait of Piotr Gibas Joaquin Rosales Gomez

Data-driven Methods: Faces. Portrait of Piotr Gibas Joaquin Rosales Gomez

Face detection and recognition. Many slides adapted from K. Grauman and D. Lowe

Recognition problems. Face Recognition and Detection. Readings. What is recognition?

Visual Learning and Recognition of 3D Objects from Appearance

CSE 481C Imitation Learning in Humanoid Robots Motion capture, inverse kinematics, and dimensionality reduction

Specific Object Recognition: Matching in 2D

Data-driven Methods: Faces. Portrait of Piotr Gibas Joaquin Rosales Gomez (2003)

Announcements. Recognition I. Gradient Space (p,q) What is the reflectance map?

Applications Video Surveillance (On-line or off-line)

Recognition, SVD, and PCA

Face detection and recognition. Detection Recognition Sally

Dimension Reduction CS534

Data-driven Methods: Faces. Portrait of Piotr Gibas Joaquin Rosales Gomez (2003)

Face Recognition using Eigenfaces SMAI Course Project

CHAPTER 3 PRINCIPAL COMPONENT ANALYSIS AND FISHER LINEAR DISCRIMINANT ANALYSIS

22 October, 2012 MVA ENS Cachan. Lecture 5: Introduction to generative models Iasonas Kokkinos

Robust Face Recognition via Sparse Representation Authors: John Wright, Allen Y. Yang, Arvind Ganesh, S. Shankar Sastry, and Yi Ma

NAME: Sample Final Exam (based on previous CSE 455 exams by Profs. Seitz and Shapiro)

Unsupervised Learning

Image Morphing. Application: Movie Special Effects. Application: Registration /Alignment. Image Cross-Dissolve

Linear Discriminant Analysis for 3D Face Recognition System

Announcements. Recognition. Recognition. Recognition. Recognition. Homework 3 is due May 18, 11:59 PM Reading: Computer Vision I CSE 152 Lecture 14

Learning to Recognize Faces in Realistic Conditions

Biometrics Technology: Image Processing & Pattern Recognition (by Dr. Dickson Tong)

Image Features: Local Descriptors. Sanja Fidler CSC420: Intro to Image Understanding 1/ 58

Facial Expression Detection Using Implemented (PCA) Algorithm

Feature Detectors and Descriptors: Corners, Lines, etc.

FACE RECOGNITION USING SUPPORT VECTOR MACHINES

Colorado School of Mines. Computer Vision. Professor William Hoff Dept of Electrical Engineering &Computer Science.

Announcements. Recognition I. Optical Flow: Where do pixels move to? dy dt. I + y. I = x. di dt. dx dt. = t

Face Recognition using Laplacianfaces

Recognition of Non-symmetric Faces Using Principal Component Analysis

Neural Networks for unsupervised learning From Principal Components Analysis to Autoencoders to semantic hashing

Unsupervised learning in Vision

3D Object Recognition using Multiclass SVM-KNN

Lecture 16: Computer Vision

Lecture 16: Computer Vision

( ) =cov X Y = W PRINCIPAL COMPONENT ANALYSIS. Eigenvectors of the covariance matrix are the principal components

Principal Component Analysis (PCA) is a most practicable. statistical technique. Its application plays a major role in many

Clustering and Dimensionality Reduction

Image-Based Face Recognition using Global Features

EE795: Computer Vision and Intelligent Systems

Local features: detection and description. Local invariant features

Face Recognition for Mobile Devices

GENDER CLASSIFICATION USING SUPPORT VECTOR MACHINES

COSC160: Detection and Classification. Jeremy Bolton, PhD Assistant Teaching Professor

Local Features Tutorial: Nov. 8, 04

Linear Discriminant Analysis in Ottoman Alphabet Character Recognition

Computer vision: models, learning and inference. Chapter 13 Image preprocessing and feature extraction

Targil 12 : Image Segmentation. Image segmentation. Why do we need it? Image segmentation

Face Detection and Recognition in an Image Sequence using Eigenedginess

CSC 411: Lecture 14: Principal Components Analysis & Autoencoders

Generalized Principal Component Analysis CVPR 2007

Discriminate Analysis

Waleed Pervaiz CSE 352

CS325 Artificial Intelligence Ch. 20 Unsupervised Machine Learning

CSC 411: Lecture 14: Principal Components Analysis & Autoencoders

PCA and KPCA algorithms for Face Recognition A Survey

Semi-Supervised PCA-based Face Recognition Using Self-Training

Mobile Face Recognization

Automatic Image Alignment (feature-based)

COMBINED METHOD TO VISUALISE AND REDUCE DIMENSIONALITY OF THE FINANCIAL DATA SETS

Comparison of Different Face Recognition Algorithms

The Analysis of Faces in Brains and Machines

Large-Scale Face Manifold Learning

Digital Image Processing

Lecture 4 Face Detection and Classification. Lin ZHANG, PhD School of Software Engineering Tongji University Spring 2018

Image Coding with Active Appearance Models

Robust Face Recognition via Sparse Representation

Work 2. Case-based reasoning exercise

Dr. K. Nagabhushan Raju Professor, Dept. of Instrumentation Sri Krishnadevaraya University, Anantapuramu, Andhra Pradesh, India

Fuzzy Bidirectional Weighted Sum for Face Recognition

International Journal of Digital Application & Contemporary research Website: (Volume 1, Issue 8, March 2013)

Local invariant features

Region-based Segmentation

Dr. Enrique Cabello Pardos July

Image warping and stitching

Face Recognition Using Eigen-Face Implemented On DSP Processor

CS 534: Computer Vision Segmentation and Perceptual Grouping

Programming Exercise 7: K-means Clustering and Principal Component Analysis

Head Frontal-View Identification Using Extended LLE

Introduction to Machine Learning Prof. Anirban Santara Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur

Digital Vision Face recognition

IMPROVED FACE RECOGNITION USING ICP TECHNIQUES INCAMERA SURVEILLANCE SYSTEMS. Kirthiga, M.E-Communication system, PREC, Thanjavur

Lecture 14 Shape. ch. 9, sec. 1-8, of Machine Vision by Wesley E. Snyder & Hairong Qi. Spring (CMU RI) : BioE 2630 (Pitt)

Face Recognition with Weighted Locally Linear Embedding

CSE 152 : Introduction to Computer Vision, Spring 2018 Assignment 5

A Survey on Feature Extraction Techniques for Palmprint Identification

The Novel Approach for 3D Face Recognition Using Simple Preprocessing Method

Local features: detection and description May 12 th, 2015

Patch Descriptors. EE/CSE 576 Linda Shapiro

CIE L*a*b* color model

Facial Expression Recognition Using Non-negative Matrix Factorization

Transcription:

Recognition: Face Recognition Linda Shapiro EE/CSE 576 1

Face recognition: once you ve detected and cropped a face, try to recognize it Detection Recognition Sally 2

Face recognition: overview Typical scenario: few examples per face, identify or verify test example What s hard: changes in expression, lighting, age, occlusion, viewpoint Basic approaches (all nearest neighbor) 1. Project into a new subspace (or kernel space) (e.g., Eigenfaces =PCA) 2. Measure face features 3

Typical face recognition scenarios Verification: a person is claiming a particular identity; verify whether that is true E.g., security Closed-world identification: assign a face to one person from among a known set General identification: assign a face to a known person or to unknown 4

What makes face recognition hard? Expression 5

6

What makes face recognition hard? Lighting 7

What makes face recognition hard? Occlusion 8

What makes face recognition hard? Viewpoint 9

Simple idea for face recognition 1. Treat face image as a vector of intensities x 2. Recognize face by nearest neighbor in database y...y 1 n k = argmin k k y x 10

The space of all face images When viewed as vectors of pixel values, face images are extremely high-dimensional 100x100 image = 10,000 dimensions Slow and lots of storage But very few 10,000-dimensional vectors are valid face images We want to effectively model the subspace of face images 11

The space of all face images Eigenface idea: construct a low-dimensional linear subspace that best explains the variation in the set of face images 12

Pixel 2 Linear subspaces v 1 is the major direction of the orange points and v 2 is perpendicular to v 1. Convert x into v 1, v 2 coordinates Pixel 1 What does the v 2 coordinate measure? - distance to line - use it for classification near 0 for orange pts What does the v 1 coordinate measure? - position along line - use it to specify which orange point it is Classification (to what class does x belong) can be expensive Big search problem Suppose the data points are arranged as above Idea fit a line, classifier measures distance to line Selected slides adapted from Steve Seitz, Linda Shapiro, Raj Rao

Pixel 2 Dimensionality reduction Pixel 1 Dimensionality reduction We can represent the orange points with only their v 1 coordinates since v 2 coordinates are all essentially 0 This makes it much cheaper to store and compare points A bigger deal for higher dimensional problems (like images!)

Pixel 2 Eigenvectors and Eigenvalues Consider the variation along a direction v among all of the orange points: What unit vector v minimizes var? What unit vector v maximizes var? Pixel 1 2 A = covariance matrix of data points (if divided by no. of points) Solution: v 1 is eigenvector of A with largest eigenvalue v 2 is eigenvector of A with smallest eigenvalue

Principal component analysis (PCA) Suppose each data point is N-dimensional Same procedure applies: The eigenvectors of A define a new coordinate system eigenvector with largest eigenvalue captures the most variation among training vectors x eigenvector with smallest eigenvalue has least variation We can compress the data by only using the top few eigenvectors corresponds to choosing a linear subspace represent points on a line, plane, or hyper-plane these eigenvectors are known as the principal components 16

The space of faces An image is a point in a high dimensional space An N x M image is a point in R NM We can define vectors in this space as we did in the 2D case 17

Dimensionality reduction The set of faces is a subspace of the set of images Suppose it is K dimensional We can find the best subspace using PCA This is like fitting a hyper-plane to the set of faces spanned by vectors v 1, v 2,..., v K any face 18

Dimensionality reduction The set of faces is a subspace of the set of images Suppose it is K dimensional We can find the best subspace using PCA This is like fitting a hyper-plane to the set of faces spanned by vectors v 1, v 2,..., v K any face 19

Eigenfaces PCA extracts the eigenvectors of A Gives a set of vectors v 1, v 2, v 3,... Each one of these vectors is a direction in face space what do these look like? 20

Visualization of eigenfaces Principal component (eigenvector) u k μ + 3σ k u k μ 3σ k u k 21

Projecting onto the eigenfaces The eigenfaces v 1,..., v K span the space of faces A face is converted to eigenface coordinates by 22

Recognition with eigenfaces Algorithm 1. Process the image database (set of images with labels) Run PCA compute eigenfaces Calculate the K coefficients for each image 2. Given a new image (to be recognized) x, calculate K coefficients 3. Detect if x is a face 4. If it is a face, who is it? Find closest labeled face in database Nearest-neighbor in K-dimensional space 23

Choosing the dimension K eigenvalues i = K NM How many eigenfaces to use? Look at the decay of the eigenvalues the eigenvalue tells you the amount of variance in the direction of that eigenface ignore eigenfaces with low variance 24

PCA General dimensionality reduction technique Preserves most of variance with a much more compact representation Lower storage requirements (eigenvectors + a few numbers per face) Faster matching What other applications? 31

Enhancing gender more same original androgynous more opposite D. Rowland and D. Perrett, Manipulating Facial Appearance through Shape and Color, IEEE CG&A, September 1995 32 Slide credit: A. Efros

Changing age Face becomes rounder and more textured and grayer original shape color both D. Rowland and D. Perrett, Manipulating Facial Appearance through Shape and Color, IEEE CG&A, September 1995 33 Slide credit: A. Efros

Which face is more attractive? http://www.beautycheck.de 34

Use in Cleft Severity Analysis We have a large database of normal 3D faces. We construct their principal components. We can reconstruct any normal face accurately using these components. But when we reconstruct a cleft face from the normal components, there is a lot of error. This error can be used to measure the severity of the cleft. 35

Use of PCA Reconstruction Error to Judge Cleft Severity 36

Extension to 3D Objects Murase and Nayar (1994, 1995) extended this idea to 3D objects. The training set had multiple views of each object, on a dark background. The views included multiple (discrete) rotations of the object on a turntable and also multiple (discrete) illuminations. The system could be used first to identify the object and then to determine its (approximate) pose and illumination.

Sample Objects Columbia Object Recognition Database

Significance of this work The extension to 3D objects was an important contribution. Instead of using brute force search, the authors observed that All the views of a single object, when transformed into the eigenvector space became points on a manifold in that space. Using this, they developed fast algorithms to find the closest object manifold to an unknown input image. Recognition with pose finding took less than a second.

Appearance-Based Recognition Training images must be representative of the instances of objects to be recognized. The object must be well-framed. Positions and sizes must be controlled. Dimensionality reduction is needed. It is not powerful enough to handle general scenes without prior segmentation into relevant objects. * The newer systems that use parts from interest operators are an answer to these restrictions.