/BluringFacesAndLicensePlates

License Plate, Head blurring / pixelation using Yolov5 & Face blurring using Mediapipe

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

ANONYMIZING HEADS, FACES & LICENSE PLATES IN A VIDEO, IMAGE OR WEBCAM STREAM

Mass License Plate & Head blurring / pixelation using Yolov5 | Simple face blurring using Mediapipe

HOW DOES IT WORK?



For bluring heads, go to "yolov5-headBlur" folder, download the model and run:

python3 detect.py --weights crowdhuman_yolov5m.pt --source [your-video.mp4 / 0 for webcam / your-image.jpg] --heads

For bluring license plates, go to "yolov5-lpBlur" folder, download the model and run:

python3 detect.py --weights detection_best.pt --source [your-video.mp4 / 0 for webcam / your-image.jpg] --view-img

For simple webcam face bluring:

python3 faceBlur.py

SAMPLE OUTPUTS

Blurring Result:



Pixelation Result: