Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Detecting how much eyes are open

Hi!

I'm pretty new at OpenCV, sorry if the question is trivial :)

I need to recognize, as much precise as possible, how much an eye is open. I found examples about detecting if open or closed. My program already have a image of the eye to study, for example this image

Eye to study

I don't need to recognize to eye from the face, I already have it. From that very image, how I can calculate a value (I don't need a measure value i.e. in centimeters, a consistent value would be good)? I've tried to convert in grayscale and using a threshold, but don't seem to work (my idea was to recognize only the white of the eye, of the black of the pupil), but maybe I'm doing it wrong. Im doing it in C# (Emgu) if you need to know it.

Many, many thanks!

Alby87