{"id":26783450,"url":"https://github.com/ishubhranshu/hand_gesture_control","last_synced_at":"2026-05-15T21:04:26.484Z","repository":{"id":188717292,"uuid":"679291892","full_name":"ishubhranshu/hand_gesture_control","owner":"ishubhranshu","description":"Real-time hand gesture recognition using MediaPipe and TensorFlow for controlling mouse, scrolling, and task view with dynamic gestures.","archived":false,"fork":false,"pushed_at":"2025-02-11T16:42:15.000Z","size":33970,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-01T03:50:57.910Z","etag":null,"topics":["computer-vision","deep-learning","jupyter-notebook","machine-learning","neural-network","project","python"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/ishubhranshu.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":"2023-08-16T14:10:46.000Z","updated_at":"2025-02-11T16:42:19.000Z","dependencies_parsed_at":"2025-03-29T09:39:59.464Z","dependency_job_id":null,"html_url":"https://github.com/ishubhranshu/hand_gesture_control","commit_stats":null,"previous_names":["ishubhranshu/gesture_mouse","ishubhranshu/hand_gesture_control"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ishubhranshu/hand_gesture_control","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ishubhranshu%2Fhand_gesture_control","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ishubhranshu%2Fhand_gesture_control/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ishubhranshu%2Fhand_gesture_control/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ishubhranshu%2Fhand_gesture_control/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ishubhranshu","download_url":"https://codeload.github.com/ishubhranshu/hand_gesture_control/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ishubhranshu%2Fhand_gesture_control/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33080379,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:25:35.270Z","status":"ssl_error","status_checked_at":"2026-05-15T20:25:34.732Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["computer-vision","deep-learning","jupyter-notebook","machine-learning","neural-network","project","python"],"created_at":"2025-03-29T09:29:42.768Z","updated_at":"2026-05-15T21:04:26.468Z","avatar_url":"https://github.com/ishubhranshu.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hand Gesture Control: Real-Time Mouse and Scroll Controller\n\n![Gesture UI Mapping](images/gestures.png)\n\n## Table of Contents\n\n- [Introduction](#introduction)\n- [Features](#features)\n- [Demo](#demo)\n- [File Description](#file-description)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Gesture Controls](#gesture-controls)\n\n## Introduction\n\nWelcome to **Hand Gesture Control**, a real-time hand gesture recognition system that allows you to control your computer's mouse and scrolling functionalities using simple hand gestures. Leveraging **MediaPipe** for landmark detection, **TensorFlow** for gesture classification, and **PyAutoGUI** for automating mouse and keyboard actions, this project provides an intuitive and seamless way to interact with your computer without the need for traditional input devices.\n\n## Features\n\n- **Real-Time Gesture Recognition**: Detects and classifies hand gestures in real-time using your webcam.\n- **Mouse Movement Control**: Move the mouse cursor smoothly across the screen based on hand movements.\n- **Click Actions**: Perform mouse clicks with specific gestures.\n- **Smooth Scrolling**: Scroll up and down smoothly using designated gestures.\n- **Task View Activation**: Trigger system-level actions like opening Task View with gestures.\n- **Visual Feedback**: Displays predicted gestures and current actions on the video feed for better user awareness.\n\n## Demo\n\n![Demo GIF](images/demo.gif)\n\n*Figure: Demonstration of hand gestures controlling the mouse and scrolling actions.*\n\n## Installation\n\n### Prerequisites\n\n- **Python 3.7 or higher**: Ensure you have Python installed. You can download it from [here](https://www.python.org/downloads/).\n- **Webcam**: A functional webcam for capturing hand gestures.\n\n### Clone the Repository\n\n```bash\ngit clone https://github.com/ishubhranshu/hand_gesture_control.git\ncd hand-gesture-control\n```\n\n## Files Description\n\n### record_dataset.ipynb\n- Captures hand gestures in real-time using a webcam and MediaPipe Hands, identifying and normalizing 21 key landmarks for gesture classification.\n- Users assign gestures to specific classes (0–4) using keyboard inputs (e.g., pressing \"1\" for Class 0). The program collects up to 1000 samples per class.\n- Saves all collected data to a CSV file, either creating a new file or appending to an existing one to enable incremental data collection.\n\n### train_infer.ipynb\n- Loads a CSV dataset containing hand gesture landmarks and their corresponding classes, splits the data into training and testing sets, and scales features using a StandardScaler.\n- A neural network with two dense hidden layers and dropout is trained for gesture classification. The best model is saved using checkpoints and as a final .h5 file.\n- The trained model is used to predict gestures in real-time via webcam feed, with gestures mapped to specific actions like mouse movement, clicks, and scrolling.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fishubhranshu%2Fhand_gesture_control","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fishubhranshu%2Fhand_gesture_control","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fishubhranshu%2Fhand_gesture_control/lists"}