{"id":23681344,"url":"https://github.com/rishraks/hand_gesture_volume_control","last_synced_at":"2026-04-29T09:05:10.833Z","repository":{"id":269534710,"uuid":"907714978","full_name":"rishraks/Hand_Gesture_Volume_Control","owner":"rishraks","description":"This project implements a hand gesture-based volume control system using a webcam. By detecting the distance between the thumb and index finger using MediaPipe and OpenCV, the system adjusts audio volume in real time via Pycaw. It features smooth volume transitions and intuitive control for a seamless user experience.","archived":false,"fork":false,"pushed_at":"2024-12-27T07:05:38.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-28T20:58:20.686Z","etag":null,"topics":["computer-vision","gesture-detection","mediapipe","opencv-python","pycaw"],"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/rishraks.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}},"created_at":"2024-12-24T08:04:16.000Z","updated_at":"2024-12-27T07:05:41.000Z","dependencies_parsed_at":"2024-12-24T09:21:27.626Z","dependency_job_id":"51d67814-1fb7-4b55-9191-a0bc515a0084","html_url":"https://github.com/rishraks/Hand_Gesture_Volume_Control","commit_stats":null,"previous_names":["rishraks/hand_gesture_volume_control"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rishraks/Hand_Gesture_Volume_Control","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishraks%2FHand_Gesture_Volume_Control","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishraks%2FHand_Gesture_Volume_Control/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishraks%2FHand_Gesture_Volume_Control/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishraks%2FHand_Gesture_Volume_Control/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rishraks","download_url":"https://codeload.github.com/rishraks/Hand_Gesture_Volume_Control/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishraks%2FHand_Gesture_Volume_Control/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260053938,"owners_count":22951992,"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":["computer-vision","gesture-detection","mediapipe","opencv-python","pycaw"],"created_at":"2024-12-29T18:36:32.289Z","updated_at":"2026-04-29T09:05:05.810Z","avatar_url":"https://github.com/rishraks.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hand Gesture Volume Control\n\nThis project allows users to control the system volume using hand gestures. It utilizes a webcam to detect the distance between the thumb and index finger and adjusts the audio volume in real-time. The system leverages `MediaPipe`, `OpenCV`, and `Pycaw` for gesture detection and audio control.\n\n## Features\n- Real-time hand tracking with MediaPipe.\n- Smooth volume adjustments using distance between fingers.\n- Intuitive and contactless volume control.\n\n## Libraries Used\n- `opencv-python`: For video capture and frame processing.\n- `mediapipe`: For hand landmark detection.\n- `pycaw`: For controlling system audio.\n- `numpy`: For efficient numerical operations.\n\n## How It Works\n1. Captures video input from the webcam.\n2. Detects hand landmarks using MediaPipe.\n3. Calculates the distance between the thumb and index finger.\n4. Maps the distance to the system volume range.\n5. Smoothly adjusts the volume using Pycaw.\n\n## Installation\n1. Clone this repository:\n    ```bash\n    git clone https://github.com/rishraks/Hand_Gesture_Volume_Control.git\n    cd hand-gesture-volume-control\n    ```\n2. Install required libraries:\n    ```bash\n    python volume_control.py\n    ```\n\n## Usage\n1. Run the script:\n    ```bash\n    python Volume_Control.py\n    ```\n2. Adjust the system volume by changing the distance between your thumb and index finger in front of the webcam.\n3. Press q to exit the application.\n\n## Acknowledgments\n- MediaPipe\n- OpenCV\n- Pycaw\n\n\n## License\nThis project is licensed under the MIT License. See the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishraks%2Fhand_gesture_volume_control","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frishraks%2Fhand_gesture_volume_control","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishraks%2Fhand_gesture_volume_control/lists"}