Image Compare – Similarity, Visual Diff & Duplicate Finder
Pricing
from $0.30 / 1,000 comparisons
Image Compare – Similarity, Visual Diff & Duplicate Finder
Compare images in bulk: similarity score, SSIM, pHash, pixel difference % and a visual diff PNG. One image against many, before/after pairs, all pairs, or group duplicate images in a list or dataset. No AI model, no API key. $0.30 per 1,000 comparisons.
Pricing
from $0.30 / 1,000 comparisons
Rating
0.0
(0)
Developer
Cemal Atakli
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Features
Share
Image Compare – Image Similarity, Visual Diff & Duplicate Finder
Compare images in bulk and get numbers you can act on: a similarity score, SSIM, perceptual hash distance (pHash and dHash), pixel difference %, colour difference, the changed area and, if you want it, a visual diff PNG with every change marked in red. Compare one image with many, before/after pairs, all pairs of a list, or find and group duplicate images in a list or an Apify dataset.
$0.30 per 1,000 comparisons. No AI model, no API key, no browser. Broken links, non-images and oversized files are free.
What it does
- One source vs. many: is this logo, photo or product picture among these images, and how close is each one?
- Pairs (before / after): screenshot and design regression checks, supplier photo vs. shop photo.
- All pairs: every combination of up to 200 images.
- Duplicates: groups exact copies, the same pixels in another format, resized or re-compressed copies and (optional) rotated or mirrored copies. The best file (most pixels) of every group gets
keep: true. You pay per image, not per pair. - Diff images:
highlight(changes in red on a faded image),heatmaporside-by-side. - Colour check: perceptual hashes ignore colour, so a red and a blue version of one product look the same to them. The colour check keeps them apart (you can turn it off).
- JPG, PNG, WebP, AVIF, HEIC/HEIF, TIFF, GIF, BMP. EXIF rotation is applied and transparency is shown on white. Links and
data:image/...;base64URIs both work.
Input examples
One image against many, with diff pictures:
{"sourceImage": "https://example.com/original.jpg","imageUrls": ["https://example.com/copy1.jpg", "https://example.com/copy2.webp"],"createDiffImages": true}
Before / after pairs:
{"mode": "pairs","pairs": [{ "before": "https://example.com/home-v1.png", "after": "https://example.com/home-v2.png", "label": "home page" }],"compareSize": 2048}
Duplicates in a scraped dataset:
{ "mode": "duplicates", "datasetId": "<dataset id>", "datasetField": "images", "matchThreshold": 6 }
Other sources: bulkText (one URL per line or CSV; two URLs per line in pairs mode), sourceFileUrl (public .txt/.csv) and datasetFieldB for pairs stored in a dataset. The sample:// values in the default input are small pictures inside the Actor, so you can try it with one click.
Output example
{"mode": "one-to-many","imageA": "sample://poster.png","imageB": "sample://poster-edited.png","verdict": "similar","isMatch": true,"similarityPercent": 94.81,"ssim": 0.9788,"pixelDiffPercent": 2.845,"colorDifferencePercent": 0.76,"psnrDb": 22.85,"pHashDistance": 4,"dHashDistance": 2,"byteIdentical": false,"pixelIdentical": false,"sameDimensions": true,"changedArea": { "x": 150, "y": 408, "width": 459, "height": 55 },"diffImageUrl": "https://api.apify.com/v2/key-value-stores/<storeId>/records/diff-00002.png","widthA": 640, "heightA": 480, "formatA": "png"}
In duplicates mode there is one row per image with groupId, matchType (best, exact, pixel-identical, near, rotated, unique), keep, isDuplicate and bestImageUrl. The GROUPS record lists each group with the file to keep. SUMMARY has the totals.
How to read the numbers
| Field | Meaning |
|---|---|
verdict | identical = same pixels. near-identical = SSIM ≥ 0.95 and at most 2% changed pixels (5% when sizes differ). similar = pHash distance within matchThreshold and similar colours, or SSIM ≥ 0.9. Otherwise different |
similarityPercent | 50% SSIM + 30% pHash + 20% colour. Unrelated images usually score 10–50, so use it for ranking, and verdict / isMatch for decisions |
ssim | Structural similarity of brightness, 1 = identical |
pixelDiffPercent | Share of pixels where a colour channel differs by more than pixelThreshold |
pHashDistance | 0–64 different bits. 0–4 = almost surely the same picture, above 12 = usually a different one |
changedArea | Box around all changed pixels, in pixels of image A |
Pricing
| Event | Price |
|---|---|
| Comparison (one pair; in duplicates mode one image) | $0.0003 ($0.30 per 1,000) |
| Diff image (optional) | $0.001 ($1 per 1,000) |
| Actor start | $0.00005 |
Free: failed downloads, non-images, files above your limits, invalid URLs and repeated URLs. maxComparisons (1,000) and maxDiffImages (100) guard your budget, and a maximum total charge stops the run cleanly (SUMMARY.stoppedAtMaxCharge). For comparison, johnvc/image-similarity-api on the Apify Store charged $0.0005 per comparison in November 2026 (it adds AI embeddings).
How it differs from our other image Actors
- Image Metadata & EXIF Extractor lists hashes and the first earlier duplicate next to EXIF, GPS and AI signals ($1.50 per 1,000). This Actor measures how different two pictures are (SSIM, pixel difference, changed area, diff PNG), works on pairs, and groups duplicates with a file to keep.
- Image Compressor and Image Converter change files; this Actor only compares them. Use it to check their output.
- Image Downloader collects the images of a page; pass its dataset here to remove duplicates.
Limits (honest)
- This is pixel and hash comparison, not AI. It finds copies, edits, resized and re-encoded files. It does not know that two different photos show the same person or product, and it does not do face recognition or reverse image search on the web.
- Heavily cropped copies, collages and large overlays usually count as different.
- Very small edits (one digit on a poster) can be
near-identicalor evensimilarat a loose threshold: usepixelDiffPercent/changedAreawhen every pixel matters. - Images of different size are scaled to the smaller one. Different aspect ratios are stretched, which lowers SSIM; the row has a
note. - JPEGs above 4 MP are decoded at reduced scale when they are at least three times larger than
compareSize;pixelIdenticalthen means the same file. - Only the first frame of animated files is compared. Colour profiles (ICC) are ignored.
- With 512 MB of memory: JPG up to about 50 MP, other formats about 25 MP. Files up to 50 MB.
- Only public addresses are downloaded. Links to private networks are refused, including through redirects. Sites that block cloud servers return an error row (free); no proxy or browser disguise is used.
- Compare only images you are allowed to download and process.
FAQ
Is it deterministic? Yes, the same files and settings give the same numbers.
Which threshold should I use? Start with 8. Use 4 for "same picture, re-saved", 12 for loose matching and check the results.
How do I use it for visual regression tests? Send the old and new screenshot links as a pair, set compareSize to 2048 or more and fail your build when pixelDiffPercent is above your limit.
Are my images stored? No. They are processed in memory and temporary files of the run. Only the diff PNGs (if enabled) are saved, in your own key-value store.
Use with AI agents (Apify MCP)
Add this Actor to an MCP client through the Apify MCP server (https://mcp.apify.com, tool gazidev/image-compare). An agent can send two image links or base64 URIs and read verdict, similarityPercent, changedArea and diffImageUrl.