You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Rekognition::Types::Point
 Inherits:

Struct
 Object
 Struct
 Aws::Rekognition::Types::Point
 Defined in:
 (unknown)
Overview
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 finegrained polygon around a detected item. For more information, see Geometry in the Amazon Rekognition Developer Guide.
Instance Attribute Summary collapse

#x ⇒ Float
The value of the X coordinate for a point on a
Polygon
. 
#y ⇒ Float
The value of the Y coordinate for a point on a
Polygon
.
Instance Attribute Details
#x ⇒ Float
The value of the X coordinate for a point on a Polygon
.
#y ⇒ Float
The value of the Y coordinate for a point on a Polygon
.