Tesseract (software)

From Wikipedia, the free encyclopedia

Jump to: navigation, search
Tesseract
Design by Ray Smith, Hewlett-Packard[1]
Developed by Google
Latest release 2.03 / 2008-04-22; 344 days ago[1]
Written in C and C++
Operating system Linux, Windows and (unofficially) Mac OS X
Type Optical character recognition
License Apache License v2.0
Website code.google.com/p/tesseract-ocr

In computer software, Tesseract is a free optical character recognition engine. It was originally developed as proprietary software at Hewlett-Packard between 1985 until 1995. After ten years without any development taking place, Hewlett Packard and UNLV released it as open source in 2005. Tesseract is currently developed by Google and released under the Apache License, Version 2.0.[2][3][1]

Tesseract is considered one of the most accurate free software OCR engines currently available.[3][4]

The current version of Tesseract is 2.03, released April 22, 2008.[5]

Contents

[edit] About the Tesseract OCR Engine

Tesseract is a raw OCR engine. It has no document layout analysis, no output formatting, and no graphical user interface. It only processes a TIFF image of a single column and creates text from it. TIFF compression is not supported unless libtiff is installed. It can detect fixed pitch vs proportional text. The engine was in the top 3 in terms of character accuracy in 1995. It compiles and runs on Linux, Windows and Mac OS X, however, due to limited resources only Windows and Ubuntu Linux are rigorously tested by developers.[2]

Tesseract can process English, French, Italian, German, Spanish, Brazilian Portuguese and Dutch. It can be trained to work in other languages as well.[3]

Tesseract is suitable for use as a backend, and can be used for more complicated OCR tasks including layout analysis by using a frontend such as OCRopus. Further integration with programs such as OCRopus, to better support complicated layouts, is planned. Likewise, frontends such as FreeOCR can add a GUI to make the software easier to use for manual tasks.[6]

[edit] History

The Tesseract engine was developed at Hewlett Packard Laboratories Bristol and at Hewlett Packard Co, Greeley Colorado between 1985 and 1994, with some more changes made in 1996 to port to Windows, and some migration from C to C++ in 1998. A lot of the code was written in C, and then some more was written in C++. Since then all the code has been converted to at least compile with a C++ compiler.[2]

Currently Tesseract builds under Linux with GCC 2.95 or later and under Windows with Visual C++ 6. The C++ code makes heavy use of a list system using macros. This predates the C++ Standard Template Library and may be more efficient than Standard Template Library lists, but is reportedly harder to debug in the event of a segmentation fault. Another side-effect of the C/C++ split is that the C++ data structures get converted to C data structures to call the low-level C code. The migration to C++ is a step towards eliminating this conversion, though it is not yet complete.

[edit] Usage

Tesseract is an OCR engine, and it does not have a graphical user interface. It runs from the command line, and may be called with the command:[7]

    tesseract image.tif output [options]

Tesseract handles image files in TIFF format (with filename extension .tif);[7] other file formats need to be converted to TIFF before being submitted to Tesseract.

Tesseract does not support layout analysis, which means that it cannot interpret multi-column text, images, or equations, and in these cases will produce a garbled text output.[3]

[edit] See also

[edit] References

  1. ^ a b c Google (2008). "tesseract-ocr". http://code.google.com/p/tesseract-ocr/. Retrieved on 2008-07-12. 
  2. ^ a b c Vincent, Luc (August 2006). "Announcing Tesseract OCR". http://google-code-updates.blogspot.com/2006/08/announcing-tesseract-ocr.html. Retrieved on 2008-06-26. 
  3. ^ a b c d Canonical Ltd. (June 2008). "OCR". https://help.ubuntu.com/community/OCR. Retrieved on 2008-07-12. 
  4. ^ Willis, Nathan (September 2006). "Google's Tesseract OCR engine is a quantum leap forward". http://www.linux.com/articles/57222. Retrieved on 2008-07-18. 
  5. ^ Google (2008). "tesseract-ocr downloads". http://code.google.com/p/tesseract-ocr/downloads/list. Retrieved on 2008-07-12. 
  6. ^ Softi Software (2008). "FreeOCR.net V2.4 Free OCR Software". http://softi.co.uk/freeocr.htm. Retrieved on 2008-06-26. 
  7. ^ a b http://code.google.com/p/tesseract-ocr/wiki/ReadMe Google Code - Tesseract Readme

[edit] External links

Personal tools