Overview of Tesseract OCR
mainTesseract OCR consists of two main components: libtesseract (the OCR engine) and the tesseract command-line program.
Key features include:
- Dual Engine Support: Uses a neural net (LSTM) based engine for line recognition (introduced in Tesseract 4) and supports a legacy engine (Tesseract 3) for character pattern recognition. To use the legacy engine, use the
--oem 0flag. - Language Support: Supports Unicode (UTF-8) and over 100 languages out of the box.
- Input Formats: Supports various image formats including PNG, JPEG, and TIFF.
- Output Formats: Can output to plain text, hOCR (HTML), PDF, invisible-text-only PDF, TSV, ALTO, and PAGE.
- Extensibility: Can be trained to recognize new languages.