Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Tesseract (software)

From Wikipedia, the free encyclopedia
Free optical character recognition engine

Tesseract
Tesseract 4.1.1 reading an image.
Original authorsRay Smith,Hewlett-Packard[1]
DevelopersGoogle and others
Stable release
5.5.1[2] Edit this on Wikidata / 25 May 2025
Repository
Written inC++
Operating systemLinux,Windows, andmacOS
Available inInterface:English
Recognition:

Afrikaans,Albanian,Amharic,Arabic,Armenian,Assamese,Azerbaijani,Basque,Belarusian,Bengali,Bosnian,Breton,Bulgarian,Burmese,Catalan,Cebuano,Cherokee,Chinese,Corsican,Croatian,Czech,Danish,Dutch,Dzongkha,English,Esperanto,Estonian,Faroese,Finnish,French,Galician,Georgian,German,Greek,Gujarati,Haitian Creole,Hebrew,Hindi,Hungarian,Icelandic,Indonesian,Inuktitut,Irish,Italian,Japanese,Javanese,Kannada,Kazakh,Khmer,Korean,Kurdish,Kyrgyz,Lao,Latin,Latvian,Lithuanian,Luxembourgish.Malayalam,Macedonian,Maltese,Malay,Maori,Marathi,Mongolian,Nepali,Norwegian,Occitan,Oriya,Pashto,Persian,Polish,Portuguese,Punjabi,Quechua,Romanian,Russian,Sanskrit,Scottish Gaelic,Serbian,Sindhi,Sinhala,Slovak,Slovenian,Spanish,Sundanese,Swahili,Swedish,Syriac,Tagalog,Tajik,Tamil,Tatar,Telugu,Thai,Tibetan,Tigrinya,Tongan,Turkish,Ukrainian,Urdu,Uyghur,Uzbek,Vietnamese,Welsh,West Frisian,Yiddish,Yoruba[3]

(more can be added using included training files)[4]
TypeOptical character recognition
LicenseApache License 2.0
Websitegithub.com/tesseract-ocr Edit this on Wikidata

Tesseract is anoptical character recognition engine for various operating systems.[5] It isfree software, released under theApache License.[1][6][7] Originally developed byHewlett-Packard as proprietary software in the 1980s, it was released as open source in 2005 and development was sponsored byGoogle in 2006.[8]

In 2006, Tesseract was considered one of the most accurate open-source OCR engines available.[7][9]

History

[edit]

The Tesseract engine was originally developed as proprietary software atHewlett-Packard labs inBristol, England andGreeley, Colorado,United States between 1985 and 1994, with more changes made in 1996 to port to Windows, and partial migration fromC toC++ in 1998. A majority of the code was written in C, some written in C++. Since then, all the code has been converted to C++.[1] Very little work was done in the following decade. It was then released as an open source in 2005 by Hewlett-Packard and theUniversity of Nevada, Las Vegas (UNLV). Tesseract development was sponsored byGoogle in 2006.[8]

Version 4 addsLSTM-based OCR engine and models for many additional languages and scripts, bringing the total to 116 languages.[10] Additionally, 37scripts are supported.

Since 2018, theMannheim University Library has contributed to the development of Tesseract through several projects. Most of these were funded by theGerman Research Foundation.[11][12]

Version 5 was released in 2021.[13]

Development

[edit]

Tesseract was in the top three OCR engines in terms of character accuracy in 1995.[14] It is available forLinux,Windows andMac OS X.[6][7]

Tesseract, up to and including version 2, could only accept TIFF images of simple one-column text as inputs. These early versions did not include layout analysis, and so inputting multi-columned text, images, or equations produced garbled output. Since version 3, Tesseract has supported output text formatting,hOCR[15] positional information and page-layout analysis. Support for a number of new image formats was added using theLeptonica library. Tesseract can detect whether text ismonospaced or proportionally spaced.[7]

The initial versions of Tesseract could only recognize English-language text.

Tesseract v2 added six additional Western languages (French, Italian, German, Spanish, Brazilian Portuguese, Dutch).

