{"id":23397540,"url":"https://github.com/rishraks/face_detection_anonymizer","last_synced_at":"2026-05-18T06:35:30.102Z","repository":{"id":268085263,"uuid":"903273442","full_name":"rishraks/Face_Detection_Anonymizer","owner":"rishraks","description":"The Face Detection and Anonymizer is a Python-based tool using OpenCV and Mediapipe to detect faces in real-time from a video stream. It allows users to toggle features like drawing bounding boxes around faces or anonymizing them with blur effects, ensuring privacy while showcasing efficient computer vision capabilities.","archived":false,"fork":false,"pushed_at":"2024-12-14T07:04:29.000Z","size":325,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-30T18:39:55.888Z","etag":null,"topics":["computer-vision","mediapipe","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}},"created_at":"2024-12-14T06:57:01.000Z","updated_at":"2024-12-14T07:05:55.000Z","dependencies_parsed_at":"2024-12-14T07:37:42.828Z","dependency_job_id":null,"html_url":"https://github.com/rishraks/Face_Detection_Anonymizer","commit_stats":null,"previous_names":["rishraks/face_detection_anonymizer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rishraks/Face_Detection_Anonymizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishraks%2FFace_Detection_Anonymizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishraks%2FFace_Detection_Anonymizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishraks%2FFace_Detection_Anonymizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishraks%2FFace_Detection_Anonymizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rishraks","download_url":"https://codeload.github.com/rishraks/Face_Detection_Anonymizer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishraks%2FFace_Detection_Anonymizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271386447,"owners_count":24750517,"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-08-20T02:00:09.606Z","response_time":69,"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","opencv-python"],"created_at":"2024-12-22T08:19:10.124Z","updated_at":"2026-05-18T06:35:25.077Z","avatar_url":"https://github.com/rishraks.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Face Detection and Anonymizer\n\nA Python-based real-time face detection and anonymization tool using OpenCV and Mediapipe. The program detects faces in a video stream, allows users to draw bounding boxes, and blur faces for anonymization.\n\n---\n\n## Features\n\n- **Real-time Face Detection**: Detects faces from webcam input using Mediapipe's Face Detection API.\n- **Bounding Box Toggle**: Draws a rectangle around detected faces when toggled.\n- **Face Anonymization**: Blurs the detected face areas to ensure privacy.\n- **User-Controlled Actions**: Toggle features dynamically with keyboard inputs.\n\n---\n\n## Requirements\n\nEnsure you have the following installed before running the project:\n\n- Python 3.7 or higher\n- OpenCV\n- Mediapipe\n\nTo install the required Python packages, run:\n\n```bash\npip install opencv-python mediapipe\n```\n\n## How to use\n1. Clone or download this repository.\n2. Run the main.py file:\n```bash\npython video.py\n```\n3. Use the following keyboard inputs during runtime:\n- Press d to toggle the face bounding box.\n- Press b to toggle face blurring.\n- Press q to quit the program.\n\n\n## Customization\n- Adjust the blur intensity by changing the kernel size in the cv2.blur() function.\n- Modify the confidence threshold in min_detection_confidence for more precise face detection.\n\n## License\nThis project is licensed under the MIT License. Feel free to use, modify, and distribute it.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishraks%2Fface_detection_anonymizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frishraks%2Fface_detection_anonymizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishraks%2Fface_detection_anonymizer/lists"}