Gaussian, Filters.
import matplotlib.pyplot as plt # Load an image image_path = "path_to_your_image.jpg" original_image = cv2.imread(image_path) # Convert the image to grayscale (if it's a color image) gray_image = cv2.cvtColor(original_image, cv2.COLOR_BGR2GRAY) # Apply Gaussian filter kernel_size = (5, 5) # Adjust