Version 3 extended language support significantly to include ideographic (Chinese & Japanese) and right-to-left (e.g. Arabic, Hebrew) languages, as well as many more scripts. New languages included Arabic, Bulgarian, Catalan, Chinese (Simplified and Traditional), Croatian, Czech, Danish, German (Fraktur script), Greek, Finnish, Hebrew, Hindi, Hungarian, Indonesian, Japanese, Korean, Latvian, Lithuanian, Norwegian, Polish, Portuguese, Romanian, Russian, Serbian, Slovak (standard and Fraktur script), Slovenian, Swedish, Tagalog, Tamil, Thai, Turkish, Ukrainian and Vietnamese.

V3.04, released in July 2015, added an additional 39 language/script combinations, bringing the total count of support languages to over 100. New language codes included: amh (Amharic), asm (Assamese), aze_cyrl (Azerbaijana in Cyrillic script), bod (Tibetan), bos (Bosnian), ceb (Cebuano), cym (Welsh), dzo (Dzongkha), fas (Persian), gle (Irish), guj (Gujarati), hat (Haitian and Haitian Creole), iku (Inuktitut), jav (Javanese), kat (Georgian), kat_old (Old Georgian), kaz (Kazakh), khm (Central Khmer), kir (Kyrgyz), kur (Kurdish), lao (Lao), lat (Latin), mar (Marathi), mya (Burmese), nep (Nepali), ori (Oriya), pan (Punjabi), pus (Pashto), san (Sanskrit), sin (Sinhala), srp_latn (Serbian in Latin script), syr (Syriac), tgk (Tajik), tir (Tigrinya), uig (Uyghur), urd (Urdu), uzb (Uzbek), uzb_cyrl (Uzbek in Cyrillic script), yid (Yiddish).[16] It can be trained to work in other languages.[7]

Accuracy rates for other language processing were shown in a presentation at DAS 2016, Santorini by Ray Smith.[17]

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 asOCRopus.[18]

Tesseract's output will have very poor quality if the input images are not preprocessed to suit it: Images (especiallyscreenshots) must bescaled up such that the textx-height is at least 20 pixels,[19] any rotation or skew must be corrected or no text will be recognized, low-frequency changes in brightness must behigh-pass filtered, or Tesseract'sbinarization stage will destroy much of the page, and dark borders must be manually removed, or they will be misinterpreted as characters.[20]

User interfaces

[edit]
Tesseract configuration window in OCRFeeder

Tesseract is executed from thecommand-line interface.[21] While Tesseract is not supplied with a GUI, there are many separate projects which provide a GUI for it.[22] One common example isOCRFeeder.[23] A cross-platform open-source GUI is gImageReader[1]

Reception

[edit]

In a July 2007 article on Tesseract, Anthony Kay ofLinux Journal termed it "a quirky command-line tool that does an outstanding job". At that time he noted "Tesseract is a bare-bones OCR engine. The build process is a little quirky, and the engine needs some additional features (such as layout detection), but the core feature, text recognition, is drastically better than anything else I've tried from the Open Source community. It is reasonably easy to get excellent recognition rates using nothing more than a scanner and some image tools, such asThe GIMP andNetpbm."[5]

In November 2020,Brewster Kahle from theInternet Archive praised Tesseract, saying:

Tesseract has made a major step forward in the last few years. When we last evaluated the accuracy it was not as good as the proprietary OCR, but that has changed– we have done evaluations and it is just as good, and can get better for our application because of its new architecture.[24]

See also

[edit]

References

[edit]
  1. ^abc"tesseract-ocr/tesseract: Tesseract Open Source OCR Engine (main repository)".GitHub. 2025. Retrieved5 August 2025.
  2. ^"Release 5.5.1 · tesseract-ocr/tesseract". Retrieved25 May 2025.
  3. ^"Languages supported in different versions of Tesseract".Archived from the original on 8 August 2022. Retrieved21 November 2022.
  4. ^"Tesseract documentation – Traineddata files ... – Language data files for Tesseract".Archived from the original on 5 September 2022. Retrieved21 November 2022.
  5. ^abKay, Anthony (July 2007)."Tesseract: an Open-Source Optical Character Recognition Engine".Linux Journal. Retrieved28 September 2011.
  6. ^abVincent, Luc (August 2006)."Announcing Tesseract OCR". Archived fromthe original on 26 October 2006. Retrieved26 June 2008.
  7. ^abcdeCanonical Ltd. (February 2011)."OCR". Retrieved11 February 2011.
  8. ^abAnnouncing Tesseract OCR - The official Google blog
  9. ^Willis, Nathan (September 2006)."Google's Tesseract OCR engine is a quantum leap forward".Archived from the original on 28 May 2022. Retrieved18 July 2008.
  10. ^"TESSERACT(1) Manual Page".GitHub. Retrieved5 August 2025.
  11. ^"Optimized use of OCR methods – Tesseract as a component of the OCR-D workflow". DFG. Retrieved5 August 2025.
  12. ^Weil, Stefan; Kamlah, Jan; Schmidt, Thomas (2024)."Abschlussbericht zu DFG-Projekt "Workflow für werkspezifisches Training auf Basis generischer Modelle mit OCR-D sowie Ground-Truth-Aufwertung"" (in German). Mannheim: Mannheim University Library. Retrieved5 August 2025.
  13. ^Schmidt, Julia (1 December 2021)."OCR Engine Tesseract 5.0 converts to float for faster training and recognition • DEVCLASS".DEVCLASS. Retrieved20 December 2021.
  14. ^Rice Stephen V., Frank R. Jenkins, and Thomas A. NartkerThe Fourth Annual Test of OCR Accuracy, expervision.com, retrieved 21 May 2013
  15. ^Tesseract Project (February 2011)."Issue 263: patch to enable hOCR output". Archived fromthe original on 13 November 2012. Retrieved26 February 2011.
  16. ^"langdata - Source training data for Tesseract for lots of languages".GitHub. Retrieved6 November 2016.
  17. ^"Training LSTM networks on 100 languages and test results"(PDF).GitHub. Retrieved5 August 2025.
  18. ^Announcing the OCRopus Open Source OCR SystemArchived 2007-04-14 at theWayback Machine (Thomas Breuel, OCRopus Project Leader).
  19. ^"FAQ - tesseract-ocr - Frequently Asked Questions - An OCR Engine that was developed at HP Labs between 1985 and 1995... and now at Google. - Google Project Hosting". Archived fromthe original on 23 December 2015. Retrieved30 May 2014.
  20. ^"ImproveQuality - tesseract-ocr - Advice on improving the quality of your output. - An OCR Engine that was developed at HP Labs between 1985 and 1995... and now at Google. - Google Project Hosting". 27 January 2014. Archived fromthe original on 20 September 2015. Retrieved30 May 2014.
  21. ^Google Code – Tesseract Readme
  22. ^"3rdParty - tesseract-ocr - GUIs and Other Projects using Tesseract OCR". github.com. Retrieved9 March 2024.
  23. ^"OCRFeeder".GNOME wiki. Retrieved12 January 2019.
  24. ^Brewster Kahle (23 November 2020)."FOSS wins again: Free and Open Source Communities comes through on 19th Century Newspapers (and Books and Periodicals...) - Internet Archive Blogs".blog.archive.org. Retrieved1 December 2020.

External links

[edit]
Wikimedia Commons has media related toTesseract (software).
Free software
Proprietary software
See also
Google free and open-source software
Software
Applications
Programming languages
Frameworks and
development tools
Operating systems
Related
Applications and utilities
Database
File systems and formats
Operating systems and environments
Protocols and languages
  • Asterisk (*) denotes software continued byHP Inc.
  • Double asterisk (**) denotes software continued byHewlett Packard Enterprise
  • Dagger (†) denotes software divested and sold off
  • Double dagger (‡) denotes third-party software
Retrieved from "https://en.wikipedia.org/w/index.php?title=Tesseract_(software)&oldid=1323179493"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp