https://github.com/maplelost/lazyeat
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!
https://github.com/maplelost/lazyeat
accessibility application computer-vision gesture-detection gesture-recognition hands-free mediapipe mediapipe-hands multitasking productivity-tool python tauri tauri-app vue3 webcam-hacks windows
Last synced: 15 days ago
JSON representation
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!
- Host: GitHub
- URL: https://github.com/maplelost/lazyeat
- Owner: maplelost
- License: agpl-3.0
- Created: 2025-03-04T13:39:06.000Z (about 2 months ago)
- Default Branch: master
- Last Pushed: 2025-04-07T03:26:02.000Z (16 days ago)
- Last Synced: 2025-04-07T03:28:59.339Z (16 days ago)
- Topics: accessibility, application, computer-vision, gesture-detection, gesture-recognition, hands-free, mediapipe, mediapipe-hands, multitasking, productivity-tool, python, tauri, tauri-app, vue3, webcam-hacks, windows
- Language: Vue
- Homepage:
- Size: 10.8 MB
- Stars: 484
- Watchers: 4
- Forks: 18
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

[English README](README_EN.md)
# 🍕 Lazyeat
Lazyeat 吃饭时看剧/刷网页不想沾油手?
对着摄像头比划手势就能暂停视频/全屏/切换视频!
如果你觉得对你有用的话,不妨给我一个 star⭐ 吧~
如果有任何的想法或者建议,都可以在QQ 群 [452246065](https://jq.qq.com/?_wv=1027&k=452246065) 中讨论喔!
## 功能
* 单指滑动控制光标
* 双指/Rock 执行鼠标单击
* 三指上下移动控制页面滚动
* 四指并拢发送按键
* 支持语音输入
# 🌠 截图
视频演示:https://www.bilibili.com/video/BV11SXTYTEJi/?spm_id_from=333.1387.homepage.video_card.click

# 快速开始
```
# 版本号声明
\Desktop\lazyeat> python --version
Python 3.11.11Desktop\lazyeat> rustc --version
rustc 1.85.1 (4eb161250 2025-03-15)\Desktop\lazyeat> node --version
v22.14.0
```1. 安装 [rust](https://www.rust-lang.org/zh-CN/tools/install)
2. 安装 [nodejs](https://nodejs.org/zh-cn/)
3. 执行下面命令```bash
# 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.py`。
`npm run tauri dev` 需要先生成 [tauri.conf.json](src-tauri/tauri.conf.json) 中编写的 sidecar。
详见:https://v2.tauri.app/zh-cn/develop/sidecar/# 📢 语音识别模型下载
[小模型](https://alphacephei.com/vosk/models/vosk-model-small-cn-0.22.zip)
[大模型](https://alphacephei.com/vosk/models/vosk-model-cn-0.22.zip)
下载后解压到 `exe` 同级的 `model` 文件夹下,才能使用语音识别功能

# 📝 TODO
- [ ] (2025 年 3 月 12 日) 嵌入 browser-use ,语音控制浏览器
- [ ] (2025 年 3 月 24 日) 开发安卓版本[//]: # "# 📚 References"
# Star History
[](https://www.star-history.com/#maplelost/lazyeat&Date)
# 开发问题
tauri build 失败:[tauri build 失败](https://github.com/tauri-apps/tauri/issues/7338)
cargo 被墙:[cargo 被墙,换源](https://www.chenreal.com/post/599)
```
# 不知道有没有用
rm -rf ~/.cargo/.package-cache
```