Gaussian, Filters.
the kernel size based on your requirements sigma = 1.5 # Adjust the sigma value based on your requirements filtered_image = cv2.GaussianBlur(gray_image, kernel_size, sigma) # Display the original and filtered images side by side plt.subplot(1, 2, 1), plt.imshow(gray_image, cmap='gray')