Page 1 of 1

How to remove this known background for better ocr?

Posted: 2015-05-08T18:38:25-07:00
by davidng
original image
Image

known background
Image

question:
how to separate them without the hole inside the character for better ocr? (can use multiple command)

convert img0.png bg.png -compose ChangeMask -composite img1.png
Image

Re: How to remove this known background for better ocr?

Posted: 2015-05-08T19:54:51-07:00
by fmw42
Are you are trying to break a captcha? Most people here will not help you do that.

Re: How to remove this known background for better ocr?

Posted: 2015-05-10T23:00:58-07:00
by davidng
well this is more like a imagemagick question, then a captcha question.
don't you find this question challenging?