2016年2月29日 星期一

Tesseract-ocr gem install on mac os x

https://github.com/meh/ruby-tesseract-ocr



http://stackoverflow.com/questions/32179402/tesseract-ocr-gem-issue-on-mac-os-x

Tesseract developers changed quite some stuff in version 3.0.4 and tesseract-ocr gem lost compatibility with it. The best solution I see is to downgrade for now. You may have previous versions of Tesseract installed on your mac, use brew info tesseract to find that out. If so, just use brew switch. I did brew cleanup recently, so I had to uninstall tesseract and install it from the old formula, like so:
$ brew uninstall tesseract
$ brew install https://raw.githubusercontent.com/Homebrew/homebrew/8ba134eda537d2cee7daa7ebdd9f728389d9c53e/Library/Formula/tesseract.rb
This will install Tesseract 3.02.02_3d that seems to be working. You can find more info and track this issue at tesseract-ocr repo.




http://alangunning.ie/2013/01/13/how-to-install-tesseract-ocr-on-a-amazon-ec2-free-tier-linux-machine-for-optical-character-recognition/

install Tesseract OCR on a Amazon EC2 (Free Tier) Linux Machine for Optical Character Recognition

沒有留言:

張貼留言