Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Are there any new ways to improve eye detection?

I have been working with the OpenCV 2.4.10 Java libraries and Raspbian on a Raspberry PI 2. I got the basic face detection and tracking working pretty well on the RPI 2 and decided to go for face recognition. I have been translating the code from Mastering OpenCV with Practical Computer Vision Projects into Java and trying to build an application first on my laptop before trying it on the RPI 2. The problem is that the face detection works well, but the eye detection that is key to preprocessing images isn't working. I have tried varying lots of different parameters and using different cascade files, but the best I have been able to get is one eye accurately detected out of 10 images. I do have to mention that I am using images of myself wearing glasses, because I always wear glasses. The eyeglasses file actually seems to perform worse that the left eye and right eye files.

Some of the supposedly detected eyes on my face do not even remotely resemble an eye. So, I am looking for suggestions on ways to improve the detection especially with glasses.

Are there any new ways to improve eye detection?

I have been working with the OpenCV 2.4.10 Java libraries and Raspbian on a Raspberry PI 2. I got the basic face detection and tracking working pretty well on the RPI 2 and decided to go for face recognition. I have been translating the code from Mastering OpenCV with Practical Computer Vision Projects into Java and trying to build an application first on my laptop before trying it on the RPI 2. The problem is that the face detection works well, but the eye detection that is key to preprocessing images isn't working. I have tried varying lots of different parameters and using different cascade files, but the best I have been able to get is one eye accurately detected out of 10 images. I do have to mention that I am using images of myself wearing glasses, because I always wear glasses. The eyeglasses file actually seems to perform worse that the left eye and right eye files.

Some of the supposedly detected eyes on my face do not even remotely resemble an eye. So, I am looking for suggestions on ways to improve the detection especially with glasses.