Ask Your Question

Revision history [back]

How check from code if some language is installed in Tesseract API?

I have a problem with Tesseract API.

I want to check from C++ code which languages is available to perform OCR in. I want to say to user that some language package is not installed.

To enable some language it is needed to install tesseract-lang-xxx package.

Eventually it will be OK if I can check that in CMake.