ruby-tesseract-ocr
ruby-tesseract-ocr copied to clipboard
A Ruby wrapper library to the tesseract-ocr API.
This gem appears to be stale. After struggling with some compile issues due to binaries not building, I was happier switching to this alternative https://github.com/dannnylo/rtesseract
I'm getting a CompilationError when 'require tesseract-ocr'. CompilationError: compile error: see logs at /tmp/.ffi-inline-1000/00ac1de4050b632b230475bd71c0dc3a7de45a89.log from /usr/lib/ruby/gems/2.2.0/gems/ffi-inline-0.0.4.3/lib/ffi/inline/compilers/gcc.rb:35:in `compile' full trace is [here](https://gist.github.com/atuyosi/9a8dd0be542d115e0107), and ffi-inline's [error log](https://gist.github.com/atuyosi/792df3b7ba24dd7a112d) Is the latest tesseract-ocr( 3.04)...
I've been trying to fix this error for quite some time now but nothing seems to work. Weird thing is, the gem used to work for me. I used it...
I'm trying to deploy an application that uses tesseract-ocr with passenger and when I open the website I see this error: Could not open library '/tmp/.ffi-inline-500/985899750dd2ded7660e51be030ff964c9d21dc8.so': libtesseract.so.3: cannot open shared...
Dear @meh , your Tesseract bindings are an essential project for OCR in Ruby. I've recently added your project to our RubyNLP list: https://github.com/arbox/nlp-with-ruby I wonder if you want to...
`g++ -shared -fPIC -o /tmp/.ffi-inline-1000/484c67a5da898353715fbd3b073fa014f6937466.so /tmp/.ffi-inline-1000/484c67a5da898353715fbd3b073fa014f6937466.cpp -ltesseract 2>>/tmp/.ffi-inline-1000/484c67a5da898353715fbd3b073fa014f6937466.log /tmp/.ffi-inline-1000/484c67a5da898353715fbd3b073fa014f6937466.cpp:1:30: fatal error: tesseract/strngs.h: No such file or directory #include ^ compilation terminated.`
Fixes for tesseract 3.04
Hey! I am fairly new to tesseract so please excuse my lack of knowledge, but I am trying to implement a feature as seen here: http://stackoverflow.com/questions/22609778/how-to-preserve-document-structure-in-tesseract I can't seem to...
I was trying to extract text from image using tesseract command line but since I wanted to use ruby script I tried your gem. Now, the problem is I am...
Getting segfaults for any image I try to OCR. Trying to run words_for. Any insight on this: /Users/nishant.shah/.rvm/gems/ruby-2.2.2/gems/tesseract-ocr-0.1.8/lib/tesseract/api/iterator.rb:73: [BUG] Segmentation fault at 0x00000000000008 ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14] --...