Use OpenCV to produce a perceptual hash of an image (like pHash)