AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
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.
Namespace: Amazon.Rekognition.Model
Assembly: AWSSDK.Rekognition.dll
Version: 3.x.y.z
public class TextDetection
The TextDetection type exposes the following members
Name | Description | |
---|---|---|
TextDetection() |
Name | Type | Description | |
---|---|---|---|
Confidence | System.Single |
Gets and sets the property Confidence. The confidence that Amazon Rekognition has in the accuracy of the detected text and the accuracy of the geometry points around the detected text. |
|
DetectedText | System.String |
Gets and sets the property DetectedText. The word or line of text recognized by Amazon Rekognition. |
|
Geometry | Amazon.Rekognition.Model.Geometry |
Gets and sets the property Geometry. The location of the detected text on the image. Includes an axis aligned coarse bounding box surrounding the text and a finer grain polygon for more accurate spatial information. |
|
Id | System.Int32 |
Gets and sets the property Id.
The identifier for the detected text. The identifier is only unique for a single call
to |
|
ParentId | System.Int32 |
Gets and sets the property ParentId.
The Parent identifier for the detected text identified by the value of |
|
Type | Amazon.Rekognition.TextTypes |
Gets and sets the property Type. The type of text that was detected. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5