Skip to content
//Duplicate Image Finder & Image Similarity example\\

Compare images with reference photos

Scores every image against your originals and flags copies.

Updated November 13, 2026

What this example returns

The dataset’s “Duplicates and matches” view shows 15 columns: #, Image, Verdict, Group, Keep, Duplicate of, Compared with, Similarity, Hash distance, Near duplicate, Similar, Width, Height, Custom ID, and Error. See every output field.

What each setting does

The input this example runs Duplicate Image Finder & Image Similarity with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Images imageUrls

https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/250px-Cat03.jpg, https://upload.wikimedia.org/wikipedia/commons/3/3a/Cat03.jpg, https://upload.wikimedia.org/wikipedia/commons/thumb/2/25/Siam_lilacpoint.jpg/960px-Siam_lilacpoint.jpg, https://upload.wikimedia.org/wikipedia/commons…

Links to the images, one per line: JPEG, PNG, WebP, GIF, AVIF, HEIC, TIFF or BMP, up to 100 MB each. With no reference image, every image is checked against all the others and duplicates are grouped. With a reference image, every image is compared with it. Google Drive, Dropbox and GitHub share links are turned into…

Reference images (optional) sourceImages

https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/960px-Cat03.jpg, https://upload.wikimedia.org/wikipedia/commons/thumb/9/90/Labrador_Retriever_portrait.jpg/960px-Labrador_Retriever_portrait.jpg

Leave empty to find duplicates within 'Images'. Add one or more reference images (your originals, a product master photo, a logo) to compare every image in 'Images' with each of them instead: one result per image and reference image.

What to compare comparisonMode

Visual similarity + duplicate hashes

Both: a visual similarity score from a vision model plus perceptual hashes that prove whether two files are the same picture (resized, recompressed or lightly edited). Hashes only: duplicate detection without the model, the fastest. Visual similarity only: the model score without hashes.

.json
{
  "sourceImages": [
    "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/960px-Cat03.jpg",
    "https://upload.wikimedia.org/wikipedia/commons/thumb/9/90/Labrador_Retriever_portrait.jpg/960px-Labrador_Retriever_portrait.jpg"
  ],
  "imageUrls": [
    "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/250px-Cat03.jpg",
    "https://upload.wikimedia.org/wikipedia/commons/3/3a/Cat03.jpg",
    "https://upload.wikimedia.org/wikipedia/commons/thumb/2/25/Siam_lilacpoint.jpg/960px-Siam_lilacpoint.jpg",
    "https://upload.wikimedia.org/wikipedia/commons/thumb/9/90/Labrador_Retriever_portrait.jpg/500px-Labrador_Retriever_portrait.jpg",
    "https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png"
  ],
  "comparisonMode": "both"
}

What it costs

You pay for the events the actor reports, such as each result or page it produces. Platform usage is included in the event prices: compute, proxies, browser and storage cost nothing extra.

  • Image resultfrom $0.00034One result row: an image checked against the other images of the list (its duplicate group, closest match and scores), or one image compared with one reference image. Images that cannot be read get free error rows.

Full pricing

When to use this example

From the Duplicate Image Finder & Image Similarity readme:

What if a field is empty?

similarityScore is empty in hash-only mode and the hash fields are empty in similarity-only mode. Images without a duplicate have no groupId. Images that could not be read have only error and errorCode.

Which copy is marked to keep?

The one with the most pixels, then the largest file, then the first in your list. All other copies point to it in duplicateOf.

Other ways to run Duplicate Image Finder & Image Similarity

All examples of Duplicate Image Finder & Image Similarity

About Duplicate Image Finder & Image Similarity

Find duplicate and near-duplicate images in a list of links or a dataset, or compare images with your reference images. Perceptual hashes (pHash, dHash) catch resized and recompressed copies; a vision model scores visual similarity. Duplicate groups, the copy to keep, and a verdict per image.

Price:
from $0.34 / 1,000 results
Developer:
Echofield

Duplicate Image Finder & Image Similarity pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.