From: wyrosdick Date: 2007-03-18T06:20:05+09:00 Subject: Re: OCR in ruby On Mar 17, 1:34 am, Tim X wrote: > "wyrosdick" 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 > -- > 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