OpenCV Series — 12 — Blemish Removal
2 min readJul 4, 2022
In this post , we will see how to use the sobel filter in opencv to get the gradient of an image patch and use that to hide the blemish patch in an image.
Step: 1:
Determine the radius of the patch required based on the size of the blemishes in the image and Load the image.
Step: 2: