tesseract-ocr/tesseract

Tesseract Open Source OCR Engine (main repository)

What it solves

Tesseract tackles the problem of extracting printed text from images, scanned documents, and other visual sources. Instead of manually typing, you can feed it a picture, and it returns the text it finds.

How it works

Tesseract uses two OCR engines under the hood: an older pattern-matching engine and a newer one based on neural networks (LSTM) that focuses on recognizing whole lines of text. It supports over 100 languages out of the box and can be trained to recognize new ones. It reads various image formats like PNG, JPEG, and TIFF, and outputs text in multiple formats—plain text, searchable PDFs, and structured HTML (hOCR) among them.

Who it’s for

Developers and researchers who need reliable text extraction in their applications. It’s also useful for archivists, digitization projects, and anyone who wants to convert scanned documents into editable text. Tesseract provides both a command-line tool and a C/C++ API for integration.

Highlights

  • Supports more than 100 languages "out of the box"
  • Provides both a legacy OCR engine and a modern LSTM-based neural engine
  • Outputs to multiple formats: plain text, hOCR, PDF, TSV, ALTO, PAGE
  • Can be trained to recognize custom languages
  • Handles common image formats like PNG, JPEG, and TIFF
  • Open source under Apache 2.0 with an active community

Related

  • Project
  • Project
  • Project
  • Project
  • Project