Hi Naresh,

In the tessnet2's Init method you have to set the full tessdata path.
Don't use a relative path.
ocr.Init(@"c:\temp", "fra", false); // To use correct tessdata
In this example tessdata directory is in c:\temp

Tessnet2 rely on Microsoft .NET, you must use bitmap object.

You can read TIF, JPEG, PNG, BMP with .NET

Bitmap image = new Bitmap("eurotext.tif");
but also
Bitmap image = new Bitmap("eurotext.bmp");
Bitmap image = new Bitmap("eurotext.jpg");
Bitmap image = new Bitmap("eurotext.png");

Cheer,
Rémi

On Jun 11, 8:01 am, naresh <[email protected]> wrote:
> One more doubt also,
>
> When i trying to run the my .net application using ocr it is giving
> the error message as "Unable to load unicharset file ./tessdata/
> eng.unicharset
>
> Could you help on this regard.
>
> On Jun 6, 10:16 pm, wilsone8 <[email protected]> wrote:
>
>
>
> > Have a look athttp://www.pixel-technology.com/freeware/tessnet2/for
> > a free c# wrapper to tesseract.  However, be aware that this version
> > leaks memory (according to the author, the problem is in tesseract and
> > not in his software).
>
> > On May 27, 6:33 am, naresh <[email protected]> wrote:
>
> > > Hello Friends,
>
> > > My requirement is regarding the Free Libraries for OCR that can run on
> > > the asp.net environment.
> > > Since the time is very less we chose to have the third party OCR
> > > libraries which are royality free.
>
> > > Can anyone provide some sample c# code that very much supports the
> > > functionality of ocr.
> > > I downloaded the tesseract-2.0 source code. But the complexity of code
> > > is very huge which is a very difficult task to analysis and understand
> > > the code.
>
> > > Please provide some samples of c# programs for OCR.
>
> > > Thanks,
> > > Naresh.K- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tesseract-ocr?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to