Improve image for Tesseract OCR

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
nicholas9950
Posts: 4
Joined: 2015-04-14T19:19:15-07:00
Authentication code: 6789

Improve image for Tesseract OCR

Post by nicholas9950 »

Hi
I am trying to use ImageMagick to improve the quality of image to be read by Tesseract OCR.
I am trying to blur the image background but improve the text so that the OCR can read the text easily.
Do you guys have any idea how to do it?

The image is as below:
Image
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Improve image for Tesseract OCR

Post by fmw42 »

What version of IM and what platform? You should always provide that information!

If you are on Linux/Mac OSX or Windows with Cygwin, see my unix shell script, textcleaner, at the link below
nicholas9950
Posts: 4
Joined: 2015-04-14T19:19:15-07:00
Authentication code: 6789

Re: Improve image for Tesseract OCR

Post by nicholas9950 »

fmw42 wrote:What version of IM and what platform? You should always provide that information!

If you are on Linux/Mac OSX or Windows with Cygwin, see my unix shell script, textcleaner, at the link below

sorry sir. the OS is windows
Version: ImageMagick 6.9.0-0 Q16 x86_64 2015-02-11

I need the raw convert command as i need to process it in my code.
Again i apologize for the double posting here. viewtopic.php?f=1&t=27610
I had forgotten that i had asked this before.
Post Reply