product · inferred from evidence
amazon-textract-textractor
The GitHub repository or project name for the textractor library under the aws-samples organization.
- Textract rejects local PDFs: `Exception: PDF must be in S3 bucket`
Running `python3 textractor.py --documents document-name.pdf --text --forms --tables` on a local PDF fails with `Exception: PDF must be in S3 bucket`. Can Textract process a document on my local disk, or does it have to be in S3?
- textractor raises `KeyError: 'Geometry'` when an expense field has an empty value
I call `textract.start_expense_analysis` on a multi-page invoice PDF stored in S3. When I access `document.expense_documents`, I get `KeyError: 'Geometry'`. Debugging the textractor package, I found the Geometry part is missing for an `Expe
- textractor raises `KeyError: 'Relationships'` on documents with blank pages
My textractor pipeline crashes with `KeyError: 'Relationships'` in the response parser on a specific document. The stack trace points at `response_parser.parse(paginated_response)`. I cannot share the document for privacy reasons. What caus