{"id":23681345,"url":"https://github.com/rishraks/virtual_screen","last_synced_at":"2025-09-17T23:50:40.366Z","repository":{"id":269945017,"uuid":"908875932","full_name":"rishraks/Virtual_Screen","owner":"rishraks","description":"Virtual Screen enables users to write on their screen using hand gestures tracked by a webcam. With real-time hand detection and motion tracking, users can draw, annotate, or interact with the screen without physical input devices, offering a seamless and intuitive virtual writing experience.","archived":false,"fork":false,"pushed_at":"2024-12-29T15:24:34.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-25T05:08:03.312Z","etag":null,"topics":["computer-vision","mediapipe-hands","opencv-python"],"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-27T07:19:59.000Z","updated_at":"2024-12-29T15:24:38.000Z","dependencies_parsed_at":"2024-12-27T11:19:01.746Z","dependency_job_id":"905a2c3a-472f-4962-b61f-351bee89abdb","html_url":"https://github.com/rishraks/Virtual_Screen","commit_stats":null,"previous_names":["rishraks/virtual_screen"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rishraks/Virtual_Screen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishraks%2FVirtual_Screen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishraks%2FVirtual_Screen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishraks%2FVirtual_Screen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishraks%2FVirtual_Screen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rishraks","download_url":"https://codeload.github.com/rishraks/Virtual_Screen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishraks%2FVirtual_Screen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275685538,"owners_count":25509531,"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-09-17T02:00:09.119Z","response_time":84,"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":["computer-vision","mediapipe-hands","opencv-python"],"created_at":"2024-12-29T18:36:32.367Z","updated_at":"2025-09-17T23:50:40.324Z","avatar_url":"https://github.com/rishraks.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Virtual_Screen\n\nVirtual Screen enables users to write on their screen using hand gestures tracked by a webcam. With real-time hand detection and motion tracking, users can draw, annotate, or interact with the screen without physical input devices, offering a seamless and intuitive virtual writing experience.\n\n## Features\n\n- **Real-Time Hand Tracking**: Detects the user's hand and tracks the index finger.\n- **Smooth Drawing**: Implements position smoothing for stable and seamless drawing.\n- **Boundary Constraint**: Ensures drawing is allowed only within a predefined rectangle.\n- **Customizable Canvas**: Clear the canvas using a key press (`c`).\n- **Live Feedback**: Displays the tracked finger position and boundary area.\n- **Color Palette**: Choose different colors for drawing.\n- **Brush Size Palette**: Adjust brush size for precise or bold strokes.\n- **Palm Erase**: Use your palm gesture to erase parts of the canvas.\n---\n\n## Technologies Used\n\n- **Python 3.7+**\n- **OpenCV**: For video capture and frame processing.\n- **MediaPipe**: For hand and finger tracking.\n- **NumPy**: For efficient array operations.\n\n---\n\n## Setup Instructions\n\n1. **Clone the Repository**\n\n```bash\n   git clone https://github.com/rishraks/Virtual_Screen.git\n   cd virtual-drawing-canvas\n```\n\n2. **Install Dependencies Use pip to install the required libraries**\n\n```bash\npip install opencv-python mediapipe numpy\n```\n\n3. **Run the Application Execute the Python script**\n\n```bash\npython Virtual_Screen.py\n```\n\n## How to Use\n\n1. Start Drawing:\n\n- Position your index finger within the boundary rectangle displayed on the screen.\n- Move your finger to draw lines on the virtual canvas.\n\n2. Select Color:\n\nMove your hand over the color palette area on the screen and tap with your index finger to select a color.\n\n3. Adjust Brush Size:\n\nInteract with the brush size palette to switch between various brush thicknesses.\n\n\n4. Clear Canvas:\n\n- Press the c key to clear the canvas.\n\n5. Exit:\n\n- Press the q key to quit the application.\n\n\n\n## Future Enhancements\n- Save the canvas as an image file.\n- Implement multi-finger gesture recognition for advanced controls.\n- Add undo/redo functionality for enhanced editing.\n\n\n## License\nThis project is licensed under the MIT License. See the LICENSE file for details.\n\n## Acknowledgments\n- MediaPipe for robust hand tracking.\n- OpenCV for frame processing.\n- Community tutorials and resources on computer vision.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishraks%2Fvirtual_screen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frishraks%2Fvirtual_screen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishraks%2Fvirtual_screen/lists"}