SyntaxFix
Write A Post
Hire A Developer
Questions
You can also try this filter
sharpen_filter = np.array([[0, -1, 0], [-1, 5, -1], [0, -1, 0]]) sharped_img = cv2.filter2D(image, -1, sharpen_filter)