This example demonstrates how to use the PDQ perceptual hashing algorithm in the browser using WebAssembly.
Upload one or two images to generate their PDQ hashes and compare them.
Hamming Distance: The number of bits that differ between two hashes (0-256). Lower values indicate more similar images.
Similarity: Percentage similarity based on the Hamming distance (100% - (distance/256 * 100)).