question

aaron11128 avatar image
aaron11128 asked ·

Is there a way to OCR incoming PDFs that are faxed in order to make them searchable

topic-default
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

John Wang avatar image
John Wang answered ·
You can do this buy retrieving the PDF and using an OCR API or the Tesseract Open Source package.

One API that can be used is the Google Vision API:

https://cloud.google.com/vision/docs/pdf

The Tesseract Open Source OCR engine is generally considered one of, if not, the best open source solutions:

https://github.com/tesseract-ocr/tesseract
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Tyler Liu avatar image
Tyler Liu answered ·
Just want to mention that OCR is not the only way to extract text from PDF.  If the PDF's content is text instead of image, you can use some library to extract the text. Search GitHub for "pdf to text".

1 comment Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

The PDF content depends on what generates the PDF. If you use a program like MS Word to generate a PDF then the PDF can text content, but a fax transmission will typically result in a PDF that contains an image and requires OCR, due to the fax transmission process.
0 Likes 0 · ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.