AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.Rekognition.Model.TextDetection

Namespace: Amazon.Rekognition.Model
Assembly: AWSSDK.Rekognition.dll
Version: 3.x.y.z

Syntax

C#
public class TextDetection

The TextDetection type exposes the following members

Constructors

NameDescription
Public Method TextDetection()

Properties

NameTypeDescription
Public Property 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.

Public Property DetectedText System.String

Gets and sets the property DetectedText.

The word or line of text recognized by Amazon Rekognition.

Public Property 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.

Public Property 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 DetectText.

Public Property ParentId System.Int32

Gets and sets the property ParentId.

The Parent identifier for the detected text identified by the value of ID. If the type of detected text is LINE, the value of ParentId is Null.

Public Property Type Amazon.Rekognition.TextTypes

Gets and sets the property Type.

The type of text that was detected.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5