Upgrade Tesseract OCR
Starting from LogicalDOC 8.3.4 tests were carried out on a new version of the integrated OCR Tesseract.
More precisely, tests were conducted on version 4.1 of Tesseract.
This new version is much more precise in text recognition and also faster, so with a very simple action you will get 2 important benefits:
a faster OCR recognition that uses less system resources and above all better quality in character recognition.
Note: the version of Tesseract 4.1 that we propose to install is perfectly compatible with LogicalDOC starting from LD 6.8.4
Starting from LogicalDOC 8.4.1 this is the version that is distributed by default, so if you have installed your system in version 8.4.1 or 8.4.2 you don't need to upgrade
The change is very simple, let's talk about a simple replacement
- Rename the tesseract folder present in our installation to tesseractOLD
eg: C:\LogicalDOC\tesseract will become C:\LogicalDOC\tesseractOLD
- download the file to the following address https://service.logicaldoc.com/tesseract/tesseract41-win.zip
- extract the contents of the archive into the folder where you installed LD eg: C:\LogicalDOC
- This package already includes optimized dictionaries for English, French, German, Italian and Spanish languages.
If you need other languages you can download them from the following address https://tesseract-ocr.github.io/tessdoc/Data-Files.html
download the files and put them in the \tessdata folder
- remove tesseract if previously installed
- check the availability of tesseract 4.1 and install it
Note: in the latest versions of Ubuntu this is already available also for many versions of Linux Debian and CentOS it is possible to use packages already available.
For more information: https://github.com/tesseract-ocr/tessdoc/blob/master/Home.md
- check the configuration of Tesseract OCR in LogicalDOC by verifying that it points to the path of tesseract command.
The complete path to the configuration in the LogicalDOC GUI interface is: Administration, Settings, OCR, field path
- don't forget to install the language dictionary packages. These may already be available as installable packages
eg: the following will install the japanese dictionary on Debian Buster
apt-get install tesseract-ocr-jpn (installs japanese dictionary)
or perhaps you will have to download the language files into the /tessdata folderGet dictionaries packages from https://tesseract-ocr.github.io/tessdoc/Data-Files.html