Tessnet2: How to start

1,359 views
Skip to first unread message

Carlesmk

unread,
Nov 12, 2011, 2:17:30 PM11/12/11
to tesseract-ocr

Hi everibody,

I'm trying to start using Tessnet2 for a C# application which reads
7segments displays using a webcam

The problem is that I've been trying to run the wrapper for two days
but it gives me errors.

I followed the instructions from the page http://www.pixel-technology.com/freeware/tessnet2/
, but they're not updated

I'm using VS2010 on Windows 7- 64b.

Did tessnet2 work for any of you on VS2010 and W7??

I have to make it work or use another application. I read about
tesseract and I want to try it, but I can't spend a lot of time trying
to make it work. So, any advice if you have experience with it or do
you know a similar application?

Thanks a lot

Carles

Quan Nguyen

unread,
Nov 13, 2011, 10:33:11 AM11/13/11
to tesseract-ocr
Tessnet2 is .NET 2.0. Did you target your VS2010 solution for .NET
2.0?

VietOCR.NET 2.x, which uses the same wrapper, is VS2008-based and
works fine on Win7.

http://sourceforge.net/projects/vietocr/files/vietocr.net/

On Nov 12, 1:17 pm, Carlesmk <carles.blasc...@gmail.com> wrote:
> Hi everibody,
>
> I'm trying to start using Tessnet2 for a C# application which reads
> 7segments displays using a webcam
>
> The problem is that I've been trying to run the wrapper for two days
> but it gives me errors.
>
> I followed the instructions from the pagehttp://www.pixel-technology.com/freeware/tessnet2/

Carlesmk

unread,
Nov 14, 2011, 8:41:27 AM11/14/11
to tesseract-ocr
The problem is that I need .NET 4

Do you know if I'm able to work with Tessnet2 or VietOCR? And how
should I proceed?

Anyway thanks for your fast reply

Carles
> >Carles- Ocultar texto de la cita -
>
> - Mostrar texto de la cita -

Quan Nguyen

unread,
Nov 14, 2011, 4:48:09 PM11/14/11
to tesseract-ocr
I'm not sure if tessnet2 can be compiled as .NET 4.0 assembly -- but
you can try.

There's another .NET wrapper that I think can be used with .NET 4.0.
Check out tesseractdotnet library:

http://code.google.com/p/tesseractdotnet/issues/detail?id=12#c32

Alessandro Latella

unread,
Dec 2, 2011, 10:20:48 AM12/2/11
to tesseract-ocr
Maybe the solution is this :
you must create a file " App.config" in your project and in this file
you must write

<?xml version="1.0"?>
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0"/>
</startup>
</configuration>

I solved the problem this way.

iso8859

unread,
Dec 3, 2011, 2:32:03 AM12/3/11
to tesseract-ocr
Hi,

Tessnet2 contains 32 or 64 bits assembly.
Make sure you set the correct target (don't use ANY CPU, choose X86 or
X64).
You can use a .NET 2.0 assembly in a 4.0 project, no problems.

Remi

On 12 nov, 20:17, Carlesmk <carles.blasc...@gmail.com> wrote:
> Hi everibody,
>
> I'm trying to start using Tessnet2 for a C# application which reads
> 7segments displays using a webcam
>
> The problem is that I've been trying to run the wrapper for two days
> but it gives me errors.
>

> I followed the instructions from the pagehttp://www.pixel-technology.com/freeware/tessnet2/

Reply all
Reply to author
Forward
0 new messages