blockhash

Calculate perceptual hash values for images to detect similarity

brewmacoslinux
Try with needOr install directly
Source

About

Perceptual image hash calculation tool

Commands

blockhash

Examples

Generate blockhash for a single image$ blockhash image.jpg
Calculate hash with specific size parameter (1-256 bits)$ blockhash -s 16 image.png
Process multiple images and compare their hashes$ blockhash *.jpg | sort