This python script can be used to check the similarity of two images
This script works by using the perceptual hasing technique to check for similarity of the images
python libs needed :
PIL
ImageHash
python py-phash.py link1 link2
for help use
python py-phash.py --help