textract_analyze_document: Analyzes an input document for relationships between detected...

View source: R/textract_operations.R

textract_analyze_documentR Documentation

Analyzes an input document for relationships between detected items

Description

Analyzes an input document for relationships between detected items.

See https://www.paws-r-sdk.com/docs/textract_analyze_document/ for full documentation.

Usage

textract_analyze_document(
  Document,
  FeatureTypes,
  HumanLoopConfig = NULL,
  QueriesConfig = NULL,
  AdaptersConfig = NULL
)

Arguments

Document

[required] The input document as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Textract operations, you can't pass image bytes. The document must be an image in JPEG, PNG, PDF, or TIFF format.

If you're using an AWS SDK to call Amazon Textract, you might not need to base64-encode image bytes that are passed using the Bytes field.

FeatureTypes

[required] A list of the types of analysis to perform. Add TABLES to the list to return information about the tables that are detected in the input document. Add FORMS to return detected form data. Add SIGNATURES to return the locations of detected signatures. Add LAYOUT to the list to return information about the layout of the document. All lines and words detected in the document are included in the response (including text that isn't related to the value of FeatureTypes).

HumanLoopConfig

Sets the configuration for the human in the loop workflow for analyzing documents.

QueriesConfig

Contains Queries and the alias for those Queries, as determined by the input.

AdaptersConfig

Specifies the adapter to be used when analyzing a document.


paws.machine.learning documentation built on Sept. 12, 2024, 6:23 a.m.