{"id":23406924,"url":"https://github.com/ragul-rofi/handrecognition-opencv","last_synced_at":"2026-04-29T01:33:43.439Z","repository":{"id":269209983,"uuid":"906735089","full_name":"ragul-rofi/HandRecognition-OpenCV","owner":"ragul-rofi","description":"Real-time hand gesture recognition using OpenCV ","archived":false,"fork":false,"pushed_at":"2024-12-21T18:59:20.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T00:07:13.007Z","etag":null,"topics":["handrecognition","opencv","pyhton3"],"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/ragul-rofi.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}},"created_at":"2024-12-21T18:44:06.000Z","updated_at":"2025-01-19T16:55:18.000Z","dependencies_parsed_at":"2024-12-21T19:36:17.538Z","dependency_job_id":"bb271ffa-cd31-45fb-abeb-911ff931cd30","html_url":"https://github.com/ragul-rofi/HandRecognition-OpenCV","commit_stats":null,"previous_names":["ragul-rofi/handrecognotion-opencv"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragul-rofi%2FHandRecognition-OpenCV","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragul-rofi%2FHandRecognition-OpenCV/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragul-rofi%2FHandRecognition-OpenCV/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragul-rofi%2FHandRecognition-OpenCV/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ragul-rofi","download_url":"https://codeload.github.com/ragul-rofi/HandRecognition-OpenCV/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247947860,"owners_count":21023066,"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":["handrecognition","opencv","pyhton3"],"created_at":"2024-12-22T14:16:17.934Z","updated_at":"2026-04-29T01:33:43.413Z","avatar_url":"https://github.com/ragul-rofi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Hand Gesture Recognition using OpenCV\n\nThis project uses OpenCV to recognize hand gestures in real-time via a webcam. The program detects the hand and counts the number of fingers raised based on the convexity defects in the hand contour.\n\n## Features\n\n- Real-time hand gesture recognition using webcam.\n- Detects the number of fingers raised.\n- Uses convexity defects for finger detection.\n- Works on most webcams.\n\n## Requirements\n\nTo run this project, you will need to install the following Python libraries:\n\n- **OpenCV**: For image processing and computer vision tasks.\n- **NumPy**: For numerical operations (specifically for vector math).\n\nYou can install these libraries using pip:\n\n```bash\npip install opencv-python opencv-python-headless numpy\n```\n\n## Project Structure\n\nThe project consists of a single Python script:\n\n- **main.py**: The main script that captures webcam feed, processes the image, detects hand contours, and counts the number of fingers.\n\n## How to Run\n\n1. Ensure that you have Python 3.x installed on your machine.\n2. Install the required libraries by running the command:\n   ```bash\n   pip install opencv-python opencv-python-headless numpy\n   ```\n3. Clone or download the project.\n4. Open a terminal or command prompt and navigate to the directory containing `main.py`.\n5. Run the script:\n   ```bash\n   python main.py\n   ```\n6. A window will appear showing the webcam feed with hand gesture recognition. The program will print the number of fingers detected in the console.\n7. To exit the program, press the `q` key.\n\n## Future Improvements\n\n- Improve finger detection accuracy for more complex gestures.\n- Add gesture-based control to interact with the computer (e.g., mouse control).\n- Implement a model to recognize different hand gestures for control purposes.\n\n## License\n\nThis project is open-source and available under the MIT License. See the [LICENSE](LICENSE) file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fragul-rofi%2Fhandrecognition-opencv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fragul-rofi%2Fhandrecognition-opencv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fragul-rofi%2Fhandrecognition-opencv/lists"}