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.
- 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.
If you find this project useful, please consider making a donation.
You can also support this project with Patreon.
You can also support this project with Liberapay.
- Learn Delphi
- Essential Pascal by Marco Cantù
- Free Pascal Reference guide
- Modern Object Pascal Introduction for Programmers
- FreePascal from Square One by Jeff Duntemann
- Pascal and Lazarus Books and Magazines
- Lazarus Documentation
- Delphi Succinctly
- Start Programming using Object Pascal
- Free Pascal and Lazarus Programming Textbook
- LAZARUS FREE PASCAL Développement rapide

