integrate into visual basic 6

667 views
Skip to first unread message

Rul

unread,
Oct 9, 2007, 8:13:04 PM10/9/07
to tesseract-ocr
has anybody sucesfully integrated into vb6?
i dont know how to do the right dll calls
im integrating it, launching tesseract command line processes, but it
is slow

Scan...@gmail.com

unread,
Oct 10, 2007, 9:29:17 AM10/10/07
to tesseract-ocr
You would do it via the DLL 'C' interface.

I know there are some people running out there VB with tess.

It is one of my task to get a VB.NET project in the distribution.

Rul

unread,
Oct 10, 2007, 1:51:18 PM10/10/07
to tesseract-ocr
the tessdll.dll has these functions:

??0TessDllAPI@@QAE@PBD@Z
??1TessDllAPI@@QAE@XZ
??4TessDllAPI@@QAEAAV0@ABV0@@Z
??_FTessDllAPI@@QAEXXZ
?BeginPage@TessDllAPI@@QAEHIIPAE@Z
?BeginPage@TessDllAPI@@QAEHIIPAEE@Z
?BeginPageUpright@TessDllAPI@@QAEHIIPAE@Z
?BeginPageUpright@TessDllAPI@@QAEHIIPAEE@Z
?EndPage@TessDllAPI@@QAEXXZ
?ProcessPagePass1@TessDllAPI@@AAEHXZ
?Recognize_a_Block@TessDllAPI@@QAEPAUETEXT_STRUCT@@IIII@Z
?Recognize_all_Words@TessDllAPI@@QAEPAUETEXT_STRUCT@@XZ
CreateRecognize
InitRecognize
ReleaseRecognize
TessDllBeginPage
TessDllBeginPageBPP
TessDllBeginPageLang
TessDllBeginPageLangBPP
TessDllBeginPageUpright
TessDllBeginPageUprightBPP
TessDllEndPage
TessDllInit
TessDllRecognize_a_Block
TessDllRecognize_all_Words
TessDllRelease
reconize_a_word


but i dont know their parameters, return types, neither how to make an
ocr step by step calling them

any example there?

Scan...@gmail.com

unread,
Oct 10, 2007, 2:20:58 PM10/10/07
to tesseract-ocr
Look at the tessdll.h file for what the parameters are.

Jattfx

unread,
Oct 28, 2007, 7:28:59 PM10/28/07
to tesseract-ocr
I'm going to bump this because few people have asked me how to do it
but I still havn't seen any public code on how to do this ....anyone
wana tackle this one?

Related Thread:
http://groups.google.com/group/tesseract-ocr/browse_thread/thread/36f7674d295a35b/c31a236fca107f21?lnk=gst&q=vb6#c31a236fca107f21

74yrs old

unread,
Oct 29, 2007, 12:13:51 AM10/29/07
to tesser...@googlegroups.com
For source code ot Ocrpus:  http://code.google.com/p/ocropus/source
http://code.google.com/p/ocropus/downloads/list

Kindly visit thread http://groups.google.com/group/ocropus/web/compiling-ocropus-on-windows
 Ocropus is using tesseractOCR.  It will be more helpful  if you are able to  integrate the Ocropus source code into Visual Basic6.  I am waiting for Windows
version of Ocropus.
Reply all
Reply to author
Forward
0 new messages