Tesseract

332 views
Skip to first unread message

Carl-Heinz Robert

unread,
Mar 18, 2021, 8:20:10 AM3/18/21
to tesseract-ocr
Hi Scenario: 
1.) Windows Forms App
2.) Tesseract 4.1.1
3.) deu.traineddata

My app runs flawlessly with Visul Studio 2019.
But as soon as I want to publish with click once the following message appears:
System.DllNotFoundException: Failed to find library "leptonica-1.80.0.dll" for Platform x86.

Although the file is available in the package, all attempts so far have been unsuccessful. What do I have to do to make the publication a success?

Any help would be much appreciated
Thanks in advance  

Carl-Heinz Robert

unread,
Mar 19, 2021, 8:51:36 AM3/19/21
to tesseract-ocr
Hello everybody, 

now I've found out for myself: 
  The file must be in the directory: .... \ ScreenToText \ packages \ Tesseract.4.1.1 \ lib \ net45 \ leptonika-1.80.0.dll.
When installing the Tesseract via NuGet, this dll is stored everywhere except where it belongs. 

Thank you for your efforts.
 Carl-Heinz Robert
Reply all
Reply to author
Forward
0 new messages