Implement Image Gaussian Blur in Python OpenCV

We can use cv2.GaussianBlur() to make image gaussian blur in python opencv. In this tutorial, we will use an example to show you how to do.

Implement Image Gaussian Blur Using cv2.GaussianBlur() in Python OpenCV

1.Read an image

import cv2
img = cv2.imread("pyimg.jpg")

2.Create image gaussian blur

blur_image = cv2.GaussianBlur(img, (7,7), 0)
cv2.imshow('Original Image', img)
cv2.imshow('Blur Image', blur_image)
cv2.waitKey(0)

Here is the result.

Implement Image Gaussian Blur in Python OpenCV Example