Wednesday, October 12, 2011

Extract Text From Color Images With Ground Truth Text


I’m sure we all feel the need to extract text from an image from time to time. Normally, one can type out the words manually, however, that can be hard to do when there are large paragraphs to be copied from an image. A more efficient way can be to use an application instead of just typing everything by yourself. Ground Truth Text (gttext) is an open source application which can extract text from almost any image. The program gives you the freedom to select the whole image or just a part of it, depending on your requirement. You can also zoom in and zoom out images if the image is too small or too big.

To start, select the image from which you want to extract text. During the selection of a new file, the program will give you a list of extension filters. Choose the extension of your required image and select the file. If you want to extract text from the whole image, go to Tools –>  Copy Text From and select Full Image or just use the Ctrl + F hotkey. If you want to select only a part of the image, go to Tools –> Area Text OCR.
Area text OCR
Once done, select your desired text by drawing a rectangle around it and a dialogue box will pop-up showing the copied text. You will have the option to either Cancel, Continue or Try Again. Selecting the Try Again option will run the text recognition again to change any errors that might have occurred in the first try. Select Continue to copy the text to clipboard. Now open any text editor e.g Notepad and past the text there.
Ground Truth 3
Ground Truth Text supports BMP, JPEG, GIF, TIFF and PNG image formats. During testing we encountered some problems regarding font recognition. The issue is that text recognition can be a bit messed up for stylized fonts.The program works fine as long as the text on the image is written in a simple font, without any added design. However, it is unable to recognize the text accurately from abstract font designs.
The program runs on Windows XP, Windows Vista and Windows 7.
Download Ground Truth Text

No comments:

Post a Comment