Ask Your Question

Revision history [back]

As a first comment, this is OpenCV, not EmguCV, so we won't supply you with C# code here, since that is a different community.

On the other hand, what you could do is to look into the iris detection/recognition algorithms. They are used to define first the region of the iris, but they also define the location of the eyelids, in order to compensate for them, by creating a mask. This information could be interesting for you to define a measurement.

Mostly it is based on Hough lines and Hough circles.

This paper could get you some more insight into the problem. It is the original approach by John Daugman to detect and recognize irises.

As a first comment, this is OpenCV, not EmguCV, so we won't supply you with C# code here, since that is a different community.

On the other hand, what you could do is to look into the iris detection/recognition algorithms. They are used to define first the region of the iris, but they also define the location of the eyelids, in order to compensate for them, by creating a mask. This information could be interesting for you to define a measurement.

Mostly it is based on Hough lines and Hough circles.

This paper could get you some more insight into the problem. It is the original approach by John Daugman to detect and recognize irises.

Update 17/08 - updated paper link as requested