# Tesseract

> Tesseract Open Source OCR Engine

Source: https://talira.ai/catalog/tesseract-n5wxbj3p
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, Library
- Categories: [ai / ocr](https://talira.ai/categories/ai/ocr), [documents / pdf / ocr](https://talira.ai/categories/documents/pdf/ocr)
- Platforms: linux, macos, windows, cli[^3][^5]
- Licence: Apache-2.0[^4]
- Pricing: Free and open source
- Free tier: yes
- Self-hostable: yes[^5]
- Creator: Developed at Hewlett-Packard (1985-1994), open sourced in 2005, developed by Google 2006-2017; lead developer Stefan Weil, maintainer Zdenko Podobny

Tesseract is an open source OCR engine, shipped as the `libtesseract` library and the `tesseract` command-line program. Since version 4 it uses an LSTM neural network that recognizes whole lines, and it still offers the older character-pattern engine of Tesseract 3. It reads more than 100 languages out of the box, can be trained for others, and writes plain text, hOCR, searchable PDF, TSV, ALTO and PAGE. Developed at Hewlett-Packard from 1985, open sourced in 2005 and developed by Google until 2017, it is now led by Stefan Weil under the Apache-2.0 licence and packaged by many Linux distributions and [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md).

## Links

- Website: https://tesseract-ocr.github.io/
- GitHub: https://github.com/tesseract-ocr/tesseract
- Docs: https://tesseract-ocr.github.io/tessdoc/

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/tesseract>[^1]

## Problems it solves

- free OCR engine I can run offline to turn scanned pages into text
- turn scanned images into a searchable PDF with an invisible text layer
- read text from images in over 100 languages without a cloud service
- command-line tool to OCR a folder of TIFF and PNG scans from a shell script
- C or C++ library to embed OCR in my own application
- get the position of every word as hOCR, ALTO or TSV so I can map text back onto the image
- train OCR to recognise a language or typeface the stock models handle badly
- Apache-licensed OCR I can ship inside a commercial product
- OCR on a Linux server or Raspberry Pi installed straight from the distro's packages

## Features

- LSTM line recognition engine plus the legacy Tesseract 3 engine (--oem 0)
- more than 100 languages out of the box, UTF-8
- trainable for new languages and fonts
- output as plain text, hOCR, PDF, text-only PDF, TSV, ALTO and PAGE
- PNG, JPEG and TIFF (including multipage) input
- page segmentation modes (--psm)
- C and C++ API (libtesseract)
- packages for Linux distributions, Homebrew, MacPorts, Snap, AppImage and Windows installers

## Limitations

- Doesn't read handwriting well: its FAQ says it is designed for printed text and points to handwriting-focused projects[^2]
- Doesn't open PDF files as input: it reads images (PNG, JPEG, TIFF) through Leptonica, so PDFs must be rasterized first[^3]
- No graphical interface: it is a command-line program and a C/C++ library; GUIs are third-party projects[^3]
- Doesn't read barcodes: it is for text recognition only[^2]

## Capabilities

- Has a command line tool: plan not known
- Has official SDKs: plan not known

## Trust

Overall: 0.28 out of 1.
Signals: backing 0.20, extensibility 0.20.

- created by Developed at Hewlett-Packard (1985-1994), open sourced in 2005, developed by Google 2006-2017; lead developer Stefan Weil, maintainer Zdenko Podobny

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [OCRmyPDF](https://talira.ai/catalog/ocrmypdf-d59rtgz9.md): Adds a searchable OCR text layer to scanned PDFs
- [PaddleOCR](https://talira.ai/catalog/paddleocr-9cdc22eq.md): Turn any PDF or image document into structured data for your AI
- [EasyOCR](https://talira.ai/catalog/easyocr-hd0rqfgh.md): Ready-to-use OCR with 80+ supported languages and all popular writing scripts
- [Mistral OCR](https://talira.ai/catalog/mistral-ocr-nzhs5x26.md): Mistral AI's document OCR model and API: PDFs and images to structured Markdown, priced per page
- [PP-OCRv5](https://talira.ai/catalog/pp-ocrv5-jxc0pj5z.md): PaddleOCR's fifth-generation text detection and recognition models, server and mobile sizes
- [docTR](https://talira.ai/catalog/doctr-5n27z5h2.md): Document Text Recognition: open source OCR powered by PyTorch

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://tesseract-ocr.github.io/tessdoc/FAQ.html (checked 20 Nov 2026)
[^3]: https://github.com/tesseract-ocr/tesseract (checked 20 Nov 2026)
[^4]: https://github.com/tesseract-ocr/tesseract/blob/main/LICENSE (checked 20 Nov 2026)
[^5]: https://tesseract-ocr.github.io/tessdoc/Installation.html (checked 20 Nov 2026)
