How to convert Image To Text in RoR

Hello All

I have too many scanned notes i need to convert them into text and then
user
may download that as pdf , How it can be done in RoR

Please help

Thanks in advance :slight_smile:

is there no way ???

What you need to do is identify open source software that does OCR
specifically. Rails doesn’t include image or PDF manipulation itself,
but can be integrated with other tools that do. E.g. Rmagick and Prawn.

These Ruby gems look promising:

https://github.com/dannnylo/rtesseract

https://github.com/gkovacs/pdfocr

Goodluck,
Walter

Why don’t you put the image file itself inside the pdf? :slight_smile:

On Tue, Jun 14, 2011 at 9:00 AM, rajeevkannav [email protected]
wrote:

Hello All

I have too many scanned notes i need to convert them into text and then user
may download that as pdf , How it can be done in RoR

i am not sure how ROR can help you here but you could use gocr for
image to text conversion.


A-M-I-T S|S

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs