Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Finding the center of eye pupil

I want to find the center of eye pupil. Here are the steps that I followed:

1- Obtained eye image from the extracted face image: image description

2- Thresholding the grayscale eye image with the following settings: Max value: 255 Threshold: 60 Threshold Type: CV_THRESH_BINARY image description

3- I can't find the contour of the eye pupil from the image above. So I applied dilatation first opencv_imgproc.cvDilate(left_eye, left_eye, null, 3); image description

4- Need to rescale it: opencv_imgproc.cvErode(left_eye, left_eye, null, 6); image description

Now the problem is to find eye center as fast as possible. How can I achieve such a goal?