hi all,
managed to get tesseract working in OF.
http://code.google.com/p/tesseract-ocr/the tesseract library is an OCR engine (optical character recognition)
basically it searches an image for words or text and gives it back to you in a string format.
ive created a ofxTesseract wrapper which is very simple at the moment but should get people started quickly.
download it here,
http://julapy.com/source/tesseractExample.ziporiginally i found this source by nolan brown,
http://github.com/nolanbrown/Tesseract-iPhone-Demothe tesseract library was already compiled in the iphone xcode project and so i figured it would work in OF on a mac, which it did.
it might work better if the library is compiled again, strictly for the mac osx, but this is a bit over my head. be great if someone knew how to do this.
something to be aware of,
in the xcode project -> executables
double click the executable and a window will come up.
in the Arguments tab, i had to add the following,
TESSDATA_PREFIX = "../../../data/"
this tells the library where the "tessdata" folder is located.
so far i haven't been able to figure out any other way of specifying the data path.
L.