Skip to main content
AWS

Textract

Textract

Recognizes text in images and PDF documents using the AWS Textract service. It allows you to extract words, lines, forms, tables and answers to questions from image or PDF files.


Options

File path

Enter the full path of the file (image or PDF) to be analyzed by Textract.

Analyze forms

Enable this option to extract key-value pairs (forms) from the document.

Analyze tables

Enable this option to extract structured tables from the document.

Analyze questions

Enable this option to send questions to Textract and get answers extracted from the document.

Questions to be answered

Enter the questions Textract must answer based on the document content. Available only when Analyze questions is enabled.

Access Key

Enter the access key of the AWS account.

Secret Access Key

Enter the secret access key of the AWS account.

Region

Enter the AWS region where the Textract service is configured.

Bucket name

Enter the name of the S3 bucket used for the processing. The bucket must be in the same region as the Textract service.

Timeout

Enter the maximum time (in seconds) to wait for the analysis to complete.

Pages to work on

Enter which pages of the document must be processed (for multi-page PDFs).

Returns

  • Document content — Returns the full content of the document analyzed by the OCR.
  • Words found — Returns a list with the words identified by the OCR.
  • Lines found — Returns a list with the lines of words identified by the OCR.
  • Forms found — Returns a list with the key-value pairs of the forms identified.
  • Tables found — Returns a list with the tables identified in the document.
  • Answers to the questions — Returns the answers found by the OCR for the questions provided.

Rules and Conditions

  • The File path field is required.
  • The AWS credentials (Access Key, Secret Key, Region and bucket) are required.
  • The S3 bucket must be in the same region as the Textract service.
  • For the question analysis, the questions must be provided beforehand.