Computervisionminiproject, Opencv, Image Processing.
kernel) filtered_image_y = cv2.filter2D(image_gray, -1, sobel_y) filtered_image_x = cv2.filter2D(image_gray, -1, sobel_x) Now, let’s plot the output of the code above. ​(fig, (ax1, ax2, ax3)) = plt.subplots(1, 3, figsize=(25, 25)) ax1.title.set_text('Original Image') ax1.imshow(image_original)