# tesseract

> Open-source OCR engine and command line program that recognizes text in images in more than 100 languages.

- Type: agent or tool
- Field: Developer Tools
- Repository: https://github.com/tesseract-ocr/tesseract
- GitHub stars: 77630
- Licence: Apache-2.0
- Language: C++
- Last push: 2026-11-23
- Page: https://imutechz.in/agents/tesseract

## What it is
Tesseract is an OCR engine, libtesseract, plus a command line program, tesseract. Version 4 added an LSTM neural-net engine focused on line recognition, and the legacy engine is still available. It reads formats such as PNG, JPEG and TIFF and can output plain text, hOCR, PDF, TSV, ALTO and PAGE. It has no GUI of its own, and developers can use its C and C++ APIs.

## Features
- LSTM-based OCR engine with a legacy engine mode
- Unicode support and more than 100 languages out of the box
- Reads PNG, JPEG and TIFF images
- Outputs text, hOCR, PDF, TSV, ALTO and PAGE
- C and C++ library plus command line tool
- Can be trained for other languages

## Best for
- Extracting text from scanned images
- Making searchable PDFs
- Embedding OCR in applications
- Batch document digitizing

## Pros
- Wide language coverage
- Many output formats
- Usable as a library or CLI

## Cons
- No GUI included
- Image quality often needs improving for good results

## Usage
```
tesseract imagename outputbase [-l lang] [--oem ocrenginemode] [--psm pagesegmode] [configfiles...]
```

Tags: ocr, text-recognition, lstm, cpp, command-line, pdf, multilingual, machine-learning
