Tesseract.NET in C#

2019-03-22 18:27发布

问题:

Do you know of step by step guide of how to use bins and dlls in http://www.pixel-technology.com/freeware/tessnet2/

I spent 2 days trying to use this by when compiling i am being asked for a dll that do not exist in the zip file i downloaded from the site.

Any help will be greatly appreciated.

回答1:

You need the Leptonica DLL for Windows. You can download it from http://www.leptonica.com/download.html, or direct link to the specific zip is here. You need to copy the lib & include folders into the Google Tesseract vs2008 folder (ie, create vs2008\lib and vs2008\include).



回答2:

  1. download the binaries here: http://www.pixel-technology.com/freeware/tessnet2/bin.zip
  2. select the project and rightclick in the project explorer → Add reference → Browse...
  3. select the dll version that is compatible with your build settings (x86 or x64) see the properties of your project
  4. do a rebuild

Remove all installations of the tesseract bins from 3.0 also cleanup your registry (took me hours to find this one out).



回答3:

VietOCR.NET is a working program of tessnet2 library. It is an open-source application.