Page 1 of 1

Remove background and only show Digit

Posted: 2015-05-10T04:23:37-07:00
by nicholas9950
Hi

I need help to process the image below. I want the image to be processed to show Digit only as i need it to be read by Tesseract OCR. Is it possible?
As long the number can be read any method is fine.
i had tried alot of method but the reading was not accurate.
Please help

OS: Window 8
Version: ImageMagick 6.9.1-1 Q16 x64 2015-03-20

Image

Re: Remove background and only show Digit

Posted: 2015-05-10T09:08:53-07:00
by nicholas9950
I had tried

Code: Select all

-density 288 -depth 8 -monochrome -resize 2000x1500 -extent 2000x1500 -level 20x100% -lat 60x60-5% -morphology close disk:1.5
and obtain an image as below. I want to make the background black, only showing the text.

Image