跳到正文

正在自动登录…

← 返回项目列表

abouchedidxcode/open-source-hands

手势识别游戏开发

这是一个用于在浏览器中制作基于摄像头手势游戏的工具包,包含手势识别引擎、示例游戏和开发指南,适合游戏开发者或使用AI编程代理快速创建手势交互游戏。

AI 中文解读 · 根据仓库描述与 README 生成 · 2026/11/4 04:42:09 · 查看原文

值得看TypeScript库与框架兼有 应用与服务
累计 Stars
53
当前热度
1 天内 · 小火
仓库创建时间
打开 GitHub ↗项目网站 ↗

选用指南

AI 根据 README 整理 · 2026/11/4 04:42:09

使用方式

可通过命令行使用npm安装和运行,或复制kit文件夹到现有项目中使用。

查看 README 依据
Point it here. The repo is written to be read by agents. [AGENTS.md](AGENTS.md) is the entry point. For example: > Make me a browser game where I conduct an orchestra with my hands. Use > https://github.com/abouchedidxcode/open-source-hands: start from templates/game and follow AGENTS.md and > docs/MAKING-A-GAME.md. Claude Code users can also install the skill in [`skills/hand-gestures`](skills/hand-gestures/SKILL.md). ## Make a game ```bash npx degit abouchedidxcode/open-source-hands/templates/game my-game cd my-game npm install npm run dev # the camera needs https or localhost
The kit is about 1,600 lines of dependency-free TypeScript in `src/kit`. Copy that folder into your project, the way shadcn/ui components are copied: ```bash npx degit abouchedidxcode/open-source-hands/src/kit src/hand-gesture-kit npm install @mediapipe/tasks-vision@1.1.0 mkdir -p public/models public/wasm curl -L -o public/models/hand_landmarker.task \ https://storage.googleapis.com/mediapipe-models/hand_landmarker/hand_landmarker/float16/1/hand_landmarker.task cp node_modules/@mediapipe/tasks-vision/wasm/* public/wasm/ ``` ```ts
部署要求

需要浏览器支持摄像头,且需在localhost或https环境下运行。

查看 README 依据
Point it here. The repo is written to be read by agents. [AGENTS.md](AGENTS.md) is the entry point. For example: > Make me a browser game where I conduct an orchestra with my hands. Use > https://github.com/abouchedidxcode/open-source-hands: start from templates/game and follow AGENTS.md and > docs/MAKING-A-GAME.md. Claude Code users can also install the skill in [`skills/hand-gestures`](skills/hand-gestures/SKILL.md). ## Make a game ```bash npx degit abouchedidxcode/open-source-hands/templates/game my-game cd my-game npm install npm run dev # the camera needs https or localhost
已知限制

实验性手势默认关闭,需通过配置启用。

查看 README 依据
Experimental (off with `config: { pose: { experimental: false } }`): 🤚 `back`, 🔪 `chop`, 🫸 `two`, 🖖 `spock`. Poses are data, and motions are small functions, so you can add your own with `engine.registerPose()` and `engine.registerMotion()`. ## How it works ``` webcam ─▶ MediaPipe Hand Landmarker ─▶ 21 points per hand ─▶ One Euro smoothing ─▶ features: finger curl from joint angles, pinch gaps, palm facing, roll, size ─▶ poses: every pose scored each frame, debounced with enter/exit thresholds ─▶ motions: detectors over the last 1.6 s of each hand's movement

README

正在加载 README…

收录信息

仓库创建时间
2026/11/3 08:40:59
首次达标收录
2026/11/4 04:36:48
统计更新时间
2026/11/4 07:11:41

按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。

模型评估

值得看加权总分 4.0 / 5

新颖度
3.4
实用价值
3.9
成熟度
4.9
实质含量
4.0

由 Jev 模型根据仓库描述与 README 评估,2026/11/4 04:36:48 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。

仓库信息

最近推送
2026/11/3 09:12:35
许可证标识
MIT
Fork 数
6
当前状态
未归档

收录记录

按创建时长与累计 Stars 首次收录:小火
首次发现项目