Tesseract library is not loaded: ErrorCode=126.

Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.

Moderator: Alex

Post Reply
wittaya@Wac
Posts: 15
Joined: Wed Mar 06, 2019 7:54 am

Tesseract library is not loaded: ErrorCode=126.

Post 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
Alex
Site Admin
Posts: 2305
Joined: Thu Jul 10, 2008 2:21 pm

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

Post 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
wittaya@Wac
Posts: 15
Joined: Wed Mar 06, 2019 7:54 am

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

Post 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
wittaya@Wac
Posts: 15
Joined: Wed Mar 06, 2019 7:54 am

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

Post by wittaya@Wac »

Dear Alex,

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

Best Regards
Wittaya WAC
Alex
Site Admin
Posts: 2305
Joined: Thu Jul 10, 2008 2:21 pm

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

Post 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
Post Reply