Comparison of two images using the structural similarity algorithm (SSIM). It's compatible with the PIL.
Project description
SSIM-PIL
Comparison of two images using the structural similarity algorithm (SSIM). It's compatible with the PIL. Supports GPU acceleration via pyopencl.
Installation
python3 -m pip install SSIM-PIL
Usage Example
from SSIM_PIL import compare_ssim
from PIL import Image
image1 = Image.open(path)
image2 = Image.open(path)
value = compare_ssim(image1, image2)
print(value)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
SSIM-PIL-1.0.10.tar.gz
(4.9 kB
view hashes)
Built Distribution
Close
Hashes for SSIM_PIL-1.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d75d4d96d5b52f807a34bb6648126ad2eb3cdb05c12806f9eed33274eff920db |
|
MD5 | 82aae6d656550074746832f230c5978a |
|
BLAKE2b-256 | d173bf38b2ea2f887206495897a3d346d35217b363e9a81db9cb99ad88179dba |