Remove page numbers from image/scan?
Posted: 2016-01-22T06:16:28-07:00
I'm processing page images and want trim out the margins, including the page numbers in the margins. The page number text is usually the opposite color of the page/margin (eg: black text over white; white text over black) so it's hard to trim out.
One idea is to determine the margin color, fill in the margin with the opposite color, determine the trim area based on the new margin color, and then apply that new trim area to the original image. The idea is to fill the margin with a similar color to the page number text, which will make it easier for trim to ignore the page number text. Is this possible to do currently?
One idea is to determine the margin color, fill in the margin with the opposite color, determine the trim area based on the new margin color, and then apply that new trim area to the original image. The idea is to fill the margin with a similar color to the page number text, which will make it easier for trim to ignore the page number text. Is this possible to do currently?