Page 1 of 1

Tesseract library is not loaded: ErrorCode=126.

Posted: Fri Jun 07, 2019 8:59 am
by wittaya@Wac
Dear Staff,

"Tesseract library is not loaded: ErrorCode=126."

I found this error while use...
Vintasoft.Imaging.Ocr.Tesseract.TesseractOcr additionalEngine = new Vintasoft.Imaging.Ocr.Tesseract.TesseractOcr();

Need help urgent!

Best Regards.
Wittaya WAC

Re: Tesseract library is not loaded: ErrorCode=126.

Posted: Fri Jun 07, 2019 9:39 am
by Alex
Hello Wittaya,

I think you have problem because Microsoft Visual C++ 2015 Redistributable Package is not installed on your computer.

You need have or install install Microsoft Visual C++ 2015 Redistributable Package (32-bit version) to your computer if you want to use Tesseract4.Vintasoft.x86.dll.
You need have or install install Microsoft Visual C++ 2015 Redistributable Package (64-bit version) to your computer if you want to use Tesseract4.Vintasoft.x64.dll.

Please read how to prepare OCR engine for text recognition here:
https://www.vintasoft.com/docs/vsimagin ... ition.html

Best regards, Alexander Grigoryan

Re: Tesseract library is not loaded: ErrorCode=126.

Posted: Fri Jun 07, 2019 11:36 am
by wittaya@Wac
Dear Staff,

Yes, I fixed myself. But I just confused I uninstalled Visual C++ 2015 Redistributable Package its still working.
Thanks anyway.

Best Regards
Wittaya WAC

Re: Tesseract library is not loaded: ErrorCode=126.

Posted: Fri Jun 07, 2019 12:40 pm
by wittaya@Wac
Dear Alex,

Some machine (Windows10) has no Microsoft Visual C++ 2015 Redistributable Package install, why its work?

Best Regards
Wittaya WAC

Re: Tesseract library is not loaded: ErrorCode=126.

Posted: Fri Jun 07, 2019 12:48 pm
by Alex
wittaya@Wac wrote: Fri Jun 07, 2019 12:40 pm Some machine (Windows10) has no Microsoft Visual C++ 2015 Redistributable Package install, why its work?
Please use utility "Dependency Walker" (http://www.dependencywalker.com) for getting information about dependencies of Tesseract4.Vintasoft.xXX.dll file and check if all dependencies are present in the system.

Best regards, Alexander