I have two binary images and I use this:
chiusa = ~(imgsk == img2).all()
to check after an operation if change something in the image. Now i would like to check if the 2 images after the operation is almost the same (95%) and not every bit.
How can i change it?