Using Ruby and Ubuntu with Optical Character Recognition

I am a university student, and again I need to buy textbooks. This quarter has more than 20 books for classes. Normally this would not be so important as I just copied and pasted ISBN into Amazon. ISBNs, however, are converted to an image on my school book site. All I want to do is get the ISBNs in a string, so I don't need to enter them manually. I used GOCR to convert images to text, but I want to use it with a Ruby script so that I can automate the process and do the same for my classmates.

I can go to the site. How to save an image to a file on my computer (by running UBUNTU), convert the image using GOCR, and finally save it to a file so that I can then access them again using my Ruby script?

+5
source share
2 answers

GOCR, -, , , "", . , , . , "" Google, OCR. , google api ( , gdata-ruby-util, , .

tesseract-ocr OCR, .

, hpricot, - .

+3

, ISBN .

:

  • - (/http)
  • + ()
  • GOCR

, , URL- (), , , , (. joe) - .

+2

All Articles