- Newest
- Most votes
- Most comments
The increased processing time for a single page PDF using Amazon Textract could be due to several factors:
-
Document complexity: If the PDF contains complex elements like tables, images, or intricate layouts, it may require more processing time.
-
Service load: Textract's performance can vary based on overall service demand.
-
Network latency: If your application is in a different region from the Textract service, or if there are network issues, it could increase processing time.
-
PDF quality: Lower quality or poorly formatted PDFs may take longer to process.
To address this issue, you could try the following:
-
Ensure you're using the asynchronous API for better handling of longer processing times.
-
Check if the PDF can be optimized or simplified without losing necessary information.
-
Consider splitting larger documents into smaller chunks and processing them in parallel, although this may not be applicable for a single-page document.
-
Verify that your AWS configuration, including IAM roles and VPC settings, is optimized for Textract access.
-
Monitor your Textract usage and performance using AWS CloudWatch to identify any patterns or issues.
If the problem persists, it would be advisable to contact AWS support for further investigation, as this significant increase in processing time for a single page is unusual and may indicate a deeper issue.
Sources
AWS Textract issue | AWS re:Post
Textract is timing out | AWS re:Post
Relevant content
asked 4 years ago
