Lecture 29: Face Detection Revisited CS4670 / 5670: Computer Vision Noah Snavely.

Slides:



Advertisements
Similar presentations
EE462 MLCV Lecture 5-6 Object Detection – Boosting Tae-Kyun Kim.
Advertisements

EE462 MLCV Lecture 5-6 Object Detection – Boosting Tae-Kyun Kim.
Rapid Object Detection using a Boosted Cascade of Simple Features Paul Viola, Michael Jones Conference on Computer Vision and Pattern Recognition 2001.
Rapid Object Detection using a Boosted Cascade of Simple Features Paul Viola, Michael Jones Conference on Computer Vision and Pattern Recognition 2001.
Face detection State-of-the-art face detection demo (Courtesy Boris Babenko)Boris Babenko.
Face detection Behold a state-of-the-art face detector! (Courtesy Boris Babenko)Boris Babenko.
Face Detection & Synthesis using 3D Models & OpenCV Learning Bit by Bit Don Miller ITP, Spring 2010.
AdaBoost & Its Applications
Face detection Many slides adapted from P. Viola.
Cos 429: Face Detection (Part 2) Viola-Jones and AdaBoost Guest Instructor: Andras Ferencz (Your Regular Instructor: Fei-Fei Li) Thanks to Fei-Fei Li,
EE462 MLCV Lecture 5-6 Object Detection – Boosting Tae-Kyun Kim.
Viola/Jones: features “Rectangle filters” Differences between sums of pixels in adjacent rectangles { y t (x) = +1 if h t (x) >  t -1 otherwise Unique.
Detecting Pedestrians by Learning Shapelet Features
The Viola/Jones Face Detector Prepared with figures taken from “Robust real-time object detection” CRL 2001/01, February 2001.
The Viola/Jones Face Detector (2001)
Object Detection and Recognition
HCI Final Project Robust Real Time Face Detection Paul Viola, Michael Jones, Robust Real-Time Face Detetion, International Journal of Computer Vision,
Robust Real-time Object Detection by Paul Viola and Michael Jones ICCV 2001 Workshop on Statistical and Computation Theories of Vision Presentation by.
Face detection and recognition Many slides adapted from K. Grauman and D. Lowe.
A Robust Real Time Face Detection. Outline  AdaBoost – Learning Algorithm  Face Detection in real life  Using AdaBoost for Face Detection  Improvements.
Recognition Readings Szeliski Chapter 14 The “Margaret Thatcher Illusion”, by Peter Thompson.
Adaboost and its application
A Robust Real Time Face Detection. Outline  AdaBoost – Learning Algorithm  Face Detection in real life  Using AdaBoost for Face Detection  Improvements.
Robust Real-Time Object Detection Paul Viola & Michael Jones.
Viola and Jones Object Detector Ruxandra Paun EE/CS/CNS Presentation
Foundations of Computer Vision Rapid object / face detection using a Boosted Cascade of Simple features Presented by Christos Stoilas Rapid object / face.
Face Detection CSE 576. Face detection State-of-the-art face detection demo (Courtesy Boris Babenko)Boris Babenko.
FACE DETECTION AND RECOGNITION By: Paranjith Singh Lohiya Ravi Babu Lavu.
Face Detection using the Viola-Jones Method
CS 231A Section 1: Linear Algebra & Probability Review
Object Detection Using the Statistics of Parts Presented by Nicholas Chan – Advanced Perception Robust Real-time Object Detection Henry Schneiderman.
Detecting Pedestrians Using Patterns of Motion and Appearance Paul Viola Microsoft Research Irfan Ullah Dept. of Info. and Comm. Engr. Myongji University.
Window-based models for generic object detection Mei-Chen Yeh 04/24/2012.
Face detection Slides adapted Grauman & Liebe’s tutorial
Visual Object Recognition
Robust Real-time Face Detection by Paul Viola and Michael Jones, 2002 Presentation by Kostantina Palla & Alfredo Kalaitzis School of Informatics University.
Robust real-time face detection Paul A. Viola and Michael J. Jones Intl. J. Computer Vision 57(2), 137–154, 2004 (originally in CVPR’2001) (slides adapted.
Tony Jebara, Columbia University Advanced Machine Learning & Perception Instructor: Tony Jebara.
Face detection Behold a state-of-the-art face detector! (Courtesy Boris Babenko)Boris Babenko slides adapted from Svetlana Lazebnik.
Project 3 Results.
Lecture 09 03/01/2012 Shai Avidan הבהרה: החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
The Viola/Jones Face Detector A “paradigmatic” method for real-time object detection Training is slow, but detection is very fast Key ideas Integral images.
CS 1699: Intro to Computer Vision Detection II: Deformable Part Models Prof. Adriana Kovashka University of Pittsburgh November 12, 2015.
Learning to Detect Faces A Large-Scale Application of Machine Learning (This material is not in the text: for further information see the paper by P.
Lecture 15: Eigenfaces CS6670: Computer Vision Noah Snavely.
Lecture 15: Eigenfaces CS6670: Computer Vision Noah Snavely.
FACE DETECTION : AMIT BHAMARE. WHAT IS FACE DETECTION ? Face detection is computer based technology which detect the face in digital image. Trivial task.
Lecture 10 Pattern Recognition and Classification II
Face detection Behold a state-of-the-art face detector! (Courtesy Boris Babenko)Boris Babenko slides adapted from Svetlana Lazebnik.
Notes on HW 1 grading I gave full credit as long as you gave a description, confusion matrix, and working code Many people’s descriptions were quite short.
A Brief Introduction on Face Detection Mei-Chen Yeh 04/06/2010 P. Viola and M. J. Jones, Robust Real-Time Face Detection, IJCV 2004.
(Courtesy Boris Babenko)
Face detection Many slides adapted from P. Viola.
Hand Detection with a Cascade of Boosted Classifiers Using Haar-like Features Qing Chen Discover Lab, SITE, University of Ottawa May 2, 2006.
Visual Object Recognition
Face Detection and Recognition Reading: Chapter and, optionally, “Face Recognition using Eigenfaces” by M. Turk and A. Pentland.
AdaBoost Algorithm and its Application on Object Detection Fayin Li.
Recognition Part II: Face Detection via AdaBoost Linda Shapiro CSE
Things iPhoto thinks are faces
Reading: R. Schapire, A brief introduction to boosting
2. Skin - color filtering.
License Plate Detection
Recognition Part II: Face Detection via AdaBoost
Session 7: Face Detection (cont.)
Announcements Project 2 due tomorrow night Project 3 out Wednesday
In summary C1={skin} C2={~skin} Given x=[R,G,B], is it skin or ~skin?
Learning to Detect Faces Rapidly and Robustly
Cos 429: Face Detection (Part 2) Viola-Jones and AdaBoost Guest Instructor: Andras Ferencz (Your Regular Instructor: Fei-Fei Li) Thanks to Fei-Fei.
Face Detection via AdaBoost
Lecture 29: Face Detection Revisited
Presentation transcript:

Lecture 29: Face Detection Revisited CS4670 / 5670: Computer Vision Noah Snavely

Announcements Project 4 due next Friday by 11:59pm

Remember eigenfaces? They don’t work very well for detection

Issues: speed, features Case study: Viola Jones face detector Exploits two key strategies: – simple, super-efficient, but useful features – pruning (cascaded classifiers) Next few slides adapted Grauman & Liebe’s tutorial – Also see Paul Viola’s talk (video) –

Perceptual and Sensory Augmented Computing Visual Object Recognition Tutorial K. Grauman, B. Leibe Feature extraction 5 K. Grauman, B. Leibe Feature output is difference between adjacent regions Viola & Jones, CVPR 2001 Efficiently computable with integral image: any sum can be computed in constant time Avoid scaling images  scale features directly for same cost “Rectangular” filters Value at (x,y) is sum of pixels above and to the left of (x,y) Integral image

Perceptual and Sensory Augmented Computing Visual Object Recognition Tutorial K. Grauman, B. Leibe Large library of filters Considering all possible filter parameters: position, scale, and type: 180,000+ possible features associated with each 24 x 24 window Use AdaBoost both to select the informative features and to form the classifier Viola & Jones, CVPR 2001

Perceptual and Sensory Augmented Computing Visual Object Recognition Tutorial K. Grauman, B. Leibe AdaBoost for feature+classifier selection Want to select the single rectangle feature and threshold that best separates positive (faces) and negative (non- faces) training examples, in terms of weighted error. Outputs of a possible rectangle feature on faces and non-faces. … Resulting weak classifier: For next round, reweight the examples according to errors, choose another filter/threshold combo. Viola & Jones, CVPR 2001

Perceptual and Sensory Augmented Computing Visual Object Recognition Tutorial K. Grauman, B. Leibe AdaBoost: Intuition 8 K. Grauman, B. Leibe Figure adapted from Freund and Schapire Consider a 2-d feature space with positive and negative examples. Each weak classifier splits the training examples with at least 50% accuracy. Examples misclassified by a previous weak learner are given more emphasis at future rounds.

Perceptual and Sensory Augmented Computing Visual Object Recognition Tutorial K. Grauman, B. Leibe AdaBoost: Intuition 9 K. Grauman, B. Leibe

Perceptual and Sensory Augmented Computing Visual Object Recognition Tutorial K. Grauman, B. Leibe AdaBoost: Intuition 10 K. Grauman, B. Leibe Final classifier is combination of the weak classifiers

Perceptual and Sensory Augmented Computing Visual Object Recognition Tutorial K. Grauman, B. Leibe AdaBoost Algorithm Start with uniform weights on training examples Evaluate weighted error for each feature, pick best. Re-weight the examples: Incorrectly classified -> more weight Correctly classified -> less weight Final classifier is combination of the weak ones, weighted according to error they had. Freund & Schapire 1995 {x 1,…x n } For T rounds

Perceptual and Sensory Augmented Computing Visual Object Recognition Tutorial K. Grauman, B. Leibe Cascading classifiers for detection For efficiency, apply less accurate but faster classifiers first to immediately discard windows that clearly appear to be negative; e.g.,  Filter for promising regions with an initial inexpensive classifier  Build a chain of classifiers, choosing cheap ones with low false negative rates early in the chain 12 K. Grauman, B. Leibe Fleuret & Geman, IJCV 2001 Rowley et al., PAMI 1998 Viola & Jones, CVPR 2001 Figure from Viola & Jones CVPR 2001

Perceptual and Sensory Augmented Computing Visual Object Recognition Tutorial K. Grauman, B. Leibe Viola-Jones Face Detector: Summary Train with 5K positives, 350M negatives Real-time detector using 38 layer cascade 6061 features in final layer [Implementation available in OpenCV: 13 Faces Non-faces Train cascade of classifiers with AdaBoost Selected features, thresholds, and weights New image Apply to each subwindow

Perceptual and Sensory Augmented Computing Visual Object Recognition Tutorial K. Grauman, B. Leibe Viola-Jones Face Detector: Results 14 K. Grauman, B. Leibe First two features selected

Perceptual and Sensory Augmented Computing Visual Object Recognition Tutorial K. Grauman, B. Leibe Viola-Jones Face Detector: Results

Perceptual and Sensory Augmented Computing Visual Object Recognition Tutorial K. Grauman, B. Leibe Viola-Jones Face Detector: Results

Perceptual and Sensory Augmented Computing Visual Object Recognition Tutorial K. Grauman, B. Leibe Viola-Jones Face Detector: Results

Perceptual and Sensory Augmented Computing Visual Object Recognition Tutorial K. Grauman, B. Leibe Detecting profile faces? Detecting profile faces requires training separate detector with profile examples.

Perceptual and Sensory Augmented Computing Visual Object Recognition Tutorial K. Grauman, B. Leibe Paul Viola, ICCV tutorial Viola-Jones Face Detector: Results

Questions?