Using a tesseract with a c# wrapper

97 views
Skip to first unread message

NBL

unread,
Apr 25, 2014, 10:07:56 AM4/25/14
to tesser...@googlegroups.com
I am trying to get the libtesseract302 to work in a c# dll. The c# dll works with an earlier version of the tesseract called tessdll. I am currently unable to find entrypoints for the new dll in the documentation. For example where can I find the following entry points for the new version of the Tesseract dll

TessDllInit
TessDllRelease
TessDllRecognize_all_Words
TessDllRecognize_a_Block
TessDllEndPage
TessDllBeginPageUprightBPP
TessDllBeginPageLangBPP
TessDllBeginPageBPP
TessDllBeginPageUpright
TessDllBeginPageLang
TessDllBeginPage

Thanks for any help.

zdenko podobny

unread,
Apr 26, 2014, 12:28:18 PM4/26/14
to tesser...@googlegroups.com
tessdll (wrapper for tesseract 2) is no compatible with tesseract 3. So there are no such entry points, any you need to use tesseract 3 functions.

Zdenko


--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-oc...@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at http://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/575d9d7a-0c04-41de-b960-b116258dfc5e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

NBL

unread,
Apr 28, 2014, 2:23:56 AM4/28/14
to tesser...@googlegroups.com
Thanks. That was the question earlier. What are the coressponding tesseract 3 functions for the tessdll ones listed:
TessDllInit
TessDllRelease
TessDllRecognize_all_Words
TessDllRecognize_a_Block
TessDllEndPage
TessDllBeginPageUprightBPP
TessDllBeginPageLangBPP
TessDllBeginPageBPP
TessDllBeginPageUpright
TessDllBeginPageLang
TessDllBeginPage

zdenko podobny

unread,
Apr 28, 2014, 3:23:46 AM4/28/14
to tesser...@googlegroups.com
I am afraid this homework you will need to do by yourself.
3.0x api is available in baseapi.h[1] and it is commented quite well.


Zdenko


Erik Hejl

unread,
Apr 30, 2014, 9:00:07 PM4/30/14
to tesser...@googlegroups.com
See this Github project.  He's got precompiled Tesseract and Leptonica dependencies included in the project, along with a C# wrapper ready to go.  Plus a couple of sample apps to boot.

Reply all
Reply to author
Forward
0 new messages