Substration de deux images
from PIL import Image
from numpy import *
import imageio
im1 = f=imageio.imread('https://i.ibb.co/2N51s3M/Sneha-rose.jpg')
im2 = f=imageio.imread('https://i.ibb.co/nDNGFYB/fire.jpg')
im1arr = asarray(im1)
im2arr = asarray(im2)
subtract = im1arr - im2arr
plt.imshow(
subtract)
plt.show()
Prasoon Prahaladan