Eye extraction
As the title says, im looking for a way to get, from a face image, only a small image containing the eyes. I already have landmarks around it, but I cant go any further than that.
Does pygaze have that funcionality? Or does someone knows how to do it?
Thank you
Comments
Hi,
Pygaze doesn't have this functionality I'm afraid (pygaze is for gathering eye position coordinates with an eye-tracking camera). This will thus require some programming. Maybe somebody on the internet happens to have a decent algorithm for this already so you don't have to re-invent the wheel; google python recognize eyes image.
If you have to do things yourself, the landmarks you have are a good start. You may then want to increase the contrast of your image and filter on pixel brightness, so you get the eye white..
Cheers
Josh