Cannot Make Tessnet2 Work

149 views
Skip to first unread message

mouthpiec

unread,
Mar 14, 2010, 1:24:22 PM3/14/10
to tesseract-ocr
Hi all,

I am trying to make the demo versions available work on my PC (Windows
XP 32-bit), but without any success!

Can anyone please guide me what should I do?
When trying to run the application \bin\Release32\TesseractOCR.exe,
when Pressing the OCR button, the application is closing without any
processing. What should do in the part "tessdata path" text box?

Also when I am trying to run the TesseractORC application from Visual
Studio, I am getting the message "Error 1 The referenced assembly "C:
\Documents and Settings\sz\Desktop\dotnet\x64\Debug\tessnet2.dll" was
not found. If this assembly is produced by another one of your
projects, please make sure to build that project before building this
one.

The issue is that in the bins provided in the website
http://www.pixel-technology.com/freeware/tessnet2/, tessnet2.dll does
not exit.

Note that I installed the Microsoft Visual C++ 2005 SP1
Redistributable Package (x86). (After installing this, should I do
something else??)

thanks for the help
regards
sandro

dataintelligence

unread,
Mar 16, 2010, 3:30:03 PM3/16/10
to tesseract-ocr
You need to install the language data and put that in the 'tessdata
path' text box. Look in the downloads for the language pack you want
(the sample image uses english so you could start with that maybe).

You need to create a reference to the tessnet2.dll in your project.
Google "add reference visual studio" and you should find some help
with doing that.

I just started using tessnet and ocropus myself, but I think that
should fix those problems. There may be a tessnet2 google group as
well, you should be able to get more help there.

On Mar 14, 1:24 pm, mouthpiec <sandroza...@gmail.com> wrote:
> Hi all,
>
> I am trying to make the demo versions available work on my PC (Windows
> XP 32-bit), but without any success!
>
> Can anyone please guide me what should I do?
> When trying to run the application \bin\Release32\TesseractOCR.exe,
> when Pressing the OCR button, the application is closing without any
> processing. What should do in the part "tessdata path" text box?
>
> Also when I am trying to run the TesseractORC application from Visual
> Studio, I am getting the message "Error 1 The referenced assembly "C:
> \Documents and Settings\sz\Desktop\dotnet\x64\Debug\tessnet2.dll" was
> not found. If this assembly is produced by another one of your
> projects, please make sure to build that project before building this
> one.
>

> The issue is that in the bins provided in the websitehttp://www.pixel-technology.com/freeware/tessnet2/, tessnet2.dll does

nguyenq

unread,
Mar 17, 2010, 10:37:50 PM3/17/10
to tesseract-ocr
Take a look at this working application which uses tessnet2 library.

http://vietocr.sf.net

Sandro Zahra

unread,
Mar 18, 2010, 6:48:36 AM3/18/10
to tesser...@googlegroups.com, nguy...@gmail.com
Thanks but this contains only an installer :(

--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To post to this group, send email to tesser...@googlegroups.com.
To unsubscribe from this group, send email to tesseract-oc...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/tesseract-ocr?hl=en.


nguyenq

unread,
Mar 18, 2010, 10:57:06 AM3/18/10
to tesseract-ocr
The source is available -- you did not look far enough.

On Mar 18, 5:48 am, Sandro Zahra <san...@sandrozahra.com> wrote:
> Thanks but this contains only an installer :(
>

> > tesseract-oc...@googlegroups.com<tesseract-ocr%2Bunsu...@googlegroups.com>

Sandro Zahra

unread,
Mar 18, 2010, 12:36:50 PM3/18/10
to tesser...@googlegroups.com
Hi ,

Do I need to install the exe or the source file is on the website?

regards
sandro

To unsubscribe from this group, send email to tesseract-oc...@googlegroups.com.

Sandro Zahra

unread,
Mar 18, 2010, 3:43:40 PM3/18/10
to tesser...@googlegroups.com
Hi all,

The version downloaded was not working because of my stupid mistake ...... when doing such thinks one should not be in a hurry! :/

My mistake was that I downloaded the wrong testdata file .... it should be this file!!
Also as stated on the website, make sure that the "Tessdata directory and your exe must be in the same directory"

thanks for everyone that tried to help me
sandro

mouthpiec

unread,
Mar 18, 2010, 5:39:17 PM3/18/10
to tesseract-ocr
Hi all,

The version downloaded was not working because of my stupid
mistake ...... when doing such thinks one should not be in a hurry! :/

My mistake was that I downloaded the wrong testdata file .... it
should be this file!!
Also as stated on the website, make sure that the "Tessdata directory
and your exe must be in the same directory"

thanks for everyone that tried to help me
sandro

On Mar 18, 5:36 pm, Sandro Zahra <san...@sandrozahra.com> wrote:
> Hi ,
>
> Do I need to install the exe or the source file is on the website?
>
> regards
> sandro
>

> > > > tesseract-oc...@googlegroups.com<tesseract-ocr%2Bunsubscribe@goog legroups.com>
> > <tesseract-ocr%2Bunsu...@googlegroups.com<tesseract-ocr%252Bunsubscribe @googlegroups.com>


>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/tesseract-ocr?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "tesseract-ocr" group.
> > To post to this group, send email to tesser...@googlegroups.com.
> > To unsubscribe from this group, send email to

> > tesseract-oc...@googlegroups.com<tesseract-ocr%2Bunsubscribe@goog legroups.com>

mouthpiec

unread,
Mar 19, 2010, 12:06:34 PM3/19/10
to tesseract-ocr
Hi again ..... the problem is when using the code into a windows
application because when I run a console application it is working
normally.

Do I have to add something else with a Windows App?

thanks

mouthpiec

unread,
Mar 21, 2010, 12:20:20 PM3/21/10
to tesseract-ocr
issue solved ..... i had a wrong reference.

Thanks for anyone who helped!!

Muadzir Aziz

unread,
Apr 7, 2015, 1:28:09 AM4/7/15
to tesser...@googlegroups.com, san...@sandrozahra.com
hi Sandro,

i am having the same problem but until now...i couldn't make it to work. I probably use the wrong version of tessaract data. 

my tessnet2 version is the 2.04.0 but what is the matched tesseract language data version that suits this version.

Perhaps you can tell me a little bit about your past endeavor. and how you able to solve it
sandro

Reply all
Reply to author
Forward
0 new messages