NAME

Paws::Rekognition::Point

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::Point object:

$service_obj->Method(Att1 => { X => $value, ..., Y => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::Rekognition::Point object:

$result = $service_obj->Method(...);
$result->Att1->X

DESCRIPTION

The X and Y coordinates of a point on an image. The X and Y values returned are ratios of the overall image size. For example, if the input image is 700x200 and the operation returns X=0.5 and Y=0.25, then the point is at the (350,50) pixel coordinate on the image.

An array of Point objects, Polygon, is returned by DetectText and by DetectCustomLabels. Polygon represents a fine-grained polygon around a detected item. For more information, see Geometry in the Amazon Rekognition Developer Guide.

ATTRIBUTES

X => Num

The value of the X coordinate for a point on a Polygon.

Y => Num

The value of the Y coordinate for a point on a Polygon.

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