TextDetection
import type { TextDetection } from "https://aws-api.deno.dev/v0.4/services/rekognition.ts?docs=full";
Information about a word or line of text detected by "DetectText".
The DetectedText
field contains the text that Amazon Rekognition detected in the image.
Every word and line has an identifier (Id
).
Each word belongs to a line and has a parent identifier (ParentId
) that identifies the line of text in which the word appears.
The word Id
is also an index for the word within a line of words.
For more information, see Detecting text in the Amazon Rekognition Developer Guide.
interface TextDetection {
Confidence?: number | null;
DetectedText?: string | null;
Geometry?: Geometry | null;
Id?: number | null;
ParentId?: number | null;
Type?: TextTypes | null;
}§Properties
§
Confidence?: number | null
[src]The confidence that Amazon Rekognition has in the accuracy of the detected text and the accuracy of the geometry points around the detected text.
§
Id?: number | null
[src]The identifier for the detected text.
The identifier is only unique for a single call to DetectText
.