Skip to main content

How to automatically remove text from images?


I'd like to remove the text in the center of images automatically. To use Inpaint[], you need a mask, but I don't have one. So really the problem is:


How to build a mask for an image that contains a known overlaid piece of text?


Here are some example inputs:



enter image description here enter image description here




Comments