Skip to content
HALOWERK

Bildwerk

clone detect

Copy-move detection by shift search and block verification (exact-shift idea after Fridrich, Soukal and Lukáš 2003): the image is converted to grey and scaled to at most max_side. The autocorrelation of the fine residual (image minus 3×3 mean, strong edges removed) is computed by FFT; sharp peaks at shifts of at least 0.75 × min_region_px are candidate copy vectors (ridges from straight edges are suppressed). For each of the 16 strongest candidates and its 3×3 neighbourhood every overlapping.

POST https://bild.halowerk.com/v1/clone-detect

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
image_base64stringNoImage (JPEG, PNG, WebP, GIF, TIFF, AVIF) as base64 or data: URL, at most 10 MB. Give image_base64 or image_url.
image_urlstringNoPublic http(s) URL of the image (at most 10 MB).
block_sizeintegerNoBlock size in analysis pixels.
max_sideintegerNoLong side the image is scaled to for the analysis.
min_region_pxintegerNoSmallest cloned square (analysis pixels) that is reported.
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "image_base64": {
      "type": "string",
      "minLength": 16,
      "maxLength": 14000000,
      "description": "Image (JPEG, PNG, WebP, GIF, TIFF, AVIF) as base64 or data: URL, at most 10 MB. Give image_base64 or image_url."
    },
    "image_url": {
      "type": "string",
      "format": "uri",
      "maxLength": 2048,
      "description": "Public http(s) URL of the image (at most 10 MB)."
    },
    "block_size": {
      "type": "integer",
      "enum": [
        8,
        12,
        16
      ],
      "default": 16,
      "description": "Block size in analysis pixels."
    },
    "max_side": {
      "type": "integer",
      "minimum": 256,
      "maximum": 1024,
      "default": 512,
      "description": "Long side the image is scaled to for the analysis."
    },
    "min_region_px": {
      "type": "integer",
      "minimum": 16,
      "maximum": 256,
      "default": 24,
      "description": "Smallest cloned square (analysis pixels) that is reported."
    }
  }
}

Open original schema

Published input example

{
  "image_base64": "/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7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tR/1Qo7i/Mz1x2K6jwqGcHDmiNqWk+c3xukBE6+4RGw+xUfVTe9xBf8p5PxWBzFW1Jt3rq2YRRWv5MwW7kYYVRjanjH7fmvFdDqF/eRj6nFVIPRDsulTqNdF1WO0MEFI1zImC8gFw0DgVzzmN1s0ckstc8tERzi2q1exKPJ7UM3J3RN3KBl1Fawjyw9HAXsOmgKdZRE8Lo+EQh1O429P/AAFsRU7QNlpKWFdIMzmd8lYjsqzBqqLJEHW3db2IDY8oXT1NC2qhEecR2de4F/8Ad0lPg7WZR5Tf9n1S98+stxJ7mdvussUu8yAwBEj0PW7E4cOA/H/h9UpVxtpWZzNfW3m/VR50boGD0srOAJ1+ZrRqQEGWrhjBJkbp2FRRQDsbmh8SzExWtiqo+ha5wYDmJB3+ixDBETo5/MfJRRVeNWbZh1G1HEHqEZRxOPnP5hNR4XA70pOY+SiiPqpr16hLswHRmnR07KWPIwkgm9yU10uXjoooh8xyq6EUuoZtmDkrMovfZKCuMrna7KKLMVnleNwfOUDFbQ/X9iBfOTx8FkY2XOpGgf1B7iootJiIOQiHB7yU/mf/2Q==",
  "block_size": 16
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub →