Skip to content

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

License

Notifications You must be signed in to change notification settings

Ozodbek47/BluringFacesAndLicensePlates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: