Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
The X and Y coordinates of a point on an image or video frame. The X and Y values are ratios of the overall image size or video resolution. For example, if an input image is 700x200 and the values are 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 makes up a Polygon
. A 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.
See: newPoint
smart constructor.
Instances
FromJSON Point Source # | |
ToJSON Point Source # | |
Defined in Amazonka.Rekognition.Types.Point | |
Generic Point Source # | |
Read Point Source # | |
Show Point Source # | |
NFData Point Source # | |
Defined in Amazonka.Rekognition.Types.Point | |
Eq Point Source # | |
Hashable Point Source # | |
Defined in Amazonka.Rekognition.Types.Point | |
type Rep Point Source # | |
Defined in Amazonka.Rekognition.Types.Point type Rep Point = D1 ('MetaData "Point" "Amazonka.Rekognition.Types.Point" "amazonka-rekognition-2.0-EaCrS9R3rWADqefEZvOx5B" 'False) (C1 ('MetaCons "Point'" 'PrefixI 'True) (S1 ('MetaSel ('Just "x") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "y") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))) |
Create a value of Point
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:x:Point'
, point_x
- The value of the X coordinate for a point on a Polygon
.
$sel:y:Point'
, point_y
- The value of the Y coordinate for a point on a Polygon
.