Filtering text with different backgrounds

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
ubutar
Posts: 2
Joined: 2019-07-09T08:21:57-07:00
Authentication code: 1152

Filtering text with different backgrounds

Post by ubutar »

How do I filter out text from a document which has "white on black" and "black on white" (and most likely, black on gray, too) text at the same time?

Image

textcleaner is not supposed to help here, I believe.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Filtering text with different backgrounds

Post by fmw42 »

What do you mean by filtering? What do you expect for the result? If you are trying to read text, you need OCR tools. If you are trying to recover text covered by black, I doubt that is possible. Please clarify your request.

Please always provide your IM version and platform when asking questions as syntax may vary.
Post Reply