{"id":20147280,"url":"https://github.com/machphy/hand_gesture_drawing","last_synced_at":"2026-06-08T19:31:26.961Z","repository":{"id":246318954,"uuid":"820739196","full_name":"machphy/Hand_Gesture_Drawing","owner":"machphy","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-27T16:29:29.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-03T00:22:20.304Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/machphy.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":"2024-06-27T04:58:06.000Z","updated_at":"2024-06-27T16:29:33.000Z","dependencies_parsed_at":"2024-06-27T06:15:19.496Z","dependency_job_id":"f7401af5-4358-47c8-a927-51b2c0fa00c0","html_url":"https://github.com/machphy/Hand_Gesture_Drawing","commit_stats":null,"previous_names":["machphy/hand_gesture_drawing"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/machphy/Hand_Gesture_Drawing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/machphy%2FHand_Gesture_Drawing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/machphy%2FHand_Gesture_Drawing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/machphy%2FHand_Gesture_Drawing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/machphy%2FHand_Gesture_Drawing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/machphy","download_url":"https://codeload.github.com/machphy/Hand_Gesture_Drawing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/machphy%2FHand_Gesture_Drawing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34078019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"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":[],"created_at":"2024-11-13T22:28:19.513Z","updated_at":"2026-06-08T19:31:26.943Z","avatar_url":"https://github.com/machphy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Interactive Hand Gesture Drawing Application\n\nThis is a real-time drawing application that uses OpenCV and MediaPipe for hand tracking. The application allows you to draw using your finger with multiple color options and a simple interface.\n\n## Features\n\n- **Real-Time Hand Tracking**: Utilizes MediaPipe to track hand movements accurately.\n- **Multiple Colors**: Easily switch between blue, green, red, and yellow for your drawings.\n- **Clear Canvas**: Clear the canvas with a simple gesture.\n- **User-Friendly Interface**: Color selection buttons arranged vertically on the right side for easy access.\n\n## Technologies Used\n\n- **OpenCV**: For image processing and computer vision tasks.\n- **MediaPipe**: For real-time hand tracking.\n- **Python**: For overall application development.\n\n## How It Works\n\n1. **Hand Detection**: The app detects your hand and tracks the position of your fingers.\n2. **Drawing**: Move your finger across the screen to draw. Select different colors by pointing to the corresponding color box on the right.\n3. **Clear Canvas**: Clear your drawing by gesturing towards the 'CLEAR' box.\n\n## Installation\n\n1. **Clone the repository**:\n    ```bash\n    git clone https://github.com/machphy/Hand_Gesture_Drawing.git\n    cd hand-gesture-drawing\n    ```\n\n2. **Create and activate a virtual environment**:\n    ```bash\n    python -m venv venv\n    source venv/bin/activate  # On Windows, use `venv\\Scripts\\activate`\n    ```\n\n3. **Install the required packages**:\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n## Running the Application\n\n1. **Run the application**:\n    ```bash\n    python hand_gesture_drawing.py\n    ```\n\n2. **Usage Instructions**:\n    - The webcam will open and start detecting your hand.\n    - Move your finger to draw on the screen.\n    - Select colors by pointing to the corresponding color box on the right side.\n    - Clear the canvas by pointing to the 'CLEAR' box.\n\n## Future Improvements\n\n- Adding more colors and brush sizes.\n- Implementing gesture recognition for additional commands.\n- Enhancing the overall user experience with more intuitive controls.\n\n## Contributing\n\nIf you would like to contribute to this project, please fork the repository and submit a pull request. We welcome all improvements and new features.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.\n\n## Contact\n\nFor any questions or suggestions, please feel free to reach out to me at [rajeevsharmamachphy@gmail.com].\n\n---\n\n### Requirements File (`requirements.txt`)\n\n```\nopencv-python-headless\nmediapipe\nnumpy\n\n```\n## COPYRIGHT\n\nCopyright (c) 2024 rajeevsharma\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmachphy%2Fhand_gesture_drawing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmachphy%2Fhand_gesture_drawing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmachphy%2Fhand_gesture_drawing/lists"}