{"id":34519494,"url":"https://github.com/maanjk/hand-gesture-virtual-mouse","last_synced_at":"2026-04-29T21:34:37.197Z","repository":{"id":327629824,"uuid":"1110119722","full_name":"maanjk/hand-gesture-virtual-mouse","owner":"maanjk","description":"Control your Windows mouse using hand gestures and a webcam with OpenCV and MediaPipe (move, click, drag, scroll).","archived":false,"fork":false,"pushed_at":"2025-12-04T18:58:53.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-08T02:37:39.341Z","etag":null,"topics":["ai","computer-vision","hand-tracking","mediapipe","opencv","python","virtual-mouse","virtual-mouse-using-hand-gesture"],"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/maanjk.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":"2025-12-04T18:33:41.000Z","updated_at":"2025-12-05T10:00:16.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/maanjk/hand-gesture-virtual-mouse","commit_stats":null,"previous_names":["maanjk/hand-gesture-virtual-mouse"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/maanjk/hand-gesture-virtual-mouse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maanjk%2Fhand-gesture-virtual-mouse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maanjk%2Fhand-gesture-virtual-mouse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maanjk%2Fhand-gesture-virtual-mouse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maanjk%2Fhand-gesture-virtual-mouse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maanjk","download_url":"https://codeload.github.com/maanjk/hand-gesture-virtual-mouse/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maanjk%2Fhand-gesture-virtual-mouse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32445469,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T20:22:27.477Z","status":"ssl_error","status_checked_at":"2026-04-29T20:22:26.507Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ai","computer-vision","hand-tracking","mediapipe","opencv","python","virtual-mouse","virtual-mouse-using-hand-gesture"],"created_at":"2025-12-24T04:35:58.551Z","updated_at":"2026-04-29T21:34:37.192Z","avatar_url":"https://github.com/maanjk.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI Virtual Mouse (Hand-Gesture Controlled Cursor)\n\nControl your mouse cursor using only your hand and a webcam.  \nThis project uses **OpenCV** and **MediaPipe Hands** to track your fingers in real time and map simple hand gestures to mouse actions.\n\n\u003e Tested on: Windows, Python 3.10, CPU-only\n\n---\n\n## ✨ Features\n\n- 🖱 **Cursor movement** – move the mouse pointer with your index finger\n- 👆 **Left click \u0026 double-click** – pinch **index + middle** fingers\n- ✊ **Drag and drop** – make a **fist** to grab, open your hand to release\n- ☝☝☝ **Scroll** – raise **3 fingers** (index, middle, ring) and move your hand up/down\n- 📝 **On-screen help** – live “Mode” text and gesture instructions drawn on the webcam feed\n\nThe implementation is lightweight and runs fully on the CPU using your normal webcam.\n\n---\n\n## 🧰 Requirements\n\n- **Python**: 3.10 (recommended)\n- **OS**: Windows (tested)\n- **Hardware**: Any basic webcam\n\n### Python dependencies\n\nDefined in `requirements.txt`:\n\n```text\nopencv-python\nmediapipe\nnumpy\npyautogui\n```\n---\n\n## 🚀 Installation\nClone the repo and set up a virtual environment.\n\n## Bash\n```text\n# 1. Clone the repository\ngit clone https://github.com/maanjk/hand-gesture-virtual-mouse.git\ncd hand-gesture-virtual-mouse\n\n# 2. Create a virtual environment (Windows)\npython -m venv venv\n\n# 3. Activate the virtual environment (Windows)\nvenv\\Scripts\\activate\n\n# 4. Install dependencies\npip install -r requirements.txt\n```\n\n## On macOS / Linux, activation would be:\n```text\nsource venv/bin/activate\n```\n\n## ▶️ Usage\nBash\n```text\npython virtual_mouse.py\nA window titled \"AI Virtual Mouse\" will open.\nPress q (with the window focused) to quit.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaanjk%2Fhand-gesture-virtual-mouse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaanjk%2Fhand-gesture-virtual-mouse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaanjk%2Fhand-gesture-virtual-mouse/lists"}