{"id":28762216,"url":"https://github.com/prabeshpathak2002/hand-tracking-using-mediapipe","last_synced_at":"2026-05-10T02:04:05.330Z","repository":{"id":297747838,"uuid":"997778025","full_name":"PrabeshPathak2002/Hand-Tracking-using-mediapipe","owner":"PrabeshPathak2002","description":"Real-time hand tracking in Python using OpenCV and MediaPipe. Detects and visualizes hand landmarks from your webcam feed, highlights fingertips, and prints landmark positions. Great for gesture recognition, computer vision demos, and interactive projects.","archived":false,"fork":false,"pushed_at":"2025-06-07T07:16:32.000Z","size":2019,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-17T08:07:28.966Z","etag":null,"topics":["computer-vision","image-recognition","mediapipe","opencv"],"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/PrabeshPathak2002.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-06-07T06:50:14.000Z","updated_at":"2025-06-08T11:47:59.000Z","dependencies_parsed_at":"2025-06-07T08:17:58.719Z","dependency_job_id":"d0af331d-2f89-497e-87c1-b3dfc015d3fa","html_url":"https://github.com/PrabeshPathak2002/Hand-Tracking-using-mediapipe","commit_stats":null,"previous_names":["prabeshpathak2002/hand-tracking-using-mediapipe"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PrabeshPathak2002/Hand-Tracking-using-mediapipe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrabeshPathak2002%2FHand-Tracking-using-mediapipe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrabeshPathak2002%2FHand-Tracking-using-mediapipe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrabeshPathak2002%2FHand-Tracking-using-mediapipe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrabeshPathak2002%2FHand-Tracking-using-mediapipe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PrabeshPathak2002","download_url":"https://codeload.github.com/PrabeshPathak2002/Hand-Tracking-using-mediapipe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrabeshPathak2002%2FHand-Tracking-using-mediapipe/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260318706,"owners_count":22991120,"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":["computer-vision","image-recognition","mediapipe","opencv"],"created_at":"2025-06-17T08:07:28.751Z","updated_at":"2026-05-10T02:04:00.258Z","avatar_url":"https://github.com/PrabeshPathak2002.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hand Tracking with OpenCV and Mediapipe\n\nThis project demonstrates real-time hand tracking using [OpenCV](https://opencv.org/) and [Mediapipe](https://mediapipe.dev/) in Python. It detects hand landmarks from your webcam feed and can be easily extended for gesture-based applications (e.g., controlling a snake game with your finger).\n\n## Features\n\n- Real-time hand detection and landmark tracking\n- Configurable camera index and number of hands\n- Option to select and use specific landmarks (e.g., index finger tip)\n- FPS display on video feed\n- Modular code with resource management\n\n## Requirements\n\n- Python 3.7+\n- opencv-python\n- mediapipe\n\nInstall dependencies with:\n\n```sh\npip install -r requirements.txt\n```\n\n## Usage\n\nRun the main script:\n\n```sh\npython HandTrackingModule.py\n```\n\n- Press `q` to quit the video window.\n- The script prints the position of the index finger tip (landmark 8) in the console.\n\n## Customization\n\n- To use a different camera, change `camera_index` in `main()` or the class constructor.\n- To track different landmarks, modify the `landmark_ids` parameter in `findPosition`.\n\n## File Structure\n\n- `HandTracking.py` – Simple script for hand tracking.\n- `HandTrackingModule.py` – Modular, class-based version with more features.\n- `requirements.txt` – Python dependencies.\n\n\n## Screenshot\n![alt text](https://github.com/PrabeshPathak2002/Hand-Tracking-using-mediapipe/blob/main/Screenshot%202025-06-07%20125049.png \"Screenshot\")\n\n\n## Hand Landmarks\n![alt text](https://github.com/PrabeshPathak2002/Hand-Tracking-using-mediapipe/blob/main/hand-landmarks.png \"Hand-Landmarks\")\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprabeshpathak2002%2Fhand-tracking-using-mediapipe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprabeshpathak2002%2Fhand-tracking-using-mediapipe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprabeshpathak2002%2Fhand-tracking-using-mediapipe/lists"}