shardulchauhan007 / klucv2

Automatically exported from code.google.com/p/klucv2
0 stars 0 forks source link

Extract exact eye region (Region doesn't fit eye exactly) #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Currently the eye region is recognized by a cascade of Haar-based
classifiers...

When detecting the eye region, the eye ofton does not lie completely in the
region's rectangle. Sometimes a corner is cut away.

Maby try some other haarcascade (for instance the ones from Modesto
Castrillon-Santanaones) to fix it:

http://code.google.com/p/klucv2/source/browse/trunk/data/haarcascades/haarcascad
e_mcs_lefteye.xml
and
http://code.google.com/p/klucv2/source/browse/trunk/data/haarcascades/haarcascad
e_mcs_righteye.xml

and

http://code.google.com/p/klucv2/source/browse/trunk/data/haarcascades/haarcascad
e_mcs_lefteye.xml
and
http://code.google.com/p/klucv2/source/browse/trunk/data/haarcascades/haarcascad
e_mcs_lefteye.xml

I expect the detected eye rectangle to exactly fit the eye at least when
looking at the camera in frontal view.

Original issue reported on code.google.com by kon...@konradwilhelm.de on 4 Feb 2010 at 6:18

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed in r14 and improved in later revisions. The solution was to take two 
distinct
MCS-Haar cascades for left and right eye.

Original comment by kon...@konradwilhelm.de on 19 Feb 2010 at 12:08