0
OCR PDFs that are a mix of Text and Images?
New Here
,
/t5/acrobat-services-api-discussions/ocr-pdfs-that-are-a-mix-of-text-and-images/td-p/12759899
Feb 17, 2022
Feb 17, 2022
Copy link to clipboard
Copied
I have some PDFs that I would like to OCR using the API, but there's already some text layers in it. The API seems to skip the entire PDF instead of OCRing the image data.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
LATEST
/t5/acrobat-services-api-discussions/ocr-pdfs-that-are-a-mix-of-text-and-images/m-p/12782653#M3641
Feb 28, 2022
Feb 28, 2022
Copy link to clipboard
Copied
The best way to accomplish this is to use the Properties API to detect which pages are image only, then use the split API to pul those pages out of the PDF, send them to the OCR API, then use the Insert API to add them back to the original PDF.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

