11 lines
170 B
Python
11 lines
170 B
Python
import cv2 as cv
|
|
|
|
img = cv.imread('img.jpg')
|
|
|
|
img_blur = cv.blur(img, (5, 5))
|
|
|
|
cv.imshow('img', img)
|
|
cv.imshow('img_blur', img_blur)
|
|
cv.waitKey(0)
|
|
cv.destroyAllWindows()
|