1
1
101-s2020-04-03 17:48:36
OpenCV
101-s, 2020-04-03 17:48:36

How to accurately determine the center of the pupil of the eye in the photo?

Open cv has standard methods that allow you to determine a person's face in a photo and eyes.
haarcascade_eye.xml
haarcascade_frontalface_default.xml
But this is not enough to determine the center of the pupil,
How would you make the determination of the center of the pupil more accurate using Open CV?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
U235U235, 2020-04-05
@101-s

As far as I understand, standard methods produce tuples with x,y,w,h.
Then you can binarize (or highlight the boundaries) of the found rectangles and search for circles (circles) using Hough.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question