# Blur Faces

> Find faces and license plates in photos automatically and pixelate, blur or black them out. The photo stays on your device.

- Open in browser: https://pockettoolbox.org/en/face-blur
- Runs entirely in your browser; files and input are never uploaded.

## How it works

Finds faces and license plates with image recognition and hides them.

Drop a photo and the detection marks faces and license plates. Mark further spots such as house numbers, name tags or screens with a rectangle or the brush. Each area gets its own effect: pixelate, blur, black bar or a color, each with adjustable strength. Saving removes metadata such as the GPS location.

Faces: YuNet from the OpenCV Model Zoo (MIT, 230 KB). License plates: YOLOv9-t from open-image-models (MIT, 7.8 MB). Both run with ONNX Runtime Web as WebAssembly in a Web Worker. Large photos are also searched in overlapping tiles so small faces in the background are caught too. Pixelation averages blocks across the area, blur uses a Gaussian filter in two passes. The image is saved at full resolution through a canvas, which drops EXIF, GPS and other metadata.

## FAQ

### Can pixelation be undone?

Not from the saved file, the original pixels are gone. With weak pixelation or light blur a known face can sometimes still be guessed, though. For license plates and documents, the black bar is the safest choice.

### Are all faces found?

Frontal and slightly turned faces reliably, small ones in the background too. Profiles, faces with masks or seen from behind do not always work. Look over the result and mark missing spots with the rectangle.

### Do I need this for privacy laws like the GDPR?

Publishing photos with recognizable people usually requires their consent. Hiding faces is a simple solution when you do not have it. This is not legal advice, ask if in doubt.

## Popular tasks

- [Blur Faces in Photos](https://pockettoolbox.org/en/blur-faces)
- [Blur a License Plate](https://pockettoolbox.org/en/blur-license-plate)
- [Pixelate an Image](https://pockettoolbox.org/en/pixelate-image)

---
PocketToolbox (https://pockettoolbox.org/en)
