I\'m using OpenCV on the iPhone and need to detect numbers in an image. I split the image into smaller images so each image has only one number (1-9). All numbers are printe
Tesseract is also a nice free OCR engine that is readily available for iPhone and allows you to use your own sets of training images: http://tinsuke.wordpress.com/2011/11/01/how-to-compile-and-use-tesseract-3-01-on-ios-sdk-5/
Maybe the most simple and convinient way is to use svm as ml algorithm http://opencv.willowgarage.com/documentation/cpp/support_vector_machines.html and gray images as feature vectors.
This is a nice open source ,It is a ORCDemo on iPhone.Hope it is useful to you
Basically your problem is just to classify a feature vector, which is the set of pixel intensities after some preprocessing steps. You can use any classifier for this task, like eg. neural networks, which should have a C implementation inside OpenCV. You might also try a C libsvm library for Support Vector Machines.
There is a good site related to this problem with a lot of papers and a training database.