By Neel Patel
Using MediaPipe libraries and code, this face blurrer can detect faces and blur images accordingly.
Face blurrer is not entirely accurate, and can miss faces if they are obstructed or not directly looking at the camera.
Install dependencies
pip install Pillow mediapipe
Clone Repository
git clone https://github.com/NotNeelPatel/face-blurrer && cd face-blurrer
Run face_blurrer
python3 face_blurrer.py /path/to/image
By default the output will save in face-blurrer
as {name_of_image}_blurred.{extension}
but you can specify what you want to call the output image.
python3 face_blurrer.py /path/to/image output.jpg