{"id":28135496,"url":"https://github.com/yamii07/volume-controller-hand-gestures","last_synced_at":"2025-05-16T17:14:35.000Z","repository":{"id":292678201,"uuid":"981606839","full_name":"Yamii07/volume-controller-hand-gestures","owner":"Yamii07","description":"A Python-based volume controller using OpenCV and MediaPipe that allows you to control your system volume with simple hand gestures via webcam.","archived":false,"fork":false,"pushed_at":"2025-05-11T14:00:50.000Z","size":0,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-11T14:42:34.591Z","etag":null,"topics":["ai","hand-detection","mediapipe-hands","object-detection","opencv2","pycaw","python3","volume-control"],"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/Yamii07.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":"2025-05-11T13:48:32.000Z","updated_at":"2025-05-11T14:06:50.000Z","dependencies_parsed_at":"2025-05-11T14:52:48.926Z","dependency_job_id":null,"html_url":"https://github.com/Yamii07/volume-controller-hand-gestures","commit_stats":null,"previous_names":["yamii07/volume-controller"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yamii07%2Fvolume-controller-hand-gestures","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yamii07%2Fvolume-controller-hand-gestures/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yamii07%2Fvolume-controller-hand-gestures/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yamii07%2Fvolume-controller-hand-gestures/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yamii07","download_url":"https://codeload.github.com/Yamii07/volume-controller-hand-gestures/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254170140,"owners_count":22026223,"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":["ai","hand-detection","mediapipe-hands","object-detection","opencv2","pycaw","python3","volume-control"],"created_at":"2025-05-14T15:18:58.280Z","updated_at":"2025-05-14T15:18:59.263Z","avatar_url":"https://github.com/Yamii07.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# 🎚️ Hand Gesture Volume Controller\n\nA Python-based volume controller using **OpenCV** and **MediaPipe** that allows you to control your system volume with simple hand gestures via webcam.\n\n---\n\n## 🛠️ Features\n\n- 📷 Real-time hand tracking using MediaPipe  \n- ✋ Control system volume by changing the distance between your thumb and index finger  \n- 🔊 Visual feedback for volume level on screen  \n- 🧠 Intuitive gesture-based interface  \n\n---\n\n## 📦 Dependencies\n\nInstall the required libraries:\n\n```bash\npip install opencv-python mediapipe numpy pycaw comtypes\n```\n\n\u003e **Note:** `pycaw` only works on Windows.\n\n---\n\n## 🚀 How to Run\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/Yamii07/volume-controller-hand-gestures.git\ncd volume-controller-hand-gestures\n```\n\n2. Run the script:\n\n```bash\npython volume_control.py\n```\n\n3. Show your hand to the webcam and pinch your **thumb and index finger** to adjust the volume.\n\n---\n\n## 🧠 How It Works\n\n- **MediaPipe** detects hand landmarks in real time.  \n- Calculates the distance between **landmark 4 (thumb tip)** and **landmark 8 (index finger tip)**.  \n- Maps that distance to a system volume range (0% - 100%).  \n- Adjusts volume using **pycaw** on Windows.\n\n---\n\n## 📁 Project Structure\n\n```\nvolume-controller-hand-gestures/\n├── htmmod.py             # Modules for main File\n├── volume_control.py     # Main script\n├── README.md             # Project documentation\n```\n\n---\n\n## ✅ Requirements\n\n- 3.6 \u003c Python \u003c 3.12\n- Webcam  \n- Windows OS (required for volume control)\n\n---\n\n## 👨‍💻 Author\n\n**Purshottam Kumar**  \nGitHub: [@Yamii07](https://github.com/Yamii07)\n\n---\n\n## 📄 License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyamii07%2Fvolume-controller-hand-gestures","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyamii07%2Fvolume-controller-hand-gestures","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyamii07%2Fvolume-controller-hand-gestures/lists"}