[Question] Image compare after Getting the Edges

Hi, a newbie with Open Cv and am trying to display similar images so far i have done the following.

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)


plt.imshow(edges1, cmap = "gray")

plt.imshow(edges2, cmap = "gray")

It shows the edges around the black pic in matplotlib as i plot it… I was following the tutorial on a website, but it ended with the edges part. Where should i go from here. ?

Thanks and Sorry If Noob Question :frowning:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.