Support Questions
Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Innovation Accelerator group hub.

Can anybody suggest a reliable and accurate way to use Tesseract OCR to turn a scanned PDF into a searchable PDF?

New Contributor

Hi,

I am doing some research into non commercial solutions for taking a scanned PDF document and using Tesseract OCR to create a searchable PDF document. I am new to the HortonWorks world and community and any suggestions would be much appreciated.

Thanks!

1 ACCEPTED SOLUTION

Explorer

@Christopher Frankland here are some resources I would recommend checking out:

https://community.hortonworks.com/articles/136/how-to-search-for-text-in-an-image.html By @Saptak Sen

Another fun one using Apache Nifi by @Jeremy Dyer

https://community.hortonworks.com/articles/28380/nifi-ocr-using-apache-nifi-to-read-childrens-books....

And here's a great tutorial with its use:

http://hortonworks.com/hadoop-tutorial/indexing-and-searching-text-within-images-with-apache-solr/

Here's also a blog post that is older, so please check commands, but it has some important lessons when it comes to accuracy, the quality and resolution of the PDF will greatly affect your results.

http://kiirani.com/2013/03/22/tesseract-pdf.html

Posting this as I think it's interesting as well to examine other effects on the source data that might affect accuracy:

http://www.assistivetechnology.vcu.edu/wp-content/uploads/sites/1864/2013/09/pxc3882784.pdf

View solution in original post

1 REPLY 1

Explorer

@Christopher Frankland here are some resources I would recommend checking out:

https://community.hortonworks.com/articles/136/how-to-search-for-text-in-an-image.html By @Saptak Sen

Another fun one using Apache Nifi by @Jeremy Dyer

https://community.hortonworks.com/articles/28380/nifi-ocr-using-apache-nifi-to-read-childrens-books....

And here's a great tutorial with its use:

http://hortonworks.com/hadoop-tutorial/indexing-and-searching-text-within-images-with-apache-solr/

Here's also a blog post that is older, so please check commands, but it has some important lessons when it comes to accuracy, the quality and resolution of the PDF will greatly affect your results.

http://kiirani.com/2013/03/22/tesseract-pdf.html

Posting this as I think it's interesting as well to examine other effects on the source data that might affect accuracy:

http://www.assistivetechnology.vcu.edu/wp-content/uploads/sites/1864/2013/09/pxc3882784.pdf