Support Questions

Find answers, ask questions, and share your expertise

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

avatar
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

avatar
Contributor

@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

avatar
Contributor

@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