Face Blur & Image Anonymizer (GDPR, No API Key)
Pricing
from $3.00 / 1,000 image anonymizeds
Face Blur & Image Anonymizer (GDPR, No API Key)
Automatically detect and blur, pixelate or black out faces in photos, including large group and crowd shots. Optional license plate blurring. Returns the anonymized image plus face boxes and scores. Self-hosted AI, no external APIs.
Pricing
from $3.00 / 1,000 image anonymizeds
Rating
0.0
(0)
Developer
Camp8 fr0
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Face Blur & Image Anonymizer: Automatically Blur Faces and License Plates in Photos (GDPR, No API Key)
Automatically detect and blur faces in any photo, from a single portrait to a large group photo or crowd. Choose a strong blur, a pixelated mosaic or a solid black box, optionally blur license plates too, and get back the anonymized image plus the exact face boxes and confidence scores. The face detector runs inside the Actor (self-hosted AI, CPU), so your images are never sent to a third-party API, and all EXIF/GPS metadata is stripped from the output.
What does Face Blur & Image Anonymizer do?
For each image URL, the Actor:
- downloads and decodes the image (JPEG, PNG, WebP, AVIF, GIF, TIFF; EXIF rotation applied),
- finds every face with the YuNet face detector, scanning the image at several scales in overlapping tiles so that small faces in big group photos are found too,
- optionally finds license plates with the LPD-YuNet plate detector,
- covers each face with an ellipse or rectangle that is blurred, pixelated or filled with a solid color (the effect scales with the face size),
- saves the anonymized image (JPEG/PNG/WebP, metadata removed) and returns a dataset row with its link, the number of faces, and every face box with its score.
Key features
- Accurate face detection with YuNet (OpenCV Model Zoo), including tilted, partly turned and small faces
- Group photos and crowds: multi-scale tiled scanning finds all 29 faces of the 1927 Solvay conference photo (3000 x 2171 px) in under a second of detection time
- Three anonymization methods: Gaussian blur, pixelate (mosaic) and solid box in any color
- Ellipse or rectangle masks, adjustable strength and padding (covers hair, ears and forehead)
- License plate blurring (experimental) with a dedicated plate detector
- Face boxes, scores and optional 5-point landmarks (eyes, nose, mouth corners) for your own pipelines
- Detect-only mode to count faces without producing an image
- Detection preview image with boxes and scores for quick quality checks
- Privacy by design: self-hosted models, no external API, EXIF/GPS metadata removed from outputs
- HTTP API (Standby mode) with optional base64 image in the response
- Pay per image; failed downloads and broken files are free
Use cases
- GDPR / CCPA compliance: anonymize bystanders before publishing photos on websites, social media or in reports
- Real estate, street-level and drone imagery: blur passers-by and car plates
- Dataset preparation: anonymize faces in computer-vision training data
- Newsrooms, NGOs and researchers: protect identities of minors, witnesses or protesters
- User-generated content: auto-blur faces in uploads before moderation or sharing
- Face counting: count people in event photos with detect-only mode
How to use Face Blur & Image Anonymizer
In Apify Console
- Paste one or more image links into Image URLs.
- Pick a method (blur, pixelate, solid box) and a shape.
- For crowds or large photos with tiny faces, set Detection mode to thorough.
- Click Start. Each result row shows the anonymized image and links to the file.
Via the Apify API
curl -X POST "https://api.apify.com/v2/acts/freecamp008~face-blur-anonymizer/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"imageUrls": ["https://upload.wikimedia.org/wikipedia/commons/6/6e/Solvay_conference_1927.jpg"], "method": "pixelate"}'
Standby mode (instant HTTP endpoint)
Standby keeps the models loaded. Send the same fields as the Actor input as GET query parameters or as a POST JSON body. The response is { "count": n, "items": [...] }.
# GET: arrays are comma-separatedcurl "https://freecamp008--face-blur-anonymizer.apify.actor/?token=YOUR_APIFY_TOKEN&imageUrls=https://huggingface.co/datasets/Xenova/transformers.js-docs/resolve/main/football-match.jpg&method=blur"# POST: also return the anonymized image as base64curl -X POST "https://freecamp008--face-blur-anonymizer.apify.actor/?token=YOUR_APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"imageUrls": ["https://huggingface.co/datasets/Xenova/transformers.js-docs/resolve/main/football-match.jpg"], "method": "blackbox", "shape": "rectangle", "returnBase64": true}'
AI agents can pay per call: the Actor uses pay-per-event pricing and only default storages, so AI agents can call it and pay per request with x402 through Apify.
Input example
{"imageUrls": ["https://upload.wikimedia.org/wikipedia/commons/6/6e/Solvay_conference_1927.jpg"],"method": "blur","shape": "ellipse","strength": 60,"paddingPercent": 20,"minConfidence": 0.6,"detectionMode": "balanced","blurLicensePlates": false,"detectOnly": false,"savePreview": false,"includeLandmarks": false,"outputFormat": "jpeg","outputQuality": 90,"maxSidePx": 4096}
| Field | Description |
|---|---|
imageUrls | Image links. One result per image. |
method | blur, pixelate or blackbox (solid fill with boxColor). |
shape | ellipse or rectangle for faces (plates are always rectangles). |
strength | 1-100, blur / mosaic strength relative to the face size. |
paddingPercent | Grow each face box by this percentage (default 20). |
minConfidence | Face score threshold (default 0.6). Lower finds more faces but also more false positives. |
detectionMode | fast (one pass), balanced (default, up to 3 scales) or thorough (up to full resolution). |
blurLicensePlates | Also blur license plates (experimental). plateMinConfidence sets their threshold. |
detectOnly | Only return boxes and counts, no output image. |
savePreview | Save a copy with boxes and scores drawn (previewUrl). |
includeLandmarks | Add 5 facial landmarks per face. |
outputFormat / outputQuality | jpeg, png or webp, and quality 1-100. |
maxSidePx | Larger images are downscaled first (default 4096). |
returnBase64 | Standby only: include the image as base64 in the response. |
Output example
{"imageUrl": "https://huggingface.co/datasets/Xenova/transformers.js-docs/resolve/main/football-match.jpg","faceCount": 4,"outputUrl": "https://api.apify.com/v2/key-value-stores/STORE_ID/records/ee4601f84cf2edce-anonymized","faces": [{ "x": 503, "y": 88, "width": 43, "height": 57, "score": 0.931 },{ "x": 540, "y": 54, "width": 34, "height": 42, "score": 0.872 },{ "x": 62, "y": 66, "width": 27, "height": 32, "score": 0.868 },{ "x": 176, "y": 41, "width": 43, "height": 67, "score": 0.818 }],"width": 800,"height": 533,"originalWidth": 800,"originalHeight": 533,"method": "blur","detectionMode": "balanced","tilesScanned": 3,"outputFormat": "jpeg","outputBytes": 62790,"detectionMs": 46,"processingMs": 111}
- Face boxes are in pixels of the output image (which equals the input unless it was downscaled by
maxSidePx).scoreis the detector confidence (0-1). - With
blurLicensePlateson, results also containplateCountandplates. - Failed images produce
{ "imageUrl": "...", "error": "...", "isError": true }and are not charged.
Pricing
This Actor uses pay-per-event pricing:
| Event | Price | Per 1,000 |
|---|---|---|
image-anonymized: one image scanned and saved anonymized (or analyzed in detect-only mode) | $0.003 | $3.00 |
Images without faces are still charged, because they were fully scanned (and their metadata removed). Failed downloads and unreadable files are free. Apify platform usage (compute, storage) is billed separately according to your plan. Use Maximum cost per run to cap spending.
FAQ
How accurate is the face detection?
YuNet detects frontal and moderately turned faces down to about 10-15 pixels wide. Balanced mode finds the faces in typical group photos; use thorough for crowds or very large images. Faces seen strictly from behind or in full profile, heavily occluded faces and very blurry faces can be missed, so always review sensitive material. Lower minConfidence (e.g. 0.4) to catch more faces at the cost of occasional false positives (for anonymization a few extra blurred patches are usually acceptable; the detector sometimes fires on animal faces).
How well does license plate blurring work? It is experimental. The plate model (LPD-YuNet) was trained on Chinese plates. In our tests it found single-row plates from several countries (Argentina, Mexico, Portugal, some French plates) but missed some long EU-style plates. Check the results when it matters.
Can the blur be reversed?
The blur and pixelation are strong and scale with the face size, but for maximum safety (e.g. legal or journalistic use) choose blackbox, which replaces the pixels completely.
What are the limits?
Images up to 50 MB; they are downscaled to maxSidePx (default 4096 px). Animated GIFs use the first frame only. Video is not supported. Typical processing time is well under a second for normal photos and a few seconds for very large group photos.
Are my images private? Yes. Detection and anonymization run inside your Apify run, without any external AI service. Output files are stored in the run's key-value store; their links are unguessable but public, so delete the storage or set a retention period if needed. All metadata (EXIF, GPS, camera info) is removed from the outputs.
Does it recognize who is in the photo? No. The Actor only detects where faces are. It does not identify people, compare faces or store any biometric templates.
Is it legal to blur faces? Blurring faces is a common privacy-protection measure and generally helps compliance with GDPR and similar laws. You still need the right to process and publish the images you submit, and you are responsible for checking that anonymization is complete for your use case.
Which models and licenses are used? Face detection: YuNet 2023mar from the OpenCV Model Zoo, MIT license. License plates: LPD-YuNet 2023mar, Apache-2.0. Both allow commercial use and are bundled in the Actor image.