hi thanks you so much for the reply. I will check that  link out,
Hey do you have any experience  with opencv?
SO far i have got the edges of the two images using canny method, but now what next should i do to compare my images ?
Here is the code, Can you Please Help Out:
import cv2 
import os
 
import numpy as np
 
import matplotlib.pyplot as plt
 
img1 = cv2.imread("1-Flip-flops.jpg",0)
img2 = cv2.imread("29-Leather mules.jpg",0)
 
edges1 = cv2.Canny(img1, threshold1=30, threshold2=100)
edges2 = cv2.Canny(img2, threshold1=30, threshold2=100)
 
print(edges1)
 
plt.imshow(edges1, cmap = "gray")
plt.show()
 
plt.imshow(edges2, cmap = "gray")
plt.show()