Skip to content

Lazyeat 吃饭时看剧/刷网页不想沾油手? 对着摄像头比划手势就能暂停视频/全屏/切换视频!Lazyeat is a touch-free controller for use while eating! Don't want greasy hands while watching shows or browsing the web during meals? You can pause videos/full screen/switch videos just by gesturing to the camera!

License

Notifications You must be signed in to change notification settings

maplelost/lazyeat

Repository files navigation

🍕 Lazyeat

Lazyeat 吃饭时看剧/刷网页不想沾油手?

对着摄像头比划手势就能暂停视频/全屏/切换视频!

如果你觉得对你有用的话,不妨给我一个 star⭐ 吧~

如果有任何的想法或者建议,都可以在QQ 群 452246065 中讨论喔!

功能

  • 单指滑动控制光标
  • 双指/Rock 执行鼠标单击
  • 三指上下移动控制页面滚动
  • 四指并拢发送按键
  • 支持语音输入

demo.gif

🌠 截图

视频演示:https://www.bilibili.com/video/BV11SXTYTEJi/?spm_id_from=333.1387.homepage.video_card.click

img.png

快速开始

# 版本号声明
\Desktop\lazyeat> python --version
Python 3.11.11

Desktop\lazyeat> rustc --version
rustc 1.85.1 (4eb161250 2025-03-15)

\Desktop\lazyeat> node --version
v22.14.0
  1. 安装 rust
  2. 安装 nodejs
  3. 执行下面命令
# 1. 安装 npm 以及 python 环境
npm run install-reqs

# 2. build tauri 图标
npm run build:icons

# 3. pyinstaller 打包
npm run py-build

# 4. 下载语音识别模型并解压到项目目录 model 文件夹下
https://alphacephei.com/vosk/models/vosk-model-small-cn-0.22.zip

# 5. tauri 开发模式
npm run tauri dev

# 6. tauri 生产构建
# npm run tauri build

如果你需要 debug 后端,那么先 pyinstaller 打包,再运行 python src-py/main.pynpm run tauri dev 需要先生成 tauri.conf.json 中编写的 sidecar。 详见:https://v2.tauri.app/zh-cn/develop/sidecar/

📢 语音识别模型下载

小模型

大模型

下载后解压到 exe 同级的 model 文件夹下,才能使用语音识别功能

img.png

📝 TODO

  • (2025 年 3 月 12 日) 嵌入 browser-use ,语音控制浏览器
  • (2025 年 3 月 24 日) 开发安卓版本

Star History

Star History Chart

开发问题

tauri build 失败:tauri build 失败

cargo 被墙:cargo 被墙,换源

# 不知道有没有用
rm -rf ~/.cargo/.package-cache

About

Lazyeat 吃饭时看剧/刷网页不想沾油手? 对着摄像头比划手势就能暂停视频/全屏/切换视频!Lazyeat is a touch-free controller for use while eating! Don't want greasy hands while watching shows or browsing the web during meals? You can pause videos/full screen/switch videos just by gesturing to the camera!

Topics

Resources

License

Stars

Watchers

Forks