#image #algorithm #image-processing #image-comparison #picture-processing
idea
dHash is an image comparison algorithm that computes a hash.
- Resize picture to 9x8 pixels
- Convert to gray scale
- Calculate difference between one pixel and the next.
- Convert to bits based on whether the difference is positive or negative.
- Assemble hash.