Ozodbek47 / BluringFacesAndLicensePlates

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

Home Page:https://iniko.uz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

About

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

https://iniko.uz

License:GNU General Public License v3.0


Languages

Language:Python 56.5%Language:Jupyter Notebook 41.9%Language:Shell 1.1%Language:Dockerfile 0.5%