here is the code I have Written:(NOTE: image1.jpg and image2.jpg have the same dimensions but are diffrent photos)
import cv2,numpy as np from sklearn import