Could not load file or assembly 'tesseract.dll' or one of its dependencies

0

I'm trying to create OCR functionality using tesseract 3.02 dll. Project building successfull but run time throwing the exception like bellow error.

Could not load file or assembly 'tesseract.dll' or one of its dependencies. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail. (Exception from HRESULT: 0x800736B1)

How to fix this error?

c#
asp.net
dll
ocr
tesseract
asked on Stack Overflow Nov 6, 2014 by Sathyaraj Palanisamy • edited Nov 7, 2014 by Sathyaraj Palanisamy

2 Answers

1

The solution was to download the right references from NuGet as per the example project in GitHub https://github.com/charlesw/tesseract .

answered on Stack Overflow Nov 7, 2014 by Chris • edited Jan 11, 2015 by stkent
0

tesseract need tesseract.dll and leptonica-xy.dll together.If leptonical does not exist side tesseract.dll you go get that error. also for read all type of image format leptonica need libgif libjpeg libpng libtiff zlib but this dlls is not case error.

answered on Stack Overflow May 27, 2017 by Nigje

User contributions licensed under CC BY-SA 3.0