Original source is kylemcdonald/ofxTesseract.
install tesseract : brew install tesseract
Drag & Drop libs/leptonica/lib
and libs/tesseract/lib
to Navigator from Finder
Drag & Drop libtesseract.3.dylib
and liblept.5.dylib
to Project > Build Phases > Link Binary With Libraries
from Navigator
In OSX10.11 Xcode7, You must setting Library Search Paths
.
Drag & Drop ofxTessarect/libs/tesseract/lib
and ofxTessarect/libs/leptonica/lib
folder from Finder
Finally, You Need to copy the traineddata what you want to use
[lang].traineddata
to data/tessdata
from ofxTessarect/libs/tesseract/copy_to_data_folder/tessdata
There are only eng
, jpn
and osd
data.
If you want other languages, please download from here.