Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »


If you want to analyse images in order to extract data from image and pdf files, you can use Tesseract with Tika.

In order to make it work in Datafari, all you have to do is to install Tesseract on your Datafari server and restart Datafari. You can use indifferently Tika embedded in MCF (with the TikaOCR transformation connector) or Tika Solr (simply use DatafariSolr output as usual), your documents will be processed by Tesseract.

To install Tesseract, the steps are very easy :
To install it on a Debian/Ubuntu system, run the following command:

sudo apt-get install tesseract-ocr

Congrats ! Tesseract is now installed and ready to be used. However by default, Tesseract is only able to deal with english language, if you want to deal with other languages you will need to install the corresponding package (if available). The pattern of a language paclage is: tesseract-ocr-[country_code]

The country code is based on three letters. For example the Tesseract package for the french language is: tesseract-ocr-fra
So to install the french package you will need to run the following command:

sudo apt-get install tesseract-ocr-fra

You can find the list of available language packages for Tesseract on the web or here: https://packages.ubuntu.com/search?keywords=tesseract-ocr
You can also install all the available languages in a single command:

sudo apt-get install tesseract-ocr-all

 

  • No labels