Perceptual Image Hashing

Cluster focuses on perceptual hashing techniques for detecting visually similar images despite modifications like cropping, compression, or pixel changes, with frequent mentions of phash.org and PhotoDNA.

📉 Falling 0.3x Security
2,051
Comments
19
Years Active
5
Top Authors
#846
Topic ID

Activity Over Time

2008
7
2009
25
2010
17
2011
61
2012
41
2013
49
2014
90
2015
61
2016
79
2017
159
2018
70
2019
102
2020
71
2021
706
2022
150
2023
162
2024
98
2025
96
2026
7

Keywords

MS NeuralHash AI SIFT SHA512 SURF URL1 exactitude.png vpn.de i.e hash image images hashes hashing similar md5 picture rotation pictures

Sample Comments

dannyw Sep 25, 2017 View on HN

That's perceptual hashing. Check out https://www.phash.org/

ayewo Oct 13, 2022 View on HN

Or perhaps it uses file hashes to determine if certain images are similar.

slashyellow Jan 6, 2026 View on HN

curious question from a non-programmer - are you checking against the exact same image (i.e. hashed), or is there an easy way of trying to match an image to a very similar one you've seen before?

gwern Oct 17, 2013 View on HN

Yep. Google "perceptual hash functions".

cenamus Jan 25, 2025 View on HN

Perceptual hashes are very good for that, maybe with some adjustments for mirrored images and some crops

bmmayer1 Dec 8, 2021 View on HN

This seems like an almost perfect use case for one-way image hashing.

voldacar Aug 6, 2021 View on HN

furthermore they are perceptual hashes. its not like you can just defeat it by changing a pixel in all your images

dairus May 22, 2017 View on HN

You are confusing image recognition with classification. They use recognition, similar to reverse image search services. Not really 'data-hash comparison', but rather 'image-hash', since it may see through re-compression and other minor modifications.

pornel Aug 6, 2021 View on HN

It finds specific images, but the hash is based on pixels, not raw file bytes. The hash is insensitive to small image changes (brightness, saturation, rotation, compression artifacts), so slightly modified images still hash to the same value.

hda2 Aug 20, 2021 View on HN

PhotoDNA relies on perceptual hashing?