xtract.bot

Blur faces (privacy)

Try it interactively →
POST /api/image-privacy-blur-faces

Auto-blur every face detected in a photo. Useful for publishing crowd / street photos without identifying individuals; configurable blur strength.

Detects every face in an image and applies a Gaussian blur over each face's bounding rectangle. The rest of the image is untouched. Useful for publishing crowd or street photos without identifying individuals, blurring bystanders in editorial shots, etc. `blurStrength` (default 25) controls how heavy the blur is — typical privacy use wants ≥20 to ensure features are unrecognisable.

Inputs

NameTypeDefaultDescription
image*fileInput image bytes.
methodenum (gaussian | pixelate)"gaussian"Blur algorithm.
strengthnumber (1…201)35Gaussian kernel size (odd) or pixelate cell size.
paddingnumber (0…2)0.15Expand each face box by this fraction of its size.
scoreThresholdnumber (0…1)0.6Face detection confidence cutoff.
formatenum (jpeg | png)"jpeg"Output encoding.
qualitynumber (1…100)90JPEG quality (ignored for PNG).

Response

Modes: binary, json. Cache: yes (24h TTL).