Ask Your Question
0

Region of interest for Haar samples?

asked Sep 24 '16

roboteyes gravatar image

updated Sep 24 '16

I've noticed with many face detection algorithms, that the detected region of interest closely crops the eyes and mouth... excluding ears, hair and chin. When collecting and cropping my positive sample collection, should I tightly crop ensuring that no background is visible, or loosely crop the region?

See my example:

image description

My guess is the right hand side, but I'd just like to double-check with the experts here.

Preview: (hide)

1 answer

Sort by » oldest newest most voted
2

answered Sep 24 '16

Eduardo gravatar image

updated Sep 24 '16

For Viola & Jones algorithm, you can take a look at the corresponding paper and at the dataset they used.

You can also check at some face detection datasets (be careful at the dates):

Just my opinion as a non expert: you should crop between your two examples as the left example contains too much background in my opinion and the right one seems to me too cropped. As the training process will select relevant features (at least with old algorithms like Viola & Jones, I don't know how it is with DNN algorithms), some litlle background should be harmless I think. The faces have to be consistent, always at the same size and at the same position in the dataset.

Preview: (hide)

Comments

1

Helpful paper, thanks! A few extracts

"The training faces are only roughly aligned."

"place a bounding box around each face just above the eyebrows and about half-way between the mouth and the chin"

So think you're right. A little-less cropped, but only slightly.

roboteyes gravatar imageroboteyes (Sep 24 '16)edit

Question Tools

1 follower

Stats

Asked: Sep 24 '16

Seen: 250 times

Last updated: Sep 24 '16