Answers for "sharpen image cv2 python"

0

how to sharpen image in python using cv2

kernel = np.array([[-1,-1,-1], [-1,9,-1], [-1,-1,-1]])
im = cv2.filter2D(im, -1, kernel)
Posted by: Guest on May-01-2021

Python Answers by Framework

Browse Popular Code Answers by Language