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网友回复
如何将linux服务器的文件目录映射到windows电脑磁盘?
Docling 与 MarkItDown 两个库有啥不同?
豆包收费后国产其他ai软件也会跟进收费吗?
JPEG 与 HEIF图片格式区别?
centos7版本太旧无法安装python3.11,如何在docker中运行python3.11?
python如何做个RPA按键精灵的程序?
写一个windows的cmd的python代码如何在命令行中捕获获取复制粘贴的图片?
如何将别人爆款的抖音短视频短剧文案提取为seedance2的提示词?
阿里云域名dns云解析10万次日限额如何应对?
windows电脑如何提交上架ipa苹果应用?


