Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 961 Bytes

README.md

File metadata and controls

36 lines (26 loc) · 961 Bytes

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: