Compute image fingerprints and similarity