The code using OpenCV and a pretrained model to detect faces and blurr them. It can be highly effective for blurring images and video streams using this code. There are alot of applications where this code can be used. A Special Thanks to Adrian from PyImageSearch due to his blog posts I was able to set this up.
Use the package manager pip to install all the requirements.
pip install -r requirements.txt
The Usage of this code is damn simple.
Firstly, Either Download the Zip and Extract the Code or simply Clone the Repo using.
git clone https://github.com/arkalsekar/Face-Blurring-OpenCV
Once Clone the Repo, head on to the repository.
Here you will find two code files, once is for images and other one is for video stream.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.