Face Blurring Tool
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 examples
Checks
in the repository Made no changes that degrades the functioning of the repository Gave each commit a better title (unlike updated README.md)
- 🔍 Multiple AI Detection Methods: Haar Cascades (fast), MediaPipe (accurate), DNN (highest quality)
- 🌊 Various Blur Effects: Gaussian blur, motion blur, and pixelation
- 📸 Multiple Input Sources: Images, videos, webcam feeds, batch processing
- ⚡ Real-time Processing: Optimized for live webcam with adjustable performance
- 🎛️ Highly Customizable: Adjustable blur intensity, detection sensitivity, output formats
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 the detect_faces_dnn and _init_mediapipe_detector methods within face_blur.py.
Thank You,
Gulcihan Gulmez