Hi shrestha,
Thanks for the reply.
As i said i'm using EmguCV 1.5.0.1(cross platform dot net wrapper for
openCV) now my c# application is producing correct results.
As u said, i'm first converting the image into single color(Gray
scale) and then processing the image for noise elimination.The result
i'm then passing it to tesseract OCR Engine.
It is working perfectly.
my only problem now is that the image should not have any noise if it
does it is producing result with some extra characters.
Right now i'm working on noise elimination from the image before
passing it to tesseract.
Anyway thanks for the reply.
I would definately like to see ur application.
waiting for ur reply.
On May 5, 4:47 pm, mrigendra lal shrestha <
mrigenshres...@gmail.com>
wrote:
> hey sundar,
> i also had similar problem with tesseract. it worked very nicely in
> command prompt but not at all in vc++ dot net.
> well u should first convert the image into 1bpp(1 bit per pixel)
> format (search in google to convert image into 1bpp....i forgot the
> name but im sure that its(code) there.....i thinks it's a VB code so u
> have to modify a little)
> use that code to convert your image into 1bpp bitmap image then pass
> it to tesseract for further processing......this really works.....if
> not mail me back....i'll send u a link to my (me and my supervisor)
> version of tesseract that was built using c++ dot net 2003.....though
> its not complete but works fine for english language!!!
>
> note: 1 bpp is not supported in advance version rather than dot net 2003!!!!
>
> cheers,
> yaamchha!!!
>
> On 4/8/09, Raj <
mail2sun....@gmail.com> wrote:
>
>
>
>
>
> > Hi Friends,
>
> > I have generated the tessdata with the required 8 files to
> > recognize 7-segment display.and
> > when i use the command
>
> > "Tesseract.exe input.tif output.txt -l sun" where sun is the
> > language name.
>
> > the Tesseract OCR engine is Working perfectly and procuding 100%
> > results as expected without any ambiguity.
>
> > Now, I want to use this in C# Application.
>
> > For this i'm using EmguCV 1.5.0.1 where there is an example in C# for
> > OCR.This example is given with tessdata for English Language.
>
> > I replaced the all the 8 files in tessdata with the files what i have
> > created.and when i executed the application it is not producing any
> > result and running successfully without any errors.
>
> > Has anybody tel me why it is not giving results when i use it in the
> > application and working perfectly when it is not run in the
> > application.
>
> > Please Help me in solving the problem.
>
> > Thanks in advance.
>
> > Regards,