Robert001's picture
first commit
b334e29
raw
history blame
No virus
204 Bytes
import cv2
class Blurrer:
def __call__(self, img, ksize):
img_new = cv2.GaussianBlur(img, (ksize, ksize), cv2.BORDER_DEFAULT)
img_new = img_new.astype('ubyte')
return img_new