开发者

General algorithm to do eyes tracking

开发者 https://www.devze.com 2023-01-31 06:52 出处:网络
So, the think is i want to build a software who can track the possition of the pupil, but i cant find on intern开发者_开发问答et a mathematical aproch to the problem. I want to see some examples of ho

So, the think is i want to build a software who can track the possition of the pupil, but i cant find on intern开发者_开发问答et a mathematical aproch to the problem. I want to see some examples of how to calculate the position of the pupil. Thanks!


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.


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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消