General algorithm to do eyes tracking

本秂侑毒 提交于 2019-12-07 12:12:49

问题


So, the think is i want to build a software who can track the possition of the pupil, but i cant find on internet a mathematical aproch to the problem. I want to see some examples of how to calculate the position of the pupil. Thanks!


回答1:


I think the most common way involves illuminating the subject with a point light source and using the bright specular highlight on the cornea to locate the eyeball. Then the location of the pupil relative to the highlight gives you the direction. To simplify the image processing you use IR light and an IR monochrome camera.

To work out the math try sketching it in 2D with a circular "eyeball", a fixed point light that creates the specular highlight where a line between the light and the center of the eye crosses the circle, and a shaded arc to represent the pupil.




回答2:


All humans blink so you can use this human property to track the eyes on video. Tip: both eyes blink at the same time




回答3:


You'll likely need some hardware to do that. Then the output from that device gives you a measurement that you can use to calculate the place on the screen where the user is looking.



来源:https://stackoverflow.com/questions/4453863/general-algorithm-to-do-eyes-tracking

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!