Welcome to the Face & Eye Blurring project! This repository contains two powerful Python scripts designed to protect privacy by blurring faces or eyes in videos and webcam feeds using MediaPipe and OpenCV.
app.py - 😶 Face BlurThis script detects faces in real-time and applies a Gaussian blur to the entire face region.
eye.py - 👁️ Eye BlurThis script specifically targets the eyes using facial landmarks and blurs them while keeping the rest of the face visible.
Make sure you have Python installed, then run:
pip install opencv-python mediapipe
You can run either script using Python:
For Face Blurring:
python app.py
For Eye Blurring:
python eye.py
After running the script, follow the on-screen prompt:
w for Webcam.v for Video File (then drag & drop the file).q to quit the application at any time.