Compare Images in Python

前端 未结 3 1129
[愿得一人]
[愿得一人] 2020-12-28 10:21

I need to compare two images that are screenshots of a software. I want to check if the two images are identical, including the numbers and letters displayed in the images.

3条回答
  •  旧时难觅i
    2020-12-28 11:02

    I'm maintaining a Python library called pyssim that uses the Structured Similarity (SSIM) method to compare two images.

    It doesn't have python bindings, but the perceptualdiff program is also awesome at comparing two images - and quite fast.

提交回复
热议问题