A Comprehensive Guide to Real-Time Face Detection using AdaBoost and Integral Image, Slides of Electronics engineering

An in-depth exploration of real-time face detection using adaboost, a machine learning algorithm, and integral image representation. The guide covers the basics of adaboost, its algorithm, and its application in face detection. It also discusses improvements, demonstrations, and related topics such as boosting, face detection in humans and monkeys, and viola-jones' robust real-time face detection system.

Typology: Slides

2012/2013

Uploaded on 03/23/2013

dhrupad
dhrupad šŸ‡®šŸ‡³

4.4

(17)

213 documents

1 / 53

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
A Robust Real Time Face
Detection
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35

Partial preview of the text

Download A Comprehensive Guide to Real-Time Face Detection using AdaBoost and Integral Image and more Slides Electronics engineering in PDF only on Docsity!

A Robust Real Time Face

Detection

Outline

ļ‚§ AdaBoost – Learning Algorithm

ļ‚§ Face Detection in real life

ļ‚§ Using AdaBoost for Face Detection

ļ‚§ Improvements

ļ‚§ Demonstration

Boosting

ļ‚§ The Horse-Racing Gambler Problem

  • Rules of thumb for a set of races
  • How should we choose the set of races in order

to get the best rules of thumb?

  • How should the rules be combined into a single

highly accurate prediction rule?

ļ‚§ Boosting!

Boosting

AdaBoost - algorithm

āˆ‘

=

≠

= Ɨ

āˆ’

T

t

t t

t

e h x y

t e h x y

t t

t

t t

t t i D t i i

t

m m i i

H x sign h x

Z
Z

D i D i

h X h x y

D

y T

D i m

x y x y x X y Y

i i i t

i i t

t

1

if ( )

if ( )

1

~

1

1 1

Output thefinalhypothesis:

where isanormalizationfactor

Update ( )

ln( 2

Choose

Get weakhypothesis : { 1 , 1 } witherror Pr [ ( ) ]

Select thebest weakclassifierusingdistribution

For 1 ..

Initialize ( ) 1 /

Given( , ),..,( , )where , { 1 , 1 }

α

α

example (^) decision

distribution

step

AdaBoost – training error

ļ‚§ Freund and Schapire (1997) proved that:

ļ‚§ AdaBoost adapts to the error rates of the

individual weak hypotheses.

  • Therefore it is called ADABoost.

t t

err H e γ

T

t

t

ε

γ

= āˆ’

āˆ‘

≤

=

āˆ’

2

1

' ( ) , where

1

2

AdaBoost – generalization error

ļ‚§ The analysis implies that boosting will overfit

if the algorithm is run for too many rounds

ļ‚§ However, it was observed empirically that

AdaBoost does not overfit,

  • even when run thousands of rounds.

ļ‚§ Moreover, it was observed that the

generalization error continues to drive down

long after training error reached zero

AdaBoost – generalization error

ļ‚§ An alternative analysis was presented by

Schapire et al. (1998), that suits the empirical

findings

y h x x y t

t t

m

d err H x y O

āˆ‘

āˆ‘

≤ ≤ + ≄

= α

α

( ) margin( , )

where :

2

Pr[ ( ) Pr'[margin( , ) ] ( ) ] 1 -

AdaBoost – different point of view

ļ‚§ Sometimes it is advantageous to minimize some

other (non-negative) loss function instead of the

number of classification errors

ļ‚§ For AdaBoost the loss function is

ļ‚§ This point of view was used by Collins, Schapire

and Singer (2002) to demonstrate that AdaBoost

converges to optimality

āˆ‘

=

āˆ’

n

i

i i

y f x

1

exp( ( )) α

Face Detection

(not face recognition)

Face Detection in Human

There are ā€˜processes of face detection’

Faces Are Special

We humans analyze faces in a ā€˜different way’

Faces Are Special

We analyze faces in a

ā€˜different way’

Face Recognition in Human

We analyze faces ā€˜in a specific location’