charlesw / tesseract

A .Net wrapper for tesseract-ocr
Apache License 2.0
2.28k stars 743 forks source link

Failed to find library "libtesseract400.dll" for platform x86. #395

Open chebude opened 6 years ago

chebude commented 6 years ago

Hi,

I was able to successfully compile and use tesseract on a local webserver . (https://github.com/charlesw/tesseract/tree/feature/321-Tesseract-4)

However, when I try to upload the exact same copy to a remote webserver, it loads liblept1744.dll but not libtesseract400.dll, it complains

"Failed to find library "libtesseract400.dll" for platform x86."

. If I run the Tesseract3 from nuget on the same remote server it works fine, the issue is only with the latest version of Tesseract. I tried to troubleshoot a lot but I got nowhere.

I managed to grab diagnostics log from the server, it tries to load it from D:\home\site\wwwroot\x86\ , but it fails. The next line following the error msg says to check windows event log, but as it's a shared host I can see much.

Any ideas?

Tesseract Information: 0 : Current OS: Windows Tesseract Information: 0 : Current platform: x86 Tesseract Information: 0 : Custom search path is not defined, skipping. Tesseract Information: 0 : Checking executing application domain location 'D:\local\Temporary ASP.NET Files\root\794ff778\30724f4a\assembly\dl3\e898f92f\fee4bb3c_bca6d301' for 'liblept1744.dll' on platform x86. Tesseract Information: 0 : Checking current application domain location 'D:\home\site\wwwroot\' for 'liblept1744.dll' on platform x86. Tesseract Information: 0 : Trying to load native library "D:\home\site\wwwroot\x86\liblept1744.dll"... Tesseract Information: 0 : Successfully loaded native library "D:\home\site\wwwroot\x86\liblept1744.dll", handle = 1640169472. Tesseract Information: 0 : Trying to load native function "pixcmapGammaTRC" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapGammaTRC", function handle = 1640934704. Tesseract Information: 0 : Trying to load native function "pixcmapContrastTRC" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapContrastTRC", function handle = 1640932480. Tesseract Information: 0 : Trying to load native function "pixcmapShiftIntensity" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapShiftIntensity", function handle = 1640938432. Tesseract Information: 0 : Trying to load native function "boxaGetCount" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "boxaGetCount", function handle = 1640846320. Tesseract Information: 0 : Trying to load native function "boxaGetBox" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "boxaGetBox", function handle = 1640846080. Tesseract Information: 0 : Trying to load native function "boxGetGeometry" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "boxGetGeometry", function handle = 1640844368. Tesseract Information: 0 : Trying to load native function "boxDestroy" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "boxDestroy", function handle = 1640844320. Tesseract Information: 0 : Trying to load native function "boxaDestroy" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "boxaDestroy", function handle = 1640845552. Tesseract Information: 0 : Trying to load native function "pixaReadMultipageTiff" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixaReadMultipageTiff", function handle = 1641866064. Tesseract Information: 0 : Trying to load native function "pixaCreate" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixaCreate", function handle = 1641501520. Tesseract Information: 0 : Trying to load native function "pixaAddPix" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixaAddPix", function handle = 1641500704. Tesseract Information: 0 : Trying to load native function "pixaGetPix" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixaGetPix", function handle = 1641503152. Tesseract Information: 0 : Trying to load native function "pixaRemovePix" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixaRemovePix", function handle = 1641505376. Tesseract Information: 0 : Trying to load native function "pixaClear" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixaClear", function handle = 1641500848. Tesseract Information: 0 : Trying to load native function "pixaGetCount" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixaGetCount", function handle = 1641502976. Tesseract Information: 0 : Trying to load native function "pixaDestroy" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixaDestroy", function handle = 1641502432. Tesseract Information: 0 : Trying to load native function "pixCreate" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixCreate", function handle = 1641425344. Tesseract Information: 0 : Trying to load native function "pixClone" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixClone", function handle = 1641424784. Tesseract Information: 0 : Trying to load native function "pixDestroy" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixDestroy", function handle = 1641426032. Tesseract Information: 0 : Trying to load native function "pixEqual" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixEqual", function handle = 1641002656. Tesseract Information: 0 : Trying to load native function "pixGetWidth" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixGetWidth", function handle = 1641426992. Tesseract Information: 0 : Trying to load native function "pixGetHeight" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixGetHeight", function handle = 1641426480. Tesseract Information: 0 : Trying to load native function "pixGetDepth" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixGetDepth", function handle = 1641426352. Tesseract Information: 0 : Trying to load native function "pixGetXRes" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixGetXRes", function handle = 1641427056. Tesseract Information: 0 : Trying to load native function "pixGetYRes" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixGetYRes", function handle = 1641427088. Tesseract Information: 0 : Trying to load native function "pixGetResolution" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixGetResolution", function handle = 1641426848. Tesseract Information: 0 : Trying to load native function "pixGetWpl" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixGetWpl", function handle = 1641427024. Tesseract Information: 0 : Trying to load native function "pixSetXRes" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixSetXRes", function handle = 1641428160. Tesseract Information: 0 : Trying to load native function "pixSetYRes" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixSetYRes", function handle = 1641428192. Tesseract Information: 0 : Trying to load native function "pixSetResolution" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixSetResolution", function handle = 1641427920. Tesseract Information: 0 : Trying to load native function "pixScaleResolution" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixScaleResolution", function handle = 1641427536. Tesseract Information: 0 : Trying to load native function "pixGetData" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixGetData", function handle = 1641426320. Tesseract Information: 0 : Trying to load native function "pixGetInputFormat" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixGetInputFormat", function handle = 1641426512. Tesseract Information: 0 : Trying to load native function "pixSetInputFormat" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixSetInputFormat", function handle = 1641427888. Tesseract Information: 0 : Trying to load native function "pixEndianByteSwap" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixEndianByteSwap", function handle = 1641433792. Tesseract Information: 0 : Trying to load native function "pixRead" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixRead", function handle = 1641664416. Tesseract Information: 0 : Trying to load native function "pixReadMemTiff" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixReadMemTiff", function handle = 1641864800. Tesseract Information: 0 : Trying to load native function "pixWrite" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixWrite", function handle = 1641898048. Tesseract Information: 0 : Trying to load native function "pixDisplayWrite" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixDisplayWrite", function handle = 1641896448. Tesseract Information: 0 : Trying to load native function "pixDisplayMultiple" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixDisplayMultiple", function handle = 1641895344. Tesseract Information: 0 : Trying to load native function "pixGetColormap" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixGetColormap", function handle = 1641426288. Tesseract Information: 0 : Trying to load native function "pixSetColormap" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixSetColormap", function handle = 1641427648. Tesseract Information: 0 : Trying to load native function "pixDestroyColormap" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixDestroyColormap", function handle = 1641426080. Tesseract Information: 0 : Trying to load native function "pixConvertRGBToGray" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixConvertRGBToGray", function handle = 1641568192. Tesseract Information: 0 : Trying to load native function "pixDeskewGeneral" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixDeskewGeneral", function handle = 1641834656. Tesseract Information: 0 : Trying to load native function "pixFindSkew" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixFindSkew", function handle = 1641835968. Tesseract Information: 0 : Trying to load native function "pixRotate" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixRotate", function handle = 1641723872. Tesseract Information: 0 : Trying to load native function "pixRotateOrth" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixRotateOrth", function handle = 1641736880. Tesseract Information: 0 : Trying to load native function "pixRotateAMGray" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixRotateAMGray", function handle = 1641727616. Tesseract Information: 0 : Trying to load native function "pixRotate90" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixRotate90", function handle = 1641734288. Tesseract Information: 0 : Trying to load native function "pixCloseGray" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixCloseGray", function handle = 1641254272. Tesseract Information: 0 : Trying to load native function "pixErodeGray" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixErodeGray", function handle = 1641256384. Tesseract Information: 0 : Trying to load native function "pixAddGray" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixAddGray", function handle = 1641541168. Tesseract Information: 0 : Trying to load native function "pixOpenGray" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixOpenGray", function handle = 1641257296. Tesseract Information: 0 : Trying to load native function "pixCombineMasked" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixCombineMasked", function handle = 1641448640. Tesseract Information: 0 : Trying to load native function "pixThresholdToValue" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixThresholdToValue", function handle = 1641548032. Tesseract Information: 0 : Trying to load native function "pixThresholdToBinary" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixThresholdToBinary", function handle = 1641266416. Tesseract Information: 0 : Trying to load native function "pixInvert" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixInvert", function handle = 1641454144. Tesseract Information: 0 : Trying to load native function "pixOtsuAdaptiveThreshold" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixOtsuAdaptiveThreshold", function handle = 1640817616. Tesseract Information: 0 : Trying to load native function "pixSauvolaBinarize" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixSauvolaBinarize", function handle = 1640818528. Tesseract Information: 0 : Trying to load native function "pixSauvolaBinarizeTiled" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixSauvolaBinarizeTiled", function handle = 1640819056. Tesseract Information: 0 : Trying to load native function "pixScale" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixScale", function handle = 1641753424. Tesseract Information: 0 : Trying to load native function "pixcmapCreate" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapCreate", function handle = 1640933712. Tesseract Information: 0 : Trying to load native function "pixcmapCreateRandom" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapCreateRandom", function handle = 1640933968. Tesseract Information: 0 : Trying to load native function "pixcmapCreateLinear" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapCreateLinear", function handle = 1640933808. Tesseract Information: 0 : Trying to load native function "pixcmapCopy" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapCopy", function handle = 1640933440. Tesseract Information: 0 : Trying to load native function "pixcmapDestroy" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapDestroy", function handle = 1640934656. Tesseract Information: 0 : Trying to load native function "pixcmapGetCount" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapGetCount", function handle = 1640935200. Tesseract Information: 0 : Trying to load native function "pixcmapGetFreeCount" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapGetFreeCount", function handle = 1640935376. Tesseract Information: 0 : Trying to load native function "pixcmapGetDepth" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapGetDepth", function handle = 1640935232. Tesseract Information: 0 : Trying to load native function "pixcmapGetMinDepth" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapGetMinDepth", function handle = 1640935520. Tesseract Information: 0 : Trying to load native function "pixcmapClear" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapClear", function handle = 1640932096. Tesseract Information: 0 : Trying to load native function "pixcmapAddColor" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapAddColor", function handle = 1640931696. Tesseract Information: 0 : Trying to load native function "pixcmapAddNewColor" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapAddNewColor", function handle = 1640931904. Tesseract Information: 0 : Trying to load native function "pixcmapAddNearestColor" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapAddNearestColor", function handle = 1640931776. Tesseract Information: 0 : Trying to load native function "pixcmapUsableColor" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapUsableColor", function handle = 1640939264. Tesseract Information: 0 : Trying to load native function "pixcmapAddBlackOrWhite" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapAddBlackOrWhite", function handle = 1640931552. Tesseract Information: 0 : Trying to load native function "pixcmapSetBlackAndWhite" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapSetBlackAndWhite", function handle = 1640938096. Tesseract Information: 0 : Trying to load native function "pixcmapGetColor" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapGetColor", function handle = 1640934992. Tesseract Information: 0 : Trying to load native function "pixcmapGetColor32" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapGetColor32", function handle = 1640935104. Tesseract Information: 0 : Trying to load native function "pixcmapResetColor" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapResetColor", function handle = 1640937776. Tesseract Information: 0 : Trying to load native function "pixcmapGetIndex" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapGetIndex", function handle = 1640935408. Tesseract Information: 0 : Trying to load native function "pixcmapHasColor" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapHasColor", function handle = 1640937024. Tesseract Information: 0 : Trying to load native function "pixcmapCountGrayColors" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapCountGrayColors", function handle = 1640933536. Tesseract Information: 0 : Trying to load native function "pixcmapCountGrayColors" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapCountGrayColors", function handle = 1640933536. Tesseract Information: 0 : Trying to load native function "pixcmapGetNearestIndex" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapGetNearestIndex", function handle = 1640935728. Tesseract Information: 0 : Trying to load native function "pixcmapGetNearestGrayIndex" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapGetNearestGrayIndex", function handle = 1640935600. Tesseract Information: 0 : Trying to load native function "pixcmapGrayToColor" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapGrayToColor", function handle = 1640936736. Tesseract Information: 0 : Trying to load native function "pixcmapColorToGray" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapColorToGray", function handle = 1640932128. Tesseract Information: 0 : Trying to load native function "pixcmapColorToGray" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapColorToGray", function handle = 1640932128. Tesseract Information: 0 : Trying to load native function "pixcmapToRGBTable" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapToRGBTable", function handle = 1640939104. Tesseract Information: 0 : Trying to load native function "pixcmapSerializeToMemory" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapSerializeToMemory", function handle = 1640937840. Tesseract Information: 0 : Trying to load native function "pixcmapDeserializeFromMemory" from the library with handle 1640169472... Tesseract Information: 0 : Successfully loaded native function "pixcmapDeserializeFromMemory", function handle = 1640934400. Tesseract Information: 0 : Current platform: x86 Tesseract Information: 0 : Custom search path is not defined, skipping. Tesseract Information: 0 : Checking executing application domain location 'D:\local\Temporary ASP.NET Files\root\794ff778\30724f4a\assembly\dl3\e898f92f\fee4bb3c_bca6d301' for 'libtesseract400.dll' on platform x86. Tesseract Information: 0 : Checking current application domain location 'D:\home\site\wwwroot\' for 'libtesseract400.dll' on platform x86. Tesseract Information: 0 : Trying to load native library "D:\home\site\wwwroot\x86\libtesseract400.dll"... Tesseract Error: 0 : Failed to load native library "D:\home\site\wwwroot\x86\libtesseract400.dll". Check windows event log. Tesseract Information: 0 : Checking current application domain's bin location 'D:\home\site\wwwroot\bin' for 'libtesseract400.dll' on platform x86. Tesseract Information: 0 : Checking working directory 'D:\Windows\system32' for 'libtesseract400.dll' on platform x86. Tesseract Information: 0 : Current platform: x86 Tesseract Information: 0 : Custom search path is not defined, skipping. Tesseract Information: 0 : Checking executing application domain location 'D:\local\Temporary ASP.NET Files\root\794ff778\30724f4a\assembly\dl3\e898f92f\fee4bb3c_bca6d301' for 'libtesseract400.dll' on platform x86. Tesseract Information: 0 : Checking current application domain location 'D:\home\site\wwwroot\' for 'libtesseract400.dll' on platform x86. Tesseract Information: 0 : Trying to load native library "D:\home\site\wwwroot\x86\libtesseract400.dll"... Tesseract Error: 0 : Failed to load native library "D:\home\site\wwwroot\x86\libtesseract400.dll". Check windows event log. Tesseract Information: 0 : Checking current application domain's bin location 'D:\home\site\wwwroot\bin' for 'libtesseract400.dll' on platform x86. Tesseract Information: 0 : Checking working directory 'D:\Windows\system32' for 'libtesseract400.dll' on platform x86. Tesseract Information: 0 : Current platform: x86 Tesseract Information: 0 : Custom search path is not defined, skipping. Tesseract Information: 0 : Checking executing application domain location 'D:\local\Temporary ASP.NET Files\root\794ff778\30724f4a\assembly\dl3\e898f92f\fee4bb3c_bca6d301' for 'libtesseract400.dll' on platform x86. Tesseract Information: 0 : Checking current application domain location 'D:\home\site\wwwroot\' for 'libtesseract400.dll' on platform x86. Tesseract Information: 0 : Trying to load native library "D:\home\site\wwwroot\x86\libtesseract400.dll"... Tesseract Error: 0 : Failed to load native library "D:\home\site\wwwroot\x86\libtesseract400.dll". Check windows event log. Tesseract Information: 0 : Checking current application domain's bin location 'D:\home\site\wwwroot\bin' for 'libtesseract400.dll' on platform x86. Tesseract Information: 0 : Checking working directory 'D:\Windows\system32' for 'libtesseract400.dll' on platform x86. Tesseract Warning: 0 : Tesseract.TesseractEngine was not disposed off. Tesseract Warning: 0 : Tesseract.TesseractEngine was not disposed off. Tesseract Warning: 0 : Tesseract.TesseractEngine was not disposed off. Tesseract Information: 0 : Current platform: x86 Tesseract Information: 0 : Custom search path is not defined, skipping. Tesseract Information: 0 : Checking executing application domain location 'D:\local\Temporary ASP.NET Files\root\794ff778\30724f4a\assembly\dl3\e898f92f\fee4bb3c_bca6d301' for 'libtesseract400.dll' on platform x86. Tesseract Information: 0 : Checking current application domain location 'D:\home\site\wwwroot\' for 'libtesseract400.dll' on platform x86. Tesseract Information: 0 : Trying to load native library "D:\home\site\wwwroot\x86\libtesseract400.dll"... Tesseract Error: 0 : Failed to load native library "D:\home\site\wwwroot\x86\libtesseract400.dll". Check windows event log. Tesseract Information: 0 : Checking current application domain's bin location 'D:\home\site\wwwroot\bin' for 'libtesseract400.dll' on platform x86. Tesseract Information: 0 : Checking working directory 'D:\Windows\system32' for 'libtesseract400.dll' on platform x86. Tesseract Information: 0 : Current platform: x86 Tesseract Information: 0 : Custom search path is not defined, skipping. Tesseract Information: 0 : Checking executing application domain location 'D:\local\Temporary ASP.NET Files\root\794ff778\30724f4a\assembly\dl3\e898f92f\fee4bb3c_bca6d301' for 'libtesseract400.dll' on platform x86. Tesseract Information: 0 : Checking current application domain location 'D:\home\site\wwwroot\' for 'libtesseract400.dll' on platform x86. Tesseract Information: 0 : Trying to load native library "D:\home\site\wwwroot\x86\libtesseract400.dll"... Tesseract Error: 0 : Failed to load native library "D:\home\site\wwwroot\x86\libtesseract400.dll". Check windows event log. Tesseract Information: 0 : Checking current application domain's bin location 'D:\home\site\wwwroot\bin' for 'libtesseract400.dll' on platform x86. Tesseract Information: 0 : Checking working directory 'D:\Windows\system32' for 'libtesseract400.dll' on platform x86. Tesseract Information: 0 : Current platform: x86 Tesseract Information: 0 : Custom search path is not defined, skipping. Tesseract Information: 0 : Checking executing application domain location 'D:\local\Temporary ASP.NET Files\root\794ff778\30724f4a\assembly\dl3\e898f92f\fee4bb3c_bca6d301' for 'libtesseract400.dll' on platform x86. Tesseract Information: 0 : Checking current application domain location 'D:\home\site\wwwroot\' for 'libtesseract400.dll' on platform x86. Tesseract Information: 0 : Trying to load native library "D:\home\site\wwwroot\x86\libtesseract400.dll"... Tesseract Error: 0 : Failed to load native library "D:\home\site\wwwroot\x86\libtesseract400.dll". Check windows event log. Tesseract Information: 0 : Checking current application domain's bin location 'D:\home\site\wwwroot\bin' for 'libtesseract400.dll' on platform x86. Tesseract Information: 0 : Checking working directory 'D:\Windows\system32' for 'libtesseract400.dll' on platform x86. Tesseract Information: 0 : Current platform: x86 Tesseract Information: 0 : Custom search path is not defined, skipping. Tesseract Information: 0 : Checking e

Thanks

chebude commented 6 years ago

Or is there a way I can use so it can produce a more detailed information why it failed to load?

tdhintz commented 6 years ago

Its says to check the windows event log.

Check out the section "Further Diagnosis" under https://github.com/charlesw/tesseract/wiki/Error-2

There are also procmon instructions in past issues, as a last resort.

charlesw commented 6 years ago

Checkout #405 it's got quite a bit of info relating to tesseract 4 specific issues.