Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Vision Gesture Control

FreeNot checked

Vision Studio - Touchless Computer Vision, Gesture Recognition, 3D Kinematics & MCP Server (design influenced by Material 3)

GitHubEmbed

About

Vision Studio - Touchless Computer Vision, Gesture Recognition, 3D Kinematics & MCP Server (design influenced by Material 3)

README

🖐️ Vision Gesture Control

Ultra-Low-Latency Touchless Computer Vision, Gesture Recognition & Model Context Protocol (MCP) Engine

Live Workstation Dual Rails Pro License Python 3.9 - 3.13 OS Matrix MCP Ready License: MIT

Live Web Studio • Gesture Math Guide • MCP Integration Guide • Privacy & Security • Examples


🌟 Overview

Vision Gesture Control is an enterprise-grade, privacy-first computer vision framework designed for real-time human-computer interaction, touchless UI navigation, 3D air drawing, and seamless Model Context Protocol (MCP) connectivity with autonomous AI agents (Claude Desktop, Cursor, Cline, Zed, and custom LLM tool loops).

Operating with sub-15ms pipeline latency and zero external tracking dependencies, Vision Gesture Control processes all video frames locally in volatile memory, extracting 21 three-dimensional hand landmarks and facial telemetry metrics (EAR/MAR) without persisting or transmitting raw video frames.


🚀 Key Features

  • ⚡ Sub-15ms Latency Engine: Real-time landmark extraction with 1€ (OneEuro) and Kalman adaptive smoothing filters.
  • 🖐️ 21-Joint 3D Hand Tracking: Complete kinematic joint topology with trigonometric joint angle calculations.
  • 🤖 Native Model Context Protocol (MCP): Turn your physical gestures into AI agent tool invocations with zero setup.
  • 🎨 Material 3 Vision Studio: Clean, responsive, offline-first light mode UI (design influenced by Material 3) with 4 interactive workspaces.
  • 📑 Touchless Presentation Controller: Hands-free slide deck navigation with index finger laser pointer and dwell actions.
  • 🖌️ Spatial Air-Drawing Canvas: Smooth 3D finger painting, color palette selection, and PNG export.
  • 🔒 100% Local-First Privacy: Frames are processed purely in-memory and discarded immediately; zero cloud exfiltration.
  • 🧪 15-Job CI Matrix Tested: Verified on Ubuntu, macOS, and Windows across Python 3.9, 3.10, 3.11, 3.12, and 3.13.

🏗️ Architecture

┌─────────────────────────────────────────────────────────────┐
│                 Webcam / Video Device Feed                  │
└──────────────────────────────┬──────────────────────────────┘
                               │ 640x480 @ 60 FPS (In-Memory)
                               ▼
┌─────────────────────────────────────────────────────────────┐
│                 Landmark Extraction Engine                  │
│             (21 3D Spatial Joints + Face Mesh)              │
└──────────────────────────────┬──────────────────────────────┘
                               │
                ┌──────────────┴──────────────┐
                ▼                             ▼
┌───────────────────────────────┐ ┌───────────────────────────┐
│     Vector Geometry Engine    │ │  1€ Adaptive Jitter Filter│
│  (Angles, Distance, Normals)  │ │ (Velocity-based smoothing)│
└───────────────┬───────────────┘ └───────────┬───────────────┘
                │                             │
                └──────────────┬──────────────┘
                               ▼
┌─────────────────────────────────────────────────────────────┐
│                 Gesture State Machine Engine                │
│    (Open Palm, Pinch, Point, Victory, Fist, Swipe, Dwell)   │
└───────────────┬─────────────────────────────┬───────────────┘
                │                             │
                ▼                             ▼
┌───────────────────────────────┐ ┌───────────────────────────┐
│   Interactive Web Studio      │ │ MCP Server for AI Agents  │
│   • Presentation Controller   │ │ • Claude Desktop          │
│   • Air Drawing Canvas        │ │ • Cursor / Cline / Zed    │
│   • Visual Filters/Telemetry  │ │ • Autonomous Tool Loops   │
└───────────────────────────────┘ └───────────────────────────┘

⚡ Quick Start

1. Installation

# Clone the repository
git clone https://github.com/google/vision-gesture-control.git
cd vision-gesture-control

# Install with pip
pip install -e .

2. Launch Vision Studio (Web UI)

Open public/index.html in any modern web browser or serve it locally:

python3 -m http.server 8000 --directory public

Navigate to http://localhost:8000 to access the interactive 4-tab Vision Studio (design influenced by Material 3)!


🤖 Model Context Protocol (MCP) Integration

Integrate Vision Gesture Control with Claude Desktop, Cursor, Cline, or Zed in seconds!

Claude Desktop Configuration

Add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "vision-gesture-control": {
      "command": "python",
      "args": ["-m", "vision_gesture_control.mcp"]
    }
  }
}

Supported MCP Tools:

