Detecting Duplicate Images with dHash and Hamming Distance in a Chrome Extension

How the X Original Filter Chrome extension hides reposts and duplicate images on X: a 64-bit dHash built from a 9x8 thumbnail, Hamming distance matching, an IndexedDB record of first sightings, and a rule that the earlier timestamp wins. [Read More]