amazon-textract-textractor icon indicating copy to clipboard operation
amazon-textract-textractor copied to clipboard

Analyze a document with multiple pages

Open alexandruvesa opened this issue 2 years ago • 2 comments

Hello. How should we do, when we have a pdf with multiple pages?

Thanks, Alex

alexandruvesa avatar Nov 23 '23 12:11 alexandruvesa

Hi,

You will have to use the asynchronous API. It is very similar to the synchronous API, except that the PDF file needs to be in S3 or you can provide an S3 upload path and Textractor will upload it for you.

See this page in the documentation: https://aws-samples.github.io/amazon-textract-textractor/notebooks/simple_ocr.html#Asynchronous-example

Thanks!

Belval avatar Nov 23 '23 19:11 Belval

This worked for me - I suggest you close the issue as well - @Belval

miah0x41 avatar May 16 '24 09:05 miah0x41