cv2.filter2D(img,-1,kernel) manual code example Example: cv2.filter2D(image, -2, kernel_3x3) output = cv2.blur(img, (3,3)) ...