#image #algorithm #image-processing #image-comparison #picture-processing

idea

dHash is an image comparison algorithm that computes a hash.

  1. Resize picture to 9x8 pixels
  2. Convert to gray scale
  3. Calculate difference between one pixel and the next.
  4. Convert to bits based on whether the difference is positive or negative.
  5. Assemble hash.

links

aHash (Average hash)

references