How to use Image Similarity Comparison
Compare two local images using 64-bit difference hashes, Hamming distance and the proportion of matching bits.
About Image Similarity Comparison
When checking resized or re-encoded versions of a picture, a byte-for-byte equality test can be too strict. A perceptual fingerprint can help identify candidates that share a similar arrangement of light and dark regions. This tool is deliberately a two-image comparison rather than a full library scanner or face-recognition system.
Both pictures are normalized in the same way to 9 × 8 luminance samples over white. The result counts differing bits from zero to 64 and reports the fraction of matching bits. A low distance can suggest similar structure, but unrelated images may collide, and crops, rotation or significant edits can change the fingerprint. Review both originals and verify exact byte identity separately before making any deletion or authenticity decision.
- Select exactly two images and confirm their order.
- Process to calculate both fingerprints and Hamming distance.
- Review the values and original files; export a text or printed result if needed.
How it works
Generate two 64-bit difference hashes, count unequal positions, and calculate (64 − distance) ÷ 64 × 100 for matching-bit percentage.
A quick example
Identical hashes have distance 0 of 64 and 100% matching bits. A distance of 8 gives 87.5% matching bits.
Assumptions, edge cases & limits
- The percentage is not a probability of identity or semantic similarity. No batch duplicate deletion, face identification or forensic verification.
- Review your output and keep your original file.
Questions about Image Similarity Comparison
How do I find potentially similar images in a batch?
Add supported images and review the calculated similarity candidates. Visually confirm any matches; perceptual comparisons can miss changes or produce false matches.
Does 100% mean identical files?
No. It means the 64 fingerprint bits match.
Can I compare more than two files?
Not in this workspace; choose two at a time.
Will it detect the same subject in different scenes?
Not reliably. It compares coarse visual structure, not semantics.
Does it delete duplicate files?
No. It only reports fingerprints and distance.
Related image workflows
For processing, privacy and service availability, see our privacy details and methodology. Tool-specific questions and limitations are explained above.
A result or explanation needs correcting? Tell us the tool name and an example.