MediaPipe BlazeFace · tiled search · destroys the pixels

Auto Blur Faces

Find faces in up to 200 photos, switch off the ones you want to keep, add boxes the detector missed, and download re-encoded copies with the faces pixelated, blurred or covered.

Photos

Up to 200 photos

Drop photos here or click to choose

PNG, JPG, WEBP, GIF or BMP, up to 25 MB each.

Detection

Downloads 0.2 MB of model plus about 14 MB of engine files from this site on first use. Your photos stay in the browser.

The detector sees a photo at 128 px (short-range) or 192 px (full-range), so faces in a big photo shrink to a few pixels. Tiles look at it piece by piece.

Applies instantly to scanned photos. Lower it if faces are missed, raise it for fewer false boxes.

How faces are hidden

Each block becomes its average colour.

8 at most, so a block is never smaller than an eighth of the face.

Detector boxes are tight; hair, ears and chins need a margin.

Every photo is re-drawn and re-encoded, which drops EXIF, GPS and thumbnails.

A light Gaussian blur keeps the structure of a face, and deblurring tools can sharpen it back, sometimes far enough to recognise a person. That is why the options here replace the detail instead of softening it.

Review

Add photos, then press Find faces.

Auto Blur Faces

Operator: Abdulla Al Fahad. How tools are built and checked

The short-range detector looks at a picture shrunk to 128 pixels (the full-range one at 192), so a face that is 60 pixels wide in a 4200 × 3000 photo has under 2 pixels of detail by the time the short-range detector sees it. That is why most one-click blur tools miss the people at the back of a crowd, and why this page also searches the photo tile by tile.

You get a box around every face found, a confidence you can set, a switch for each face, and a drawing mode for the ones the detector missed. Obscuring happens only when you download, on the full-size photo, and the downloaded copies are re-encoded so EXIF and GPS data do not travel with them.

Key features

  • Up to 200 photos of 25 MB or less, each scaled to at most 6000 px on its long side for export, with 1 GB as the ceiling for the finished ZIP
  • Two MediaPipe BlazeFace detectors: short-range for faces within about 2 m of the camera and full-range for faces up to about 5 m, or both at once
  • A tile search at 1024 px (Normal) or 512 px (Deep) with tiles overlapping by a quarter, whose boxes are merged with the whole-photo pass
  • A confidence limit from 30% to 95% that applies instantly, a per-face switch, hand-drawn boxes, and a margin from 0% to 100% of the face size
  • Pixelate (3 to 8 blocks across the face), strong blur with noise, or a solid fill in any colour, with an elliptical or rectangular shape
  • face-boxes.json beside the photos, giving each box in pixels of the exported picture with its confidence, its source (detector or manual) and whether it was blurred

How faces are found and why the hiding cannot be undone

The detector files are served from this site, not from a third-party CDN: the short-range model is about 0.2 MB, the full-range model about 1.1 MB, and the WebAssembly engine about 14 MB. After the first use the browser keeps them.

A BlazeFace model works on a fixed small input, so one pass over a whole photo finds faces that are large in the frame. In the tile pass each 1024 px square (or 512 px square in Deep mode) is detected on its own, which shows the detector a face larger by the photo's long side divided by the tile size: about 4 times for a 4200 px photo with 1024 px tiles, and about 8 times with 512 px tiles. The detector's own input size (128 px short-range, 192 px full-range) does not change that ratio. A face cut in two by a tile edge is found whole in the neighbouring tile, and when two boxes overlap by more than half of the smaller one the larger box and the higher score are kept.

The box a detector returns is tight on the face, without hair or ears, so the margin setting grows it on every side as a fraction of the face's own width and height. The default is 20%. The elliptical shape is fitted inside that grown box, which is why a large margin on a face near the frame edge is clipped to the picture.

How it works

Pixelate averages each block of the face, with the block size set so there are never more than 8 blocks across the longer side. The blur option reduces the face region to a grid of at most 5 × 5 average colours, spreads that back out smoothly and adds a little seeded noise. The fill option writes one colour. In all three the original detail of the region is gone from the data that is encoded.

That matters because a light Gaussian blur is a reversible-looking operation: the detail is smeared rather than removed, and deconvolution can sometimes recover a recognisable face from it. Replacing the pixels with block averages or a 5 × 5 grid leaves nothing to deconvolve.

Common use cases

  • A school sports day: 120 photos of 4000 × 3000 px where parents appear in the background. Deep search finds faces 60 px wide that Off misses; you switch off the three children whose families gave consent.
  • A street-photography set of 30 frames for a magazine, where pedestrians must be unidentifiable. The solid-fill style with a 40% margin covers hairlines and ears as well as the face.
  • A conference album of 200 photos in which only the speaker may be shown. You scan everything with Both detectors, then walk through the list unticking one face per photo.

