Textract class

Amazon Textract detects and analyzes text in documents and converts it into machine-readable text. This is the API reference documentation for Amazon Textract.

Constructors

Textract({required String region, AwsClientCredentials? credentials, AwsClientCredentialsProvider? credentialsProvider, Client? client, String? endpointUrl})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

analyzeDocument({required Document document, required List<FeatureType> featureTypes, HumanLoopConfig? humanLoopConfig}) Future<AnalyzeDocumentResponse>
Analyzes an input document for relationships between detected items.
close() → void
Closes the internal HTTP client if none was provided at creation. If a client was passed as a constructor argument, this becomes a noop.
detectDocumentText({required Document document}) Future<DetectDocumentTextResponse>
Detects text in the input document. Amazon Textract can detect lines of text and the words that make up a line of text. The input document must be an image in JPEG or PNG format. DetectDocumentText returns the detected text in an array of Block objects.
getDocumentAnalysis({required String jobId, int? maxResults, String? nextToken}) Future<GetDocumentAnalysisResponse>
Gets the results for an Amazon Textract asynchronous operation that analyzes text in a document.
getDocumentTextDetection({required String jobId, int? maxResults, String? nextToken}) Future<GetDocumentTextDetectionResponse>
Gets the results for an Amazon Textract asynchronous operation that detects text in a document. Amazon Textract can detect lines of text and the words that make up a line of text.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startDocumentAnalysis({required DocumentLocation documentLocation, required List<FeatureType> featureTypes, String? clientRequestToken, String? jobTag, String? kMSKeyId, NotificationChannel? notificationChannel, OutputConfig? outputConfig}) Future<StartDocumentAnalysisResponse>
Starts the asynchronous analysis of an input document for relationships between detected items such as key-value pairs, tables, and selection elements.
startDocumentTextDetection({required DocumentLocation documentLocation, String? clientRequestToken, String? jobTag, String? kMSKeyId, NotificationChannel? notificationChannel, OutputConfig? outputConfig}) Future<StartDocumentTextDetectionResponse>
Starts the asynchronous detection of text in a document. Amazon Textract can detect lines of text and the words that make up a line of text.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited