Python Compute SSIM

import skimage.metrics

ssim = skimage.metrics.structural_similarity(img1, img2, multichannel=True)
Sasso