Hi, Where did you put the tessdata directory? I think from asp.net it should be in system32. You must call ocr.Init
Rémi On Mar 18, 6:40 pm, "[email protected]" <[email protected]> wrote: > I am using this code, > Bitmap image = new Bitmap(@"c:\test2.bmp"); > tessnet2.Tesseract ocr=new tessnet2.Tesseract(); > //ocr.SetVariable("tessedit_char_whitelist", > "0123456789"); // If digit only > //ocr.Init("eng", true); // To use correct tessdata > List<tessnet2.Word> result = ocr.DoOCR(image, > Rectangle.Empty); > //test = ocr.DoOCR(image, Rectangle.Empty); > Response.Redirect("default2.aspx?result=" + result); > once i run this code in my web application the webapplication is > closed, can anyone help me how to solve this problem, thank you. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

