Hi, greate to see that you have the same issue with me. I use my iPhone to capture an image. When I set the home button on the right (from my view), it can scan pretty good. But if I set my iPhone in other direction, it returns very bad result. Could you please give me any suggestion. I try through a lot of solution to detect detection of image, but it's useless. Thanks a lot
On Saturday, 1 February 2014 02:44:55 UTC+7, Nick Porter wrote: > > I am trying to scan a business card using tesseract OCR, all I am doing is > sending the image in with no per-prossesing, heres the code I am using. > > Tesseract* tesseract = [[Tesseract alloc] initWithLanguage:@"eng+ita"]; > tesseract.delegate = self; [tesseract > setVariableValue:@"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@.-()" > forKey:@"tessedit_char_whitelist"]; [tesseract setImage:[UIImage > imageNamed:@"card.jpg"]]; //image to check [tesseract recognize]; > NSLog(@"Here is the text %@", [tesseract recognizedText]); > > Picture of card <http://imgur.com/nQPG6iq> > > This is the output <http://imgur.com/poikzBn> > > As you can see the accuracy is not 100%, which is not what I am concerned > about I figure I can fix that with some simple per-processing. However if > you notice it mixes the two text blocks at the bottom, which splits up the > address, and possibly other information on other cards. > > How can I possibly use Leptonica(or something else) to group the text > somehow? Possibly send regions of text on the image individually to > tesseract to scan? I've been stuck on this problem for a while any possible > solutions are welcome! > -- -- 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 --- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

