Tesseract OCR iOS is a static library compiled for iOS5+, compiled also for armv7s.
It's only two files:
libTesseract OCR iOS.a
Tesseract.h
Copy libTesseract OCR iOS.a and Tesseract.h under your project
Import UIKit with: #import <UIKit/UIKit.h>
Import libTesseract OCR iOS with: #import <Tesseract OCR iOS/Tesseract.h>
Use Tesseract class like explained here: https://github.com/ldiqual/tesseract-ios
ex. from https://github.com/ldiqual/tesseract-ios
#import <UIKit/UIKit.h>
#import <Tesseract OCR iOS/Tesseract.h>
Tesseract* tesseract = [[Tesseract alloc] initWithDataPath:@"tessdata" language:@"grc"];
//language are used for recognition. Ex: grc. Tesseract will search for a grc.traineddata file in the dataPath directory.
//grc.traineddata is already avaliable in the libTesseract OCR iOS static library.
[tesseract setVariableValue:@"0123456789" forKey:@"tessedit_char_whitelist"];
[tesseract setImage:[UIImage imageNamed:@"image_sample.jpg"]];
[tesseract recognize];
NSLog(@"%@", [tesseract recognizedText]);
Tesseract OCR iOS (this repo) is under MIT License.
Tesseract-ios, powered by ldiqual https://github.com/ldiqual/tesseract-ios, is under MIT License.
Tesseract, powered by Google http://code.google.com/p/tesseract-ocr/, is under Apache License.
Thanks to ldiqual for the good wrapper for Tesseract.