How to use this tool

  1. Drop the photos and pick the detector: short-range for selfies and portraits, full-range for groups, both when you want the most recall.
  2. Choose how hard to search for small faces and press Find faces. Deep mode cuts a photo into about four times as many tiles as Normal, so it takes correspondingly longer. Only scanned photos go into the ZIP; any photo you added after scanning is left out and listed by name until you scan it.
  3. Select each photo in the list, turn off faces you want to keep, and switch on Add a box to drag around any face that was missed.
  4. Pick the style, the blocks and the shape.
  5. Set the margin and press Preview result to see exactly what will be written.
  6. Press Download ZIP; one JPG or PNG per photo and face-boxes.json are zipped with their names suffixed -blurred.

Example

A 4200 × 3000 group photo of a school trip (illustrative), Normal search, margin 30%, pixelate with 6 blocks, JPG

trip-group.jpg, with a detector box 400 px wide and 400 px tall at x 1000, y 800

What the page does with that box

Normal search cuts the photo into 24 tiles of 1024 px (Deep would use 88 tiles of 512 px)
The 30% margin grows the box to 641 × 640 px at x 879, y 680
Pixel blocks are 107 px square (641 divided by 6, rounded up)
The ZIP holds trip-group-blurred.jpg and face-boxes.json, whose entry for the box has "source": "detector" and "blurred": true

Tips for best results

  • A tilted or half-turned face scores lower than a frontal one, so lower the confidence limit to 40% for crowd shots and check the boxes in the review, instead of raising the margin.
  • The full-range detector sees farther but returns fewer boxes on large frontal faces; choose Both when the batch mixes portraits and wide shots.
  • The preview shows the result at screen size, but the file is obscured at full size, so look at the blocks on the preview to judge block size, not sharpness.

Common pitfalls

Profile faces, faces under masks or sunglasses at a distance, and drawings or statues are detected unreliably. Always read through every photo before publishing; a missed face is a published face.

Detection is not identification and the page cannot tell who a person is; it hides every box you leave switched on, including yours.

Hiding the face does not hide a distinctive tattoo, a name badge or a car number plate in the same photo; add boxes for those by hand.

Common errors and how to fix them

"The face detector could not be started"
The model or engine files were not loaded, often because a content blocker or an offline tab stopped the request. Reload the page and run the scan again.
"Only 200 photos are accepted at once"
Split the set into batches of 200; the extra files are listed by name so you know where to resume.
"The finished photos together pass 1 GB"
The ZIP is built in memory. Download a smaller batch, or choose JPG, which is far smaller than PNG for photos.

Best practices

  • Run the scan once at the lowest confidence you can review comfortably, then tighten it, since lowering it later never needs another scan.
  • Keep face-boxes.json with your records if you may need to show which faces were hidden and with what margin.

Choosing between pixelate, blur and fill

Pixelate with 6 blocks across leaves a recognisable skin tone and face shape, which looks natural in news photos. Strong blur gives a soft smudge with a hint of texture that does not draw attention. A solid fill is the most obvious and the safest when the context, such as a hairstyle or clothing, already says who the person is.

None of the three can be sharpened back, but a larger face needs more blocks to look right, which is why the slider stops at 8: more blocks would approach the original detail.

Reading face-boxes.json

The file holds the margin, the confidence limit and the style used, then one entry per photo with its exported width and height and its boxes. Boxes are in pixels of the exported photo with the margin already applied, a confidence of null marks a box you drew, and blurred is false for a face you switched off, so the file records your decisions as well as the detections.

Frequently asked questions

Why does the same group photo give different faces in Off, Normal and Deep?

Each setting shows the detector smaller or larger pieces of the photo. Off passes the whole picture, so a 4200 px-wide photo is shrunk about 33 times for the short-range detector. Normal passes 1024 px tiles, which keep a face about 4 times larger, and Deep passes 512 px tiles for about 8 times. A 4200 × 3000 photo needs 24 tiles in Normal and 88 in Deep, so faces that Off misses can appear in the other two and the scan takes longer.

How is this different from blurring a rectangle by hand?

For a single picture where you want to place every rectangle yourself, Blur Image Region on this site is the lighter option. This page is for a batch: it proposes the boxes, lets you correct them, and applies the same obscuring to every file.

Does the page keep the original photos?

No. It reads the files you chose, writes new re-encoded copies into the ZIP, and leaves your originals where they are. Hidden faces in the copies cannot be recovered from the ZIP.