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?
“wyrosdick” [email protected] writes:
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?
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
On Mar 17, 1:34 am, Tim X [email protected] wrote:
Tim
P.S. from memory its called gocr
tcross (at) rapttech dot com dot au
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