Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Face Blurring Tool - AI-Powered Privacy Protection with Real-time Processing
Summary
Added a comprehensive face blurring tool that automatically detects and blurs faces in images, videos, and live webcam feeds using multiple AI detection methods (Haar Cascades, MediaPipe, DNN). The tool provides an easy-to-use interface with customizable blur effects and supports batch processing.
Description
This PR introduces a professional-grade face blurring tool designed for privacy protection and content moderation. The tool combines multiple computer vision techniques to provide accurate face detection with various blur effects.
The changes are as follows:
face_blur.py
- Main comprehensive tool with multiple detection methods and blur typesdemo.py
- Interactive demo script for easy testing with real images, webcam capture, or test patternsrequirements.txt
- All necessary dependencies (OpenCV, MediaPipe, NumPy)README.md
- Complete documentation with quick start guide and usage examplesChecks
in the repository
Made no changes that degrades the functioning of the repository
Gave each commit a better title (unlike updated README.md)
in the PR
Followed the format of the pull_request_template
Made the Pull Request in a small level
Tested the changes you made
Developer Note:
The face detection sensitivity can be
fine-tuned
by modifying the hardcoded confidence values in thedetect_faces_dnn
and_init_mediapipe_detector
methods withinface_blur.py
.Thank You,
Gulcihan Gulmez