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?
on 2007-03-17 03:06
on 2007-03-17 07:35
"wyrosdick" <email@example.com> 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 2007-03-17 22:21
On Mar 17, 1:34 am, Tim X <t...@nospam.dev.null> 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