{"id":24576120,"url":"https://github.com/mogankumar/virtual-mouse","last_synced_at":"2026-04-10T20:44:05.755Z","repository":{"id":271783537,"uuid":"914550899","full_name":"Mogankumar/Virtual-mouse","owner":"Mogankumar","description":"A Python-based Virtual Mouse that uses hand gestures for cursor control, clicking, scrolling, and taking screenshots. Powered by OpenCV, PyAutoGUI, and a custom hand tracking module for a touch-free experience.","archived":false,"fork":false,"pushed_at":"2025-01-09T20:36:25.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T12:47:02.201Z","etag":null,"topics":["autopy","numpy","opencv","pyautogui","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mogankumar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-01-09T20:21:31.000Z","updated_at":"2025-01-13T15:41:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"e109b332-c943-431a-ab5f-8c073986f722","html_url":"https://github.com/Mogankumar/Virtual-mouse","commit_stats":null,"previous_names":["mogankumar/virtual-mouse"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Mogankumar/Virtual-mouse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mogankumar%2FVirtual-mouse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mogankumar%2FVirtual-mouse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mogankumar%2FVirtual-mouse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mogankumar%2FVirtual-mouse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mogankumar","download_url":"https://codeload.github.com/Mogankumar/Virtual-mouse/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mogankumar%2FVirtual-mouse/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265108514,"owners_count":23712466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["autopy","numpy","opencv","pyautogui","python3"],"created_at":"2025-01-23T22:21:31.620Z","updated_at":"2026-04-10T20:44:05.673Z","avatar_url":"https://github.com/Mogankumar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Virtual-mouse\n\nThis project implements a Virtual Mouse using computer vision and hand gesture recognition. It leverages a webcam to detect hand landmarks and performs actions such as moving the cursor, clicking, scrolling, and taking screenshots, making it a touch-free alternative for controlling a computer.\n\n**Features**\n1. Move Cursor: Control the mouse pointer using the index finger.\n2. Click: Perform a left-click by pinching the index and middle fingers together.\n3. Scroll: Scroll up or down using specific hand gestures.\n4. Take Screenshots: Capture the screen by making a designated gesture.\n5. Real-time FPS Display: Displays the frame rate (FPS) of the video feed for performance monitoring.\n\n **How It Works**\n1. Hand Detection:\n•Uses a hand tracking module to detect landmarks of the hand.\n•Identifies the index finger, middle finger, and thumb for specific gestures.\n2. Gesture Recognition:\n•Single Index Finger Up: Moves the cursor on the screen.\n•Pinch Gesture: Performs a left-click when the distance between the index and middle fingers is less than a threshold.\n•Thumb and Index Finger Gesture: Scrolls up or down.\n•Specific Gesture: Captures a screenshot.\n3. Mouse Control:\n•Cursor movements are smoothed for better accuracy.\n•Mouse control and clicks are performed using the autopy and PyAutoGUI libraries.\n\n**Example Gestures**\n   \n**Gesture\t                                Action**\n1. Index finger up\t                        - Move cursor\n2. Index + Middle fingers pinched\t        - Left click\n3. Thumb + Index\t                          - Scroll up/down\n4. All fingers out (specific gesture)\t    - Capture screenshot\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmogankumar%2Fvirtual-mouse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmogankumar%2Fvirtual-mouse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmogankumar%2Fvirtual-mouse/lists"}