Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

Solved Go to solution
Highlighted

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

Accepted Solutions
Highlighted

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

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
Highlighted

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

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

Don't have an account?
Coming from Hortonworks? Activate your account here