Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sharpen #image #python
ADD COMMENT
Topic
Name
3+2 =