{"id":51306371,"url":"https://github.com/sbnet/gesture","last_synced_at":"2026-07-01T00:02:09.661Z","repository":{"id":362360391,"uuid":"1258687923","full_name":"sbnet/gesture","owner":"sbnet","description":"Real-time hand gesture recognition using MediaPipe and OpenCV. Detects hand landmarks from a webcam feed and classifies gestures with a wireframe skeleton overlay","archived":false,"fork":false,"pushed_at":"2026-06-03T20:43:01.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-03T22:16:04.628Z","etag":null,"topics":["gesture","opencv","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sbnet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-03T20:26:28.000Z","updated_at":"2026-06-03T20:44:31.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/sbnet/gesture","commit_stats":null,"previous_names":["sbnet/gesture"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/sbnet/gesture","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbnet%2Fgesture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbnet%2Fgesture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbnet%2Fgesture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbnet%2Fgesture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sbnet","download_url":"https://codeload.github.com/sbnet/gesture/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbnet%2Fgesture/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34987611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-30T02:00:05.919Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gesture","opencv","python"],"created_at":"2026-07-01T00:02:07.561Z","updated_at":"2026-07-01T00:02:09.647Z","avatar_url":"https://github.com/sbnet.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hand-wire-demo\n\nReal-time hand gesture recognition using MediaPipe and OpenCV. Detects hand landmarks from a webcam feed and classifies gestures with a wireframe skeleton overlay.\n\n![Python 3.11+](https://img.shields.io/badge/python-3.11+-blue) ![License MIT](https://img.shields.io/badge/license-MIT-green)\n\n## Demo\n\nThe app renders a live wireframe of 21 hand landmarks and displays the recognized gesture in the top-left corner.\n\n**Supported gestures:** Open Palm · Fist · Peace · Point · Thumbs Up · OK · Rock\n\n## Requirements\n\n- Python 3.11+\n- A webcam\n- [uv](https://docs.astral.sh/uv/) (recommended) or pip\n\n## Installation\n\n```bash\ngit clone git@github.com:sbnet/gesture.git\ncd gesture\nuv sync          # or: pip install -e .\n```\n\nOn first run the app downloads the MediaPipe hand landmark model (~1 MB) to `~/.cache/hand-wire-demo/`.\n\n## Usage\n\n```bash\nuv run hand-wire-demo\n```\n\n### Options\n\n| Flag | Default | Description |\n|------|---------|-------------|\n| `--camera`, `-c` | `0` | Webcam device index |\n| `--width` | `1280` | Frame width |\n| `--height` | `720` | Frame height |\n| `--max-hands` | `1` | Maximum hands to detect simultaneously |\n| `--model-complexity` | `1` | `0` = fast, `1` = full accuracy |\n| `--min-detection-confidence` | `0.6` | Detection confidence threshold |\n| `--min-tracking-confidence` | `0.5` | Tracking confidence threshold |\n| `--mirror` / `--no-mirror` | mirror on | Flip image horizontally |\n| `--debug` | off | Show landmark indices and raw feature values |\n\n```bash\n# Examples\nuv run hand-wire-demo --camera 1 --debug\nuv run hand-wire-demo --no-mirror --max-hands 2\n```\n\nPress **Q** or **Esc** to quit.\n\n## Development\n\n```bash\nuv sync --dev\n\n# Lint \u0026 format\nuv run ruff check src tests\nuv run ruff format src tests\n\n# Type check\nuv run mypy src\n\n# Tests\nuv run pytest\nuv run pytest --cov=hand_wire_demo --cov-report=term-missing\n```\n\nCI runs on Python 3.11 and 3.12 via GitHub Actions (lint → format → type check → tests).\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbnet%2Fgesture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsbnet%2Fgesture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbnet%2Fgesture/lists"}