EyeGestures:零门槛开源眼动追踪
只需一台普通摄像头,即可把笔记本或手机变成高精度眼动仪。项目亮点
• 开源免费:MIT 许可证,GitHub 与 PyPI 一键获取
• 零硬件门槛:720p 网络摄像头 / 手机前置相机即可运行
• 跨平台:Python 库 + JavaScript 版本,支持 Windows / macOS / Linux / Web
• 精度:MIT GazeCapture 数据集验证,误差 ≈ 0.6-1°• 易集成:三行代码完成注视点检测
安装:pip install eyeGestures
示例代码
from eyeGestures.utils import VideoCapture from eyeGestures import EyeGestures_v3 # Initialize gesture engine and video capture gestures = EyeGestures_v3() cap = VideoCapture(0) calibrate = True screen_width = 500 screen_height= 500 # Process each frame while True: ret, frame = cap.read() event, cevent = gestures.step(frame, calibrate, screen_width, screen_height, context="my_context") if event: cursor_x, cursor_y = event.point[0], event.point[1] fixation = event.fixation saccades = event.saccadess # saccadess movement detector # calibration_radius: radius for data collection during calibration
典型应用
辅助交互:眼控鼠标、打字、翻页,残障人士可用
隐私保护:EyeFocus 应用,视线离开即自动模糊屏幕
市场&教育:EyePointer 在线平台 5 美元/月即可收集大规模眼动数据
https://github.com/NativeSensors/EyeGestures网友回复
浏览器中如何实时调用摄像头扫描二维码?
grok4、gemini2.5pro、gpt5、claude4.1到底谁的编程能力更强一些?
python能将2d平面户型图转换成3d三维户型效果图吗?
有没有什么办法将网页的指定dom元素及子元素的所有css导出?
如何避免调用ai大模型api对话的时候用户让他说出自己的系统提示词?
textarea如何实现标签tag式输入和自由文本结合?
如何用js实现两个textarea的文本内容差异化对比同步滚动?
如何用html写出一个调用大模型api实现ai下象棋的游戏?
ai生成软著软件著作权材料的ai提示词怎么写?
如何给网页富文本编辑器增加ai续写、ai润色优化等功能?