Thanks for the reply Ngu, but I don't know where to find the euro.txt file. Can you tell me where to get it and what to do with it?
On Oct 10, 10:53 am, Benjamin Fair <[EMAIL PROTECTED]> wrote: > Hi, thanks for the response. No, I don't have a euro.txt file; I'm assuming > it would go into the Tessdata directory. Where would I get this file and > what do I do with it once I have it?Thanks, Ben Fair > > > Date: Fri, 10 Oct 2008 06:14:37 -0700> Subject: Re: Tessnet2 DLL with > > C#.NET 2.0, bad OCR results> From: [EMAIL PROTECTED]> To: > > [email protected]> > > I see, did you use the euro.txt that > > comes along with the Tesseract> and does it work well?> > On Oct 10, 12:51 > > am, benj588 <[EMAIL PROTECTED]> wrote:> > Hello! I'm very interested in > > using Tesseract with C# and have> > downloaded and started playing with the > > Tessnet DLL for .NET. I've> > followed all of the instructions for placing > > the tessdata folder and> > files under the folder from which my EXE is > > running (currently is> > 'ProjectName\bin\Debug\project.exe'). I'm > > developing in Visual Studio> > 2005. I have a number of bitmap images that > > I've created that are> > just screenshots of messageboxes from my system. > > I was using these to> > test with and am getting very bad results. In some > > cases I get 0> > results, and in others I'll get 2 or 3 but they don't > > match any text I> > see in the image. These images are just a normal > > Windows MessageBox> > that have message text and an OK button. I don;t > > have any crazy fonts> > or system colors, just the default for Windows. My > > system is running> > Windows XP Pro SP3. I've gone over my configuration a > > million times> > (it seems) and searched the forums to see if there are any > > settings I> > can tweak or known issues that I may need to account for, but > > no luck> > as of yet. I've tried converting the bitmaps to gif and tif in> > > > MSPaint, but I had identical results regardless of the image format;> > > > which to me is a good thing that it is consistent. I appreciate the> > > > time that has been put in to this project and would greatly appreciate> > > > any assistance that can be provided. I have the following code in a> > > > form and can provide a copy of the images, if needed; however I may> > need > > a pointer to where they can be hosted.> >> > Bitmap img = > > (Bitmap)Bitmap.FromFile(fileName);> > Tesseract ocr = new > > Tesseract();> > ocr.Init("eng", false);> > > > List<Word> results = ocr.DoOCR(img, Rectangle.Empty);> > string > > hold = String.Empty;> > foreach (Word word in results)> > > > {> > hold += "Word: " + word.Text + "(" +> > > > word.Confidence.ToString() + ")" + Environment.NewLine;> > }> > > > MessageBox.Show(hold);> >> > Thanks!> > > _________________________________________________________________ > > Get more out of the Web. Learn 10 hidden secrets of Windows > Live.http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

