← all repositories
tesseract-ocr/tesseract

An OCR engine from 1985 that learned to read with neural nets

It turns images of text into searchable documents across more than 100 languages, offering both a command-line tool and a C++ library for builders.

75.5k stars C++ Computer Vision
tesseract
Velocity · 7d
+20
★ / day
Trend
cooling
star history

What it does

Tesseract is an OCR engine and command-line tool that pulls text out of images. It ingests PNG, JPEG, and TIFF files and produces output in several formats, including plain text, hOCR, PDF, and TSV. Developers can also link against libtesseract via its C or C++ API to embed recognition into their own applications.

The interesting bit

Born at HP Labs in 1985, open-sourced in 2005, and maintained by Google for over a decade, Tesseract now marries a 1990s-era pattern-matching engine with a modern LSTM neural-net line recognizer. You can still force legacy character-pattern mode if your workflow depends on older traineddata files.

Key highlights

  • Recognizes 100+ languages out of the box with UTF-8 support.
  • Supports multiple output formats: plain text, hOCR, PDF, TSV, ALTO, and PAGE.
  • Ships as both a command-line program and libtesseract for C/C++ integration.
  • Can be retrained for new languages or specialized document types.
  • Maintains backward compatibility with the legacy Tesseract 3 engine.

Caveats

  • No GUI is included; you bring your own interface or use the command line.
  • OCR quality depends heavily on input image quality; garbage in, garbage out.
  • Legacy engine mode requires separate traineddata files from the tessdata repository.

Verdict

Worth integrating if you need a battle-tested OCR pipeline with broad language support. Skip it if you want a polished desktop app or expect perfect accuracy from low-quality scans without preprocessing.

Frequently asked

What is tesseract-ocr/tesseract?
It turns images of text into searchable documents across more than 100 languages, offering both a command-line tool and a C++ library for builders.
Is tesseract open source?
Yes — tesseract-ocr/tesseract is open source, released under the Apache-2.0 license.
What language is tesseract written in?
tesseract-ocr/tesseract is primarily written in C++.
How popular is tesseract?
tesseract-ocr/tesseract has 75.5k stars on GitHub and is currently cooling off.
Where can I find tesseract?
tesseract-ocr/tesseract is on GitHub at https://github.com/tesseract-ocr/tesseract.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.