下载地址
由于此项目包含调用多个类库和文件,所以仅提供GitHub下载地址:
https://github.com/dbgba/VisualGestureRecognition
点击 “Code” 里的,”Download ZIP”即可下载源代码包
项目简介
基于AutoHotkey制作的摄像头手势识别软件。能让你的电脑摄像头在识别手势后,执行自定义的电脑操作命令。同时也集成了语音识别功能,可调用Windows自带API实现简单的语音助手功能。
手势识别调用了高性能的Mediapipe动态链接库来免部署实现。而电脑自动化操作使用AutoHotkey脚本语言来实现,它能更方便的对电脑进行深度调用和流程自动化处理。
使用介绍
测试环境:Win10 64位(专业版完整镜像)
第一次运行 Visual_Gesture_Recognition.exe时,会提示下载手势识别的依赖包。点击确定后,跟着提示点击自动下载。
等待下载完成后,软件会自动解压并适配手势识别功能。
之后就可以对你的摄像头进行手势识别控制了。下图示例为:当双手抬起并竖起大拇指时,就执行打开网页并放大网页。
软件还附带了调用Windows自带API来实现的免费语音助手。
更多玩法和用法,请详见设置与帮助的具体说明。例如:当摄像头中有人时,自动切换到虚拟桌面。 想创造更多自动化玩法组合,可使用软件附带的生成快捷代码和AHK中文帮助文档来实现自己的定制需求。
注意事项
此exe文件为AutoHotkey开源项目,请将其加入杀毒-信任区。避免不必要的麻烦。
手势识别需要借助电脑的摄像头实现(任意摄像头都行),而语音识别需要接电脑麦克风实现。由于语音识别是调用Windows自带API来实现的,有些系统为了缩减体积会删掉此语音识别播报API导致无效。用原版镜像上安装的系统基本都不会出这问题。
我添加了4个手势依赖包的镜像源供高速下载,如果出现某个镜像源无法下载的情况。可根据弹出提示点击重新换源下载即可。如果镜像源和官方源自动下载都失效,只能自行想办法从官方GitHub下载”GoogleMediapipePackageDll-main.zip”压缩包后,将压缩包存放在”Lib”目录中,重启软件即可识别压缩包并解压适配手势识别功能。
感谢以下项目
https://github.com/peng-zhihui/ElectronBot
https://github.com/HW140701/GoogleMediapipePackageDll
Written for English-speaking users
Due to my poor English and the extensive use of Chinese variable names in the script. This makes it difficult to convert to an English interface. However, I have left comments in the "Lib", "_Mediapipedll.ahk" and "_SpeechRecognition.ahk" in English. By moving them to the root directory, the Gui interface can be removed and run independently, so that the calling code can also be read efficiently.
- Home Board index Other languages 中文 (Chinese) 脚本函数
- Search
-
- It is currently 22 May 2024, 20:37
- All times are UTC-05:00
基于Mediapipe的摄像头手势识别
许多实用脚本和封装函数, 可以让您编写脚本更加便捷高效
Moderators: tmplinshi, arcticir
Jump to
- AutoHotkey Foundation
- ↳ About This Community
- ↳ Forum Issues
- AutoHotkey (v2, current version)
- ↳ Ask for Help (v2)
- ↳ Gaming
- ↳ Scripts and Functions (v2)
- ↳ Gaming
- ↳ Tutorials (v2)
- ↳ Tips and Tricks
- ↳ Wish List
- ↳ Suggestions on Documentation Improvements
- ↳ Bug Reports
- ↳ AutoHotkey Development
- ↳ AutoHotkey_H
- ↳ Ask for Help
- ↳ Development
- ↳ Editors
- ↳ Adventure IDE
- ↳ Old Topics
- ↳ AHK Studio
- ↳ Notepad++
- ↳ Pulovers Macro Creator
- ↳ SciTE4AutoHotkey
- ↳ Visual Studio Code
- ↳ Announcements
- ↳ General Discussion
- AutoHotkey (v1.1 and older)
- ↳ Ask for Help (v1)
- ↳ Gaming Help (v1)
- ↳ Scripts and Functions (v1)
- ↳ Gaming Scripts (v1)
- ↳ Tutorials (v1)
- ↳ Tips and Tricks (v1)
- General
- ↳ Other Utilities & Resources
- ↳ Other Programming Languages
- ↳ C/C++
- ↳ ASM
- ↳ C#
- ↳ KeySharp
- ↳ Off-topic Discussion
- ↳ RPA
- Other languages
- ↳ Looking for Volunteers in other languages
- ↳ Deutsch (German)
- ↳ Ich brauche Hilfe
- ↳ Spiele
- ↳ Skripte und Funktionen
- ↳ Tutorials
- ↳ Tooltime
- ↳ Allgemeines
- ↳ 中文 (Chinese)
- ↳ 请求帮助
- ↳ 脚本函数
- ↳ 教程资料
- ↳ 相关工具
- ↳ 其他
- ↳ Español (Spanish)
- ↳ Pedir Ayuda
- ↳ Automatización de Juegos
- ↳ Scripts y Funciones
- ↳ Tutoriales
- ↳ Otras Utilidades y Recursos
- ↳ General
- ↳ Русский (Russian)
- ↳ Помощь
- ↳ Скрипты для Игр
- ↳ Скрипты и библиотеки
- ↳ Статьи и руководства
- ↳ Прочие ресурсы и ПО.
- ↳ Свободное общение
- ↳ Français (French)
- ↳ J'ai besoin d'aide
- ↳ Scripts et Fonctions
- ↳ Tutoriels
- ↳ Autres Utilitaires et Ressources
- ↳ Hors Sujet
- ↳ Português (Portuguese)
- ↳ Ajuda e Suporte Geral
- ↳ Scripts e Funções
- ↳ Tutoriais
- ↳ Outras Ferramentas e Recursos
- ↳ Outros Assuntos
- ↳ 한국어 (Korean)