details in this presentaion Structural Similarity Index SSIM how to compare two images with Python using the Structural Similarity Index (SSIM) note that the two images must have the same Dimensions tutorial video run python ssim.py -f path/to/image/one -s path/to/image/two