进行眼睛跟踪的通用算法

发布于 2024-10-08 10:56:59 字数 69 浏览 0 评论 0原文

所以,我想构建一个可以跟踪学生位置的软件,但我在互联网上找不到解决该问题的数学方法。我想看一些如何计算瞳孔位置的例子。谢谢!

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!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

随梦而飞# 2024-10-15 10:56:59

我认为最常见的方法是用点光源照亮拍摄对象,并使用角膜上明亮的镜面高光来定位眼球。然后,瞳孔相对于高光的位置将为您提供方向。为了简化图像处理,您可以使用红外灯和红外单色相机。

要计算数学,请尝试使用圆形“眼球”以 2D 形式绘制草图,这是一种固定点光源,可在光源和眼睛中心之间的线与圆交叉的位置处创建镜面高光,并用阴影弧表示瞳孔。

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.

待"谢繁草 2024-10-15 10:56:59

所有人类都会眨眼,因此您可以使用人类的这一特性来跟踪视频中的眼睛。
提示:双眼同时眨动

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

姜生凉生 2024-10-15 10:56:59

您可能需要一些硬件才能做到这一点。然后,该设备的输出会为您提供一个测量值,您可以使用该测量值来计算用户在屏幕上注视的位置。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文