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网友回复
如何用html写出网页滚动视频播放卡片视觉差异效果的代码?
程序员如何低成本搭建代理进行科学上网学习技术?
threejs如何做个三维搭积木的游戏?
three如何实现标记多个起始路过地点位置后选择旅行工具(飞机汽车高铁等),最后三维模拟行驶动画导出mp4?
ai实时驱动的3d数字人可视频聊天的开源技术有吗
swoole+phpfpm如何实现不同域名指向不同目录的多租户模式?
如何用go替换nginx实现请求phpfpm解析运行php脚本?
有没有浏览器离线运行进行各种文档、图片、视频格式转换的开源工具?
如何使用go语言搭建一个web防火墙?
linux如何检测特定网络协议比如http协议中报文是否包含特点关键词并阻止返回给客户?


