Skip to content

nabeelbassam/Face-blurring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Face blurring project

The main objective of this project is to blur faces in a given picture if found, In order to blur faces shown in images, you need to first detect these faces and their position in the image then blur the detected faces.

🔩 requirement

Opencv

🔧 Usage

  1. Clone or download this repo
  2. Open project folder in CMD
  3. Install required packages
   pip install -r requirements.txt

To run the face bluring code Run:

   python code/blur_face.py --face_cascade [face cascade path] --image [image path]

📍 Note

  • I am using face detection model in models folder that can detects faces but codes are valid for any cascade model.
  • If you run the code without any parameters, it will load the cascade model from models and load an image from the data samples

Releases

No releases published

Packages

No packages published

Languages