#algorithm #image #image-processing #image-comparison #picture-processing
idea
Average hash is an algorithm to create a hash for a picture that identifies it despite slight changes, changes in contrast and such.
- Reduce size to 8x8
- Convert to gray scale
- Compute the average color
- Convert each pixel to a bit based on whether it's above or below the average
- Transform the 64 bitmap into a 64 integer.
links
[[dAsh]]