-6

i have scan(OCR) one image the out put is not correct using Tesseract library.if any one have idea please share with me. i have write code below

Tesseract* tesseract = [[Tesseract alloc] initWithDataPath:@"tessdata" language:@"eng"];
//[tesseract setVariableValue:@"0123456789" forKey:@"tessedit_char_whitelist"];
[tesseract setImage:[UIImage imageNamed:@"business_card_beauty_salon.jpg"]];
[tesseract recognize];

NSLog(@"%@", [tesseract recognizedText]);

OUTPUT is worng SmMh St my. 90210 v < 3f» ‘ »' \ . ,, \ *9 Q/ J Q )@ l JaneAnderson Beauty Salon tel: 905 555 5555

Popeye
  • 11,839
  • 9
  • 58
  • 91
Yogesh shelke
  • 438
  • 4
  • 12
  • 1
    This is probably one of the worst questions I've seen on here. What is your question? What have you tried? What code Have you got already? Please share a lot more information we will not do your work for you we will just help with issues you are having. Voted to close and -1 – Popeye Dec 02 '14 at 10:58
  • Can you share the image you are trying to scan using OCR ? – Abhinandan Sahgal Dec 02 '14 at 11:16

1 Answers1

0

Tesseract is the Open source library . So I dont thing it is much accurate . OCR libraries gives better results for images with resolution more than 150px . Also it would be nice if you give Black and white image . If you are more interested in accuracy then you have to find some paid libraries .

V-Xtreme
  • 7,230
  • 9
  • 39
  • 79