Controle de cursor por gestos da mao via webcam, com holograma 3D opcional.
Project description
AI Virtual Mouse Controller
Controle seu computador com gestos da mão.
Webcam → 21 landmarks → cursor do sistema. Sem hardware extra. Sem GPU.
🖐️ move |
🤏 click |
🤞 right click |
✌️ double click |
✊ pausa |
Comece
Requer Python 3.11 ou 3.12 + webcam.
pip install ai-virtual-mouse-controller
avmc
Ou via clone:
git clone https://github.com/ognistie/ai-virtual-mouse-controller.git
cd ai-virtual-mouse-controller && py -3.11 -m venv .venv && .\.venv\Scripts\Activate.ps1
pip install -r requirements.txt && python main.py
Posicione a mão a ~50cm da câmera. H liga o holograma · S abre o painel · ESC sai.
Pré-requisitos por OS
| OS | Setup adicional |
|---|---|
| 🪟 Windows 10/11 | Nada. Funciona out-of-the-box após pip install. |
| 🍎 macOS | Após primeiro run, libere acesso em System Settings → Privacy & Security → Accessibility (cursor) e Camera (webcam). Em Apple Silicon: se PyAutoGUI reclamar, pip install pyobjc-core pyobjc. |
| 🐧 Linux (X11) | sudo apt install scrot python3-tk python3-dev (Ubuntu/Debian). PyAutoGUI precisa desses pra capturar tela. |
| 🐧 Linux (Wayland) | PyAutoGUI tem suporte limitado. Recomendado mudar pra sessão X11 ou rodar em modo headless de teste. |
Holograma 3D já vem incluído por padrão — basta apertar H em runtime. Em ambientes headless (server, sem display): use pip install ai-virtual-mouse-controller --no-deps + instale só as deps que precisa.
O que é
Sistema gestual de controle de cursor com qualidade comparável a periféricos físicos. MediaPipe identifica 21 pontos da sua mão em tempo real, uma state machine traduz gestos em comandos do SO, e um holograma 3D opcional renderiza tudo sobre o desktop.
Stack: Python 3.11+ · OpenCV · MediaPipe · PyAutoGUI · NumPy · ModernGL (opcional)
Quer entender a fundo? Documentação técnica →
Quer contribuir? Leia CONTRIBUTING.md · Achou bug? Abra issue
MIT © Guilherme Moraes Franco
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ai_virtual_mouse_controller-1.0.5.tar.gz.
File metadata
- Download URL: ai_virtual_mouse_controller-1.0.5.tar.gz
- Upload date:
- Size: 107.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7cce933126fca779a7e6c8334ef35963b6153cdb6fae352a48495763b099748
|
|
| MD5 |
8f5d6ba79b74bad44d45c82374b47d4e
|
|
| BLAKE2b-256 |
734d581830209826c06d29e7fe1e2365e6fc2db614c3922267a0323197fe915b
|
Provenance
The following attestation bundles were made for ai_virtual_mouse_controller-1.0.5.tar.gz:
Publisher:
publish.yml on ognistie/ai-virtual-mouse-controller
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ai_virtual_mouse_controller-1.0.5.tar.gz -
Subject digest:
f7cce933126fca779a7e6c8334ef35963b6153cdb6fae352a48495763b099748 - Sigstore transparency entry: 1757677310
- Sigstore integration time:
-
Permalink:
ognistie/ai-virtual-mouse-controller@caa98732cd1c3bbf734048a229bdabdb933e72f0 -
Branch / Tag:
refs/tags/v1.0.5 - Owner: https://github.com/ognistie
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@caa98732cd1c3bbf734048a229bdabdb933e72f0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ai_virtual_mouse_controller-1.0.5-py3-none-any.whl.
File metadata
- Download URL: ai_virtual_mouse_controller-1.0.5-py3-none-any.whl
- Upload date:
- Size: 102.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
364239aabee893d6b5f8d383b038203801dd7859e7bef850c83604b48b43418e
|
|
| MD5 |
244f9bd7b65ee6f7983053c4b3d5311d
|
|
| BLAKE2b-256 |
11a85235596e449996bf755ed0be28d5ba42d72b7f04089a93f624505df4257c
|
Provenance
The following attestation bundles were made for ai_virtual_mouse_controller-1.0.5-py3-none-any.whl:
Publisher:
publish.yml on ognistie/ai-virtual-mouse-controller
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ai_virtual_mouse_controller-1.0.5-py3-none-any.whl -
Subject digest:
364239aabee893d6b5f8d383b038203801dd7859e7bef850c83604b48b43418e - Sigstore transparency entry: 1757677398
- Sigstore integration time:
-
Permalink:
ognistie/ai-virtual-mouse-controller@caa98732cd1c3bbf734048a229bdabdb933e72f0 -
Branch / Tag:
refs/tags/v1.0.5 - Owner: https://github.com/ognistie
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@caa98732cd1c3bbf734048a229bdabdb933e72f0 -
Trigger Event:
push
-
Statement type: