OCR in ruby

W

wyrosdick

does anyone know of an OCR library in ruby or one that can be called
from command line so I can integrate it with a ruby script?
 
W

wyrosdick

I don't know of a specific ruby library to do this. However, there is a GNU OCR
project - you could probably bind to its library and use that? It also has a
command line utility that can take input from stdin and send text output to
stdout - possibly you could try using that to see if the genral principal
works.

Tim

P.S. from memory its called gocr

that worked beautifully ... I use imagemagick to convert the image to
a pgm file then use `gocr -i file.pgm` to get the ocr text from the
command line tool inside of ruby.

thanks
Ben
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Ruby + OCR 8
AutoIt: Any support for OCR? 1
Java OCR 0
Free c++ ocr library 1
Java + Ocr Sdk 0
OCR 3
Bug? variable changes without assignment 4
OCR librarys 5

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top