# Blur Faces and Car Plates on Photos (Plus No-Edit Proof) (`recoupiq/gdpr-image-redactor-and-evidence-seal`) Actor

Hides faces and car plates on photos, clears raw memory, and proves nobody edited the rest of the photo.

- **URL**: https://apify.com/recoupiq/gdpr-image-redactor-and-evidence-seal.md
- **Developed by:** [Recoup-IQ](https://apify.com/recoupiq) (community)
- **Categories:** Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.08 / gdpr image redaction & blake2b scene seal

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Blur Faces and Car Plates on Photos (Plus No-Edit Proof)

This tool blurs faces and plates on photos for dashcam, bodycam, insurance, and council teams. It also locks the rest of the photo with a tamper seal.

### Why Normal Blur Tools Fall Short

Normal blur tools hide faces and plates, yet give zero proof that the road or timestamp stayed real.

This tool blurs each `[x0, y0, x1, y1]` box, clears raw memory, and seals every unblurred pixel:

1. **Permanent Box Blur:** Scrubs detail inside each box and wipes raw pixels from memory.
2. **Optional Auto Finder:** Finds faces and plates locally with the stock OpenCV Haar cascades (front face, side face, and a plate cascade trained on Russian plates). It sends nothing out.
3. **Tamper Check Mode:** Set `mode` to `verify-receipt` later to check for any single-pixel background edit.

### How to Run It

1. Click **Start** with blank inputs to blur and seal a synthetic sample scene. This demo run is free.
2. If you have a photo, paste its link in `image_url` and boxes in `boxes`. A run on your own photo costs one event.
3. Download `REDACTED_IMAGE.png` and `EVIDENCE_RECEIPT.md` from Key-Value Store.

### Plain Limits to Know First

- The auto finder misses angled, small, and hidden faces, and many UK plates. Always add your own boxes.
- The offline library does not find faces or plates. It blurs the boxes that your software gives it.
- A trained person must check every blurred photo before you share it.

### On-Camera Software and Contact

- **Maker:** RecoupIQ Ltd (Company No. `16947526`, 410 High Street, Flat 1, Lincoln, LN5 7TE, United Kingdom)
- **On-Camera ARM64 and PC Pack (`7.37 ms` on Pi 4, £1,950 per year per model):** https://recoupiq.github.io/bytesdk/
- **Email:** contact@recoup-iq.tech

# Actor input Schema

## `mode` (type: `string`):

Pick 'scrub-and-seal' to blur a photo and lock a receipt. Pick 'verify-receipt' to check a photo for later edits.

## `image_url` (type: `string`):

Direct link to a photo. Leave blank to run the built-in sample dashcam scene.

## `boxes` (type: `array`):

Optional pixel boxes \[x0, y0, x1, y1] to blur permanently.

## `auto_detect_faces_and_plates` (type: `boolean`):

Runs a local face and plate finder inside your container with zero outside API calls.

## `hmac_key` (type: `string`):

Secret password or 64-character hex key used to lock the scene receipt.

## `expected_blake2b_receipt` (type: `string`):

64-character hex receipt from an earlier scrub-and-seal run.

## `image_base64` (type: `string`):

Optional Base64 photo text when calling via API without a web link.

## Actor input object example

```json
{
  "mode": "scrub-and-seal",
  "auto_detect_faces_and_plates": true
}
```

# Actor output Schema

## `dataset_items` (type: `string`):

No description

## `redacted_image_png` (type: `string`):

No description

## `evidence_receipt_md` (type: `string`):

No description

## `summary_json` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "scrub-and-seal",
    "auto_detect_faces_and_plates": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("recoupiq/gdpr-image-redactor-and-evidence-seal").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "scrub-and-seal",
    "auto_detect_faces_and_plates": True,
}

# Run the Actor and wait for it to finish
run = client.actor("recoupiq/gdpr-image-redactor-and-evidence-seal").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "scrub-and-seal",
  "auto_detect_faces_and_plates": true
}' |
apify call recoupiq/gdpr-image-redactor-and-evidence-seal --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,recoupiq/gdpr-image-redactor-and-evidence-seal"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/QkKZLqslHF7YKLuYm/builds/8fO2RrDW4ZCN5IPce/openapi.json
