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?
The solution was to download the right references from NuGet as per the example project in GitHub https://github.com/charlesw/tesseract .
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.
User contributions licensed under CC BY-SA 3.0