Face-Eye-Blurring-Tools

🎭 Face & Eye Blurring Tools 👁️

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.


📂 Files Description

1. app.py - 😶 Face Blur

This script detects faces in real-time and applies a Gaussian blur to the entire face region.

2. eye.py - 👁️ Eye Blur

This script specifically targets the eyes using facial landmarks and blurs them while keeping the rest of the face visible.


🚀 How to Run

1️⃣ Install Dependencies

Make sure you have Python installed, then run:

pip install opencv-python mediapipe

2️⃣ Run the Scripts

You can run either script using Python:

For Face Blurring:

python app.py

For Eye Blurring:

python eye.py

3️⃣ Choose Input Source

After running the script, follow the on-screen prompt:


🛑 Controls