motion-ocr
motion-ocr copied to clipboard
Can't get it to work with RubyMotion 1.33 and ruby 1.9.2
very simple project with only in the app delegate
ocr = MotionOCR.new
image_with_text = UIImage.imageNamed('ocr-test.png').CGImage puts ocr.scan(image_with_text)
But the application fails with the following error
Error opening data file /Users/Elie/Library/Application Support/iPhone Simulator/6.1/Applications/A5938C0C-ED55-476C-A8C2-B7C0ECC59688/Documents/tessdata/eng.traineddata
Do I need to install something else to get it to work?
Any chance you got this working? I'm having a similar problem.
Just an update, I've since copied the contents of the Resources directory to my project, and I'm past this error. Hopefully, that's of help to someone. hehe
Same problem for me! TheOddLinguist, not sure what you mean by copied the content of the resource directory to your project. Please explain a bit further :)
It's been quite a while, but I believe I just copied the tessdata directory that's part of this repo's resources directory into the resources directory of my project. But that project is long gone, so I can't confirm that's what I meant.