Skip to main content

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.

CI Version Python License

Webcam → 21 landmarks → cursor do sistema. Sem hardware extra. Sem GPU.



🖐️ move

🤏 click

🤏 right click

✌️ double click

✊ pausa

Site oficial →  ·  Guia de uso →


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

ai_virtual_mouse_controller-1.0.6.tar.gz (105.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_virtual_mouse_controller-1.0.6-py3-none-any.whl (101.5 kB view details)

Uploaded Python 3

File details

Details for the file ai_virtual_mouse_controller-1.0.6.tar.gz.

File metadata

File hashes

Hashes for ai_virtual_mouse_controller-1.0.6.tar.gz
Algorithm Hash digest
SHA256 8250350ea90a6d0c929d0e68d4a5e09610fead66d6b659a0b2da2516172a4312
MD5 d70e19a7c793dc2763e9a316397c5b29
BLAKE2b-256 94ceb64ea8fbd1866e25e089dfa4bff9b3d8f97c2fdff46d63584ae641ca9044

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_virtual_mouse_controller-1.0.6.tar.gz:

Publisher: publish.yml on ognistie/ai-virtual-mouse-controller

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ai_virtual_mouse_controller-1.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for ai_virtual_mouse_controller-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 5b4d0924d76547b61386dd150187e35273168733f489e51b8d75171696c1b86b
MD5 d13d17cac14ade7aa3d7c9fd4a460c2d
BLAKE2b-256 ccc6acbde1a39f05b9a6521c3ef09a972ca2415d45f4ec1011f18c4fbc4027cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_virtual_mouse_controller-1.0.6-py3-none-any.whl:

Publisher: publish.yml on ognistie/ai-virtual-mouse-controller

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page