NAME
Paws::Rekognition::TextDetection
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::Rekognition::TextDetection object:
$service_obj->Method(Att1 => { Confidence => $value, ..., Type => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::Rekognition::TextDetection object:
$result = $service_obj->Method(...);
$result->Att1->Confidence
DESCRIPTION
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.
ATTRIBUTES
Confidence => Num
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 => Str
The word or line of text recognized by Amazon Rekognition.
Geometry => Paws::Rekognition::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 => Int
The identifier for the detected text. The identifier is only unique for a single call to DetectText
.
ParentId => Int
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
.
Type => Str
The type of text that was detected.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::Rekognition
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues