用C ++和Opencv凝视的点/区域 [英] Point/Area of gaze with C++ and Opencv

查看:56
本文介绍了用C ++和Opencv凝视的点/区域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用OpenCV制作了一个C ++程序,以允许使用网络摄像头识别我的脸和眼睛.然后,我想确定学生的中心,然后确定屏幕上的视点或视线范围.有人知道该怎么做吗?请不要我的程序使用简单的计算机网络摄像头.预先感谢您的建议.

I made a C++ program using OpenCV to allow the use of my webcam to recognize my face and my eyes. I would then like to determine the center of my pupils and then the point or area of gaze on my screen. Does anybody know how to do that? Please not my program uses a simple computer webcam. Thank you in advance for your advice.

推荐答案

我认为我的Optimeyes项目在这里:

I think my Optimeyes project here:

https://github.com/LukeAllen/optimeyes

可以满足您的需求:瞳孔检测和注视跟踪.其随附的理论论文" pdf讨论了操作原理,并参考了其他论文.该项目是使用OpenCV的Python版本编写的,但是欢迎您将其移植到C ++!

does what you're looking for: pupil detection and gaze tracking. Its included "Theory Paper" pdf discusses the principles of operation, and has references to other papers. The project was written using the Python version of OpenCV but you're welcome to port it to C++!

这篇关于用C ++和Opencv凝视的点/区域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