OpenCV Series — 12 — Blemish Removal

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:

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Rajathithan Rajasekar

Rajathithan Rajasekar

107 Followers

I like to write code in Python . Interested in cloud , dataAnalysis, computerVision, ML and deepLearning. https://www.linkedin.com/in/rajathithan-rajasekar/