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

Slides:



Advertisements
Similar presentations
Ignas Budvytis*, Tae-Kyun Kim*, Roberto Cipolla * - indicates equal contribution Making a Shallow Network Deep: Growing a Tree from Decision Regions of.
Advertisements

EE462 MLCV Lecture 5-6 Object Detection – Boosting Tae-Kyun Kim.
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.
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,
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)
HCI Final Project Robust Real Time Face Detection Paul Viola, Michael Jones, Robust Real-Time Face Detetion, International Journal of Computer Vision,
Rapid Object Detection using a Boosted Cascade of Simple Features
Generic Object Detection using Feature Maps Oscar Danielsson Stefan Carlsson
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.
Adaboost and its application
CS 223B Assignment 1 Help Session Dan Maynes-Aminzade.
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
A Tutorial on Object Detection Using OpenCV
“Secret” of Object Detection Zheng Wu (Summer intern in MSRNE) Sep. 3, 2010 Joint work with Ce Liu (MSRNE) William T. Freeman (MIT) Adam Kalai (MSRNE)
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.
Sign Classification Boosted Cascade of Classifiers using University of Southern California Thang Dinh Eunyoung Kim
Lecture 29: Face Detection Revisited CS4670 / 5670: Computer Vision Noah Snavely.
Face detection Slides adapted Grauman & Liebe’s tutorial
Visual Object Recognition
DIEGO AGUIRRE COMPUTER VISION INTRODUCTION 1. QUESTION What is Computer Vision? 2.
Robust Real-time Face Detection by Paul Viola and Michael Jones, 2002 Presentation by Kostantina Palla & Alfredo Kalaitzis School of Informatics University.
ECE738 Advanced Image Processing Face Detection IEEE Trans. PAMI, July 1997.
Tony Jebara, Columbia University Advanced Machine Learning & Perception Instructor: Tony Jebara.
Face Detection Ying Wu Electrical and Computer Engineering Northwestern University, Evanston, IL
Adaboost and Object Detection Xu and Arun. Principle of Adaboost Three cobblers with their wits combined equal Zhuge Liang the master mind. Failure is.
Lecture 6: Classification – Boosting and SVMs CAP 5415 Fall 2006.
HCI/ComS 575X: Computational Perception Instructor: Alexander Stoytchev
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.
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.
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.
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.
Cascade for Fast Detection
License Plate Detection
Session 7: Face Detection (cont.)
Lit part of blue dress and shadowed part of white dress are the same color
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
ADABOOST(Adaptative Boosting)
Lecture 29: Face Detection Revisited
Presentation transcript:

EE462 MLCV Lecture 5-6 Object Detection – Boosting Tae-Kyun Kim

EE462 MLCV Face Detection Demo 2 Robust real-time object detector, Viola and Jones, CVPR 01 Implemented by Intel OpenCV

EE462 MLCV 3 Multiclass object detection [Torralba et al PAMI 07] A boosting algorithm, originally for binary class problems, has been extended to multi-class problems.

EE462 MLCV Object Detection 4 Input is a single image, given without any prior knowledge.

EE462 MLCV Object Detection 5 Output is a set of tight bounding boxes (positions and scales) of instances of a target object class (e.g. pedestrian).

EE462 MLCV 6 Object Detection We scan every scale and pixel location of an image.

EE462 MLCV Number of windows 7 Number of Windows: 747,666 … x # of scales # of pixels It ends up with a huge number of candidate sub-windows.

EE462 MLCV Time per window 8 or raw pixels …… dimension D Num of feature vectors: 747,666 … Classification: What amount of time are we given to process a single scanning window? SIFT

EE462 MLCV Time per window 9 or raw pixels …… dimension D Num of feature vectors: 747,666 … Time per window (or vector): sec In order to finish the task in 1 sec Neural Network? Nonlinear SVM?

EE462 MLCV Examples of face detection 10 From Viola, Jones, 2001

EE462 MLCV  By Integrating Visual Cues [Darrell et al IJCV 00].  Face pattern detection output (left).  Connected components recovered from stereo range data (mid).  Flesh hue regions from skin hue classification (right). 11 More traditionally… The search space is narrowed down

EE462 MLCV Since about 2001 (Viola &Jones 01)… “ Boosting Simple Features” has been a dominating art.  Adaboost classification  Weak classifiers: Haar-basis like functions (45,396 (>>T) in total feature pool) 12 Weak classifier Strong classifier

EE462 MLCV Introduction to Boosting Classifiers - AdaBoost (Adaptive Boosting)

EE462 MLCV Sorry for inconsistent notations… 14

EE462 MLCV Boosting 15

EE462 MLCV Boosting 16

EE462 MLCV Principally, Boosting does  Iteratively reweighting training samples,  Assigning higher weights to previously misclassified samples round2 rounds3 rounds4 rounds5 rounds50 rounds

EE462 MLCV 18 In the previous example, We consider all horizontal or vertical lines. For each line, we define two weaklearners

EE462 MLCV AdaBoost 19 M : # of weak classifiers to choose, among all weak classifiers,

EE462 MLCV 20

EE462 MLCV Boosting 21

EE462 MLCV Boosting as an optimisation framework 22

EE462 MLCV Minimising Exponential Error 23

EE462 MLCV 24

EE462 MLCV 25

EE462 MLCV 26

EE462 MLCV 27

EE462 MLCV Existence of weak learners  Definition of a baseline learner  Data weights:  Set  Baseline classifier: for all x  Error is at most ½.  Each weak learner in Boosting is demanded s.t. → Error of the composite hypothesis goes to zero as boosting rounds increase [Duffy et al 00]. 28

EE462 MLCV Robust real-time object detector

EE462 MLCV Boosting Simple Features [Viola and Jones CVPR 01]  Adaboost classification  Weak classifiers: Haar-basis like functions (45,396 in total feature pool) 30 Weak classifier Strong classifier 20 ……

EE462 MLCV 31 Learning (concept illustration) Face images Non-face images Resize to 20x20 D=400 …… weaklearners Output:

EE462 MLCV Evaluation (testing) 32 From Viola, Jones, 2001 For given Non-local maxima suppression we apply the boosting classifier to every scan-window. Non-local maxima supression is performed.

EE462 MLCV How to accelerate boosting training and evaluation

EE462 MLCV Integral Image  A value at (x,y) is the sum of the pixel values above and to the left of (x,y).  The integral image can be computed in one pass over the original image. 34

EE462 MLCV Boosting Simple Features [Viola and Jones CVPR 01]  Integral image  The sum of original image values within the rectangle can be computed: Sum = A-B-C+D  This provides the fast evaluation of Haar-basis like features 35

EE462 MLCV Evaluation (testing) 36 From Viola, Jones, 2001 x y ii(x,y)

EE462 MLCV Boosting as a Tree-structured Classifier

EE462 MLCV Boosting (very shallow network)  The strong classifier H as boosted decision stumps has a flat structure  Cf. Decision “ferns” has been shown to outperform “trees” [Zisserman et al, 07] [Fua et al, 07] 38 c0 c1 x ……

EE462 MLCV Boosting -continued  Good generalisation is achieved by a flat structure.  It provides fast evaluation.  It does sequential optimisation. 39 A strong boosting classifier Boosting Cascade [viola & Jones 04], Boosting chain [Xiao et al]  It is very imbalanced tree structured.  It speeds up evaluation by rejecting easy negative samples at early stages.  It is hard to design A strong boosting classifier T = ……

EE462 MLCV A cascade of classifiers  The detection system requires good detection rate and extremely low false positive rates.  False positive rate and detection rate are f_i is the false positive rate of i-th classifier on the examples that get through to it.  The expected number of features evaluated is p_j is the proportion of windows input to i-th classifier. 40

EE462 MLCV Demo video: Fast evaluation 41

EE462 MLCV Object Detection by a Cascade of Classifiers 42 Pictures from Romdhani et al. ICCV01 It speeds up object detection by coarse-to-fine search.