GitHunt
SA

salvadordf/Tesseract4Delphi

Tesseract4Delphi is a Delphi and Lazarus/FPC component that uses the Tesseract project to recognize text in images (OCR).

Tesseract4Delphi Tweet

Tesseract4Delphi is a Delphi and Lazarus/FPC component that uses the Tesseract project to recognize text in images (OCR).

Tesseract4Delphi is based in the TTesseractOCR4 project made by Damian Woroch.

The assets\tessdata directory contains the models for several languages. For additional languages and trained models visit the Tessdata repository.

Tesseract4Delphi was developed and tested on Delphi 13, Delphi 6 and Lazarus 4.4/FPC 3.2.2.

Tesseract4Delphi demos have been tested in Windows 10, Windows 11 and Linux Mint 22.3.

Installation instructions

Tesseract and Leptonica binaries

  • Windows: The bin32 and bin64 directories contain the Windows binaries of Tesseract 5.5.2. It's required to install the Microsoft Visual C++ 2017 Redistributable package available here.
  • Linux: Install the libtesseract-dev and libleptonica-dev packages with the following command on Debian, Ubuntu or Linux Mint.
sudo apt install libtesseract-dev libleptonica-dev

Read the build instructions at the Tesseract and Leptonica project pages in case you prefer to build the binaries yourself.

Support

If you find this project useful, please consider making a donation.

paypal

You can also support this project with Patreon.

Patreon donate button

You can also support this project with Liberapay.

Donate using Liberapay

Other resources

Attribution

Languages

Pascal99.7%Batchfile0.2%C++0.1%

Contributors

MIT License
Created January 30, 2026
Updated March 4, 2026