Tool Name Description
get_active_gesture Returns the currently recognized gesture, confidence, and handedness
get_hand_landmarks Returns normalized 3D coordinates $(X, Y, Z)$ for all 21 hand joints
trigger_key_event Injects virtual key presses (ArrowRight, ArrowLeft, Space, etc.)
capture_frame_telemetry Returns Eye Aspect Ratio (EAR), Mouth Aspect Ratio (MAR), and FPS
adjust_sensitivity Dynamically updates detection thresholds, dwell timers, and smoothing
get_system_health Performs health diagnostics on camera connectivity and pipeline latency

🐍 Python API Usage

from vision_gesture_control.engine import GestureEngine

# Initialize the real-time gesture engine
engine = GestureEngine(camera_index=0, smoothing_factor=0.6)

# Register a custom callback for swipe events
@engine.on("SWIPE_RIGHT")
def handle_swipe_right(event):
    print(f"👉 Swiped Right with confidence {event.confidence:.2f}!")

# Start the non-blocking background tracking loop
engine.start()

📂 Repository Structure

vision-gesture-control/
├── .github/
│   └── workflows/
│       ├── ci.yml                 # 15-job cross-platform CI matrix
│       └── release.yml            # Wheel packaging, checksums & GitHub release
├── docs/
│   ├── GESTURE_RECOGNITION_GUIDE.md # Landmark math, vector geometry & smoothing
│   ├── MCP_GUIDE.md               # MCP server & client integration specification
│   └── CAMERA_SECURITY_PRIVACY.md # Local-first in-memory privacy & GDPR compliance
├── examples/
│   ├── presentation-controller/   # Touchless slide deck web application
│   ├── air-drawing-app/           # 3D spatial air painting canvas
│   ├── mcp-clients/               # Client config JSONs for Claude, Cursor, Cline, Zed
│   └── README.md                  # Examples directory guide
├── public/
│   └── index.html                 # Vision Studio (Material 3 Light UI influenced)
├── src/
│   └── vision_gesture_control/    # Core Python package & MCP server
├── tests/
│   └── test_examples.py           # Comprehensive unit & integration test suite
└── README.md                      # This master documentation

🧪 Running Tests

Run the complete test suite locally with pytest:

PYTHONPATH=src pytest tests/test_examples.py -v

🔒 Security & Privacy

Vision Gesture Control strictly adheres to Zero-Knowledge Local Processing:

  • No video frames are ever recorded to persistent storage.
  • No network connections are initiated unless explicitly configured by the user.
  • Biometric landmarks are computed ephemerally in RAM and wiped upon stream close.

See docs/CAMERA_SECURITY_PRIVACY.md for full compliance audits.


📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


👤 Attribution & Author

Engineered by Neal Frazier
Neal Frazier Tech • NullAI Platform
GitHub: @1nc0gn30 • Web: nullai.tech • nealfrazier.tech

from github.com/1nc0gn30/vision-gesture-control

Install Vision Gesture Control in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install vision-gesture-control

Installs into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.

First time? Get the CLI: curl -fsSL https://unyly.org/install | sh

Or configure manually

Run in your terminal:

claude mcp add vision-gesture-control -- npx -y github:1nc0gn30/vision-gesture-control

Step-by-step: how to install Vision Gesture Control

FAQ

Is Vision Gesture Control MCP free?

Yes, Vision Gesture Control MCP is free — one-click install via Unyly at no cost.

Does Vision Gesture Control need an API key?

No, Vision Gesture Control runs without API keys or environment variables.

Is Vision Gesture Control hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Vision Gesture Control in Claude Desktop, Claude Code or Cursor?

Open Vision Gesture Control on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

LibreOffice Tools

Enables AI agents to read, write, and edit Office documents via LibreOffice with token-efficient design. Supports multiple formats including DOCX, XLSX, PPTX, a

passerbyflutterby passerbyflutter

Figma

Extract design specs and assets

Figmaby Figma

dannote/figma-use

Figma control: create shapes, text and components, and set styles, auto-layout, variables and exports.

dannoteby dannote

Logo.dev

Search and retrieve company logos by brand or domain. Customize size, format, and theme to match your design needs. Accelerate design, prototyping, and content

NOVA-3951by NOVA-3951

Design Inspiration Server

Searches top design platforms like Dribbble and Behance to provide UI inspiration, color palettes, and layout patterns via the Serper API. It allows users to re

YonasValentinby YonasValentin

PIX4Dmatic

Enables GUI automation for controlling PIX4Dmatic on Windows through MCP. Supports launching, focusing, capturing screenshots, sending hotkeys, clicking UI elem

jangjo123by jangjo123

mcp-dockmaster

An Open-Sourced UI to install and manage MCP servers for Windows, Linux and macOS.

by Community

ariekogan/ateam-mcp

Build, validate and deploy multi-agent AI solutions on the ADAS platform: design skills with tools and manage the solution lifecycle.

ariekoganby ariekogan

thinkchainai/mcpbundles

Create custom tool bundles, connect providers with OAuth or API keys, and use one MCP server across many integrations, with a UI for bundles and credentials.

thinkchainaiby thinkchainai

jau123/MeiGen-AI-Design-MCP

Image generation and editing with a curated prompt library, prompt enhancement and routing across local ComfyUI, MeiGen Cloud and OpenAI-compatible APIs.

jau123by jau123

Compare Vision Gesture Control with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All design MCPs