Answers for "python cv2 unblur"

0

python cv2 unblur

import cv2
import numpy as np

image = cv2.imread('1.jpg')
sharpen_kernel = np.array([[-1,-1,-1], [-1,9,-1], [-1,-1,-1]])
sharpen = cv2.filter2D(image, -1, sharpen_kernel)

cv2.imshow('sharpen', sharpen)
cv2.waitKey()
Posted by: Guest on February-22-2021

Python Answers by Framework

Browse Popular Code Answers by Language