{"id":32789755,"url":"https://github.com/divyansh0980/virtualmouse_module","last_synced_at":"2025-11-05T11:02:01.352Z","repository":{"id":319907129,"uuid":"1080056828","full_name":"Divyansh0980/VirtualMouse_Module","owner":"Divyansh0980","description":"Control your computer mouse and screen brightness using hand gestures! This project uses computer vision and hand tracking to create a touchless interface for your computer.","archived":false,"fork":false,"pushed_at":"2025-11-04T18:13:04.000Z","size":40,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-04T20:20:06.290Z","etag":null,"topics":["code","cv2","handtracking","mediapipe","opencv","opencv-python","virtual-mouse-using-hand-gestures","virtualmouse","webcam"],"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/Divyansh0980.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-10-20T19:57:56.000Z","updated_at":"2025-11-04T18:13:08.000Z","dependencies_parsed_at":"2025-10-20T22:08:41.994Z","dependency_job_id":"d7c9cfe8-3cf6-4195-ac8f-309424200709","html_url":"https://github.com/Divyansh0980/VirtualMouse_Module","commit_stats":null,"previous_names":["divyansh0980/virtualmouse_module"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Divyansh0980/VirtualMouse_Module","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Divyansh0980%2FVirtualMouse_Module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Divyansh0980%2FVirtualMouse_Module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Divyansh0980%2FVirtualMouse_Module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Divyansh0980%2FVirtualMouse_Module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Divyansh0980","download_url":"https://codeload.github.com/Divyansh0980/VirtualMouse_Module/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Divyansh0980%2FVirtualMouse_Module/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":282807270,"owners_count":26730414,"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","status":"online","status_checked_at":"2025-11-05T02:00:05.946Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["code","cv2","handtracking","mediapipe","opencv","opencv-python","virtual-mouse-using-hand-gestures","virtualmouse","webcam"],"created_at":"2025-11-05T11:01:06.859Z","updated_at":"2025-11-05T11:02:01.344Z","avatar_url":"https://github.com/Divyansh0980.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🖱️ Virtual Mouse - Hand Gesture Control\n\nControl your computer mouse and screen brightness using hand gestures! This project uses computer vision and hand tracking to create a touchless interface for your computer.\n\n![Python](https://img.shields.io/badge/Python-3.7%2B-blue)\n![OpenCV](https://img.shields.io/badge/OpenCV-4.5%2B-green)\n![MediaPipe](https://img.shields.io/badge/MediaPipe-Latest-orange)\n![License](https://img.shields.io/badge/License-MIT-yellow)\n\n## ✨ Features\n\n- **Mouse Movement** - Move cursor with your index finger\n- **Left Click** - Pinch index and middle fingers together\n- **Right Click** - Pinch index, middle, and ring fingers together\n- **Brightness Up** - Open all 5 fingers\n- **Brightness Down** - Close all fingers (make a fist)\n- **Smooth Tracking** - Built-in smoothening algorithm for stable cursor movement\n- **Real-time FPS Display** - Monitor performance in real-time\n\n```\nControls:\n👆 Index finger up          → Move cursor\n✌️  Index + Middle pinch    → Left Click\n🤟 Index + Middle + Ring    → Right Click\n✋ All 5 fingers open       → Increase Brightness\n✊ Fist (all fingers closed) → Decrease Brightness\n```\n\n## 🚀 Installation\n\n### Prerequisites\n\n- Python 3.7 or higher\n- Webcam\n- Windows/Linux/MacOS\n\n### Step 1: Clone the repository\n\n```bash\ngit clone https://github.com/Divyansh0980/VirtualMouse_Module\ncd VirtualMouse_Module\n```\n\n### Step 2: Install dependencies\n\n```bash\npip install -r requirements.txt\n```\n\n### Step 3: Run the application\n\n```bash\npython VirtualMouse.py\n```\n\n## 📦 Dependencies\n\n- OpenCV (`cv2`) - Computer vision and image processing\n- MediaPipe - Hand tracking and landmark detection\n- NumPy - Numerical computations\n- AutoPy - Mouse control automation\n- screen-brightness-control - Brightness adjustment\n\n## 🎮 Usage\n\n1. Run the script using `python VirtualMouse.py`\n2. Position your hand in front of the webcam\n3. Use the gestures mentioned above to control your mouse\n4. Press 'q' to quit the application\n\n\n\n```\n\n## 📁 Project Structure\n\n```virtual-mouse/\n│\n├── VirtualMouse.py          # Main application file\n├── HandTracking.py          # Hand detection module\n├── requirements.txt         # Project dependencies\n├── README.md                # Project documentation\n├── LICENSE                  # MIT License\n├── .gitignore               # Git ignore file\n├── venv.txt                 # Creating a virtual space\n└── Demo.gif                 # Showing how it works\n```\n\n## 🤝 Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n1. Fork the project\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n\n\n## 📝 Future Improvements\n\n- [ ] Add scroll gesture support\n- [ ] Implement drag and drop functionality\n- [ ] Add volume control gestures\n- [ ] Multi-hand gesture support\n- [ ] GUI for settings configuration\n- [ ] Cross-platform brightness control\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## 👏 Acknowledgments\n\n- [MediaPipe](https://mediapipe.dev/) for the amazing hand tracking solution\n- [OpenCV](https://opencv.org/) for computer vision capabilities\n\n\n\n\nProject Link: [https://github.com/Divyansh0980/VirtualMouse_Module](https://github.com/Divyansh0980/VirtualMouse_Module)\n\n---\n\n⭐ If you found this project helpful, please consider giving it a star!\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivyansh0980%2Fvirtualmouse_module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdivyansh0980%2Fvirtualmouse_module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivyansh0980%2Fvirtualmouse_module/lists"}