Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

Tesseract4Delphi

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

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

Tesseract4Delphi

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.2, Delphi 6 and Lazarus 4.8/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.3. 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.
pascal
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.

Links

Support

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.

Related projects

Other resources

Attribution