OpenCV Series — 12 — Blemish Removal

Rajathithan Rajasekar
2 min readJul 4, 2022
Photo by Jenny Pace on Unsplash

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:

--

--

Rajathithan Rajasekar

I like to write code in Python . Interested in cloud , dataAnalysis, computerVision, ML and deepLearning. https://rajathithanrajasekar.medium.com/membership