Bibek Jang Karki. Outline Integral Image Representation of image in summation format AdaBoost...

13
Rapid Object Detection using a Boosted Cascade of Simple Features (Paul Viola , Michael Jones ) Bibek Jang Karki

Transcript of Bibek Jang Karki. Outline Integral Image Representation of image in summation format AdaBoost...

Page 1: Bibek Jang Karki. Outline Integral Image Representation of image in summation format AdaBoost Ranking of features Combining best features to form strong.

Rapid Object Detection using a Boosted Cascade of Simple Features(Paul Viola , Michael Jones )

Bibek Jang Karki

Page 2: Bibek Jang Karki. Outline Integral Image Representation of image in summation format AdaBoost Ranking of features Combining best features to form strong.

OutlineIntegral Image

Representation of image in summation formatAdaBoost

Ranking of featuresCombining best features to form strong

classifiersCascade classifiers

Test image passing through multiple layers of strong classifiers

Page 3: Bibek Jang Karki. Outline Integral Image Representation of image in summation format AdaBoost Ranking of features Combining best features to form strong.

Making of Integral Image Intermediate representation of image to

make the area computation fastSum of pixels above and leftMathematical form :

Page 4: Bibek Jang Karki. Outline Integral Image Representation of image in summation format AdaBoost Ranking of features Combining best features to form strong.

Integral image (example)

Original image

Integral Image

Page 5: Bibek Jang Karki. Outline Integral Image Representation of image in summation format AdaBoost Ranking of features Combining best features to form strong.

HAAR features Each feature will do raster scan across imageArea difference between white and gray

rectangles will be calculatedFeature based operates faster

Different rectangular features used

Page 6: Bibek Jang Karki. Outline Integral Image Representation of image in summation format AdaBoost Ranking of features Combining best features to form strong.

Rectangular features for face detectionSample best features selectedComparing difference in intensity

sample features, overlayed in image

Page 7: Bibek Jang Karki. Outline Integral Image Representation of image in summation format AdaBoost Ranking of features Combining best features to form strong.

Area calculationComputing area of rectangle DIntegral image value at different locations

given as (1, 2, 3, 4)D = (A+D) – (B+C)

Area calculation using integral image

Page 8: Bibek Jang Karki. Outline Integral Image Representation of image in summation format AdaBoost Ranking of features Combining best features to form strong.

AdaBoost AlgorithmTraining and features selection

Potential 180,000 featureUsing all features ? Not a good idea !Selecting subset to make strong classifiers

Algorithm:

Page 9: Bibek Jang Karki. Outline Integral Image Representation of image in summation format AdaBoost Ranking of features Combining best features to form strong.

AdaBoost AlgorithmComputing probability distribution.Error rate calculationFinding best featuresWeight update

Finally

Page 10: Bibek Jang Karki. Outline Integral Image Representation of image in summation format AdaBoost Ranking of features Combining best features to form strong.

Cascade classifierscascade for fast rejection of negative

windowsSeries of classifiers applied to every sub-

window

Page 11: Bibek Jang Karki. Outline Integral Image Representation of image in summation format AdaBoost Ranking of features Combining best features to form strong.

Results 38 layered cascaded classifier used10 features used for each sub window700 Mhz Pentium III processor, it can process a 384 by 288 pixel image

in .067 seconds15 times faster than the RowleyBaluja-Kanade detector 600 timesfaster

than the Schneiderman-Kanade detector

Sample faces used for training->

Page 12: Bibek Jang Karki. Outline Integral Image Representation of image in summation format AdaBoost Ranking of features Combining best features to form strong.

Experiments on a Real-World Test Sets set consists of 130 images with 507 labeled

frontal faces

Detection rates for various numbers of false positives

Page 13: Bibek Jang Karki. Outline Integral Image Representation of image in summation format AdaBoost Ranking of features Combining best features to form strong.

Thank You