Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Geometry = Geometry' {
- boundingBox :: Maybe BoundingBox
- polygon :: Maybe [Point]
- newGeometry :: Geometry
- geometry_boundingBox :: Lens' Geometry (Maybe BoundingBox)
- geometry_polygon :: Lens' Geometry (Maybe [Point])
Documentation
Information about where an object (DetectCustomLabels) or text (DetectText) is located on an image.
See: newGeometry
smart constructor.
Geometry' | |
|
Instances
Eq Geometry Source # | |
Read Geometry Source # | |
Show Geometry Source # | |
Generic Geometry Source # | |
NFData Geometry Source # | |
Defined in Amazonka.Rekognition.Types.Geometry | |
Hashable Geometry Source # | |
Defined in Amazonka.Rekognition.Types.Geometry | |
FromJSON Geometry Source # | |
type Rep Geometry Source # | |
Defined in Amazonka.Rekognition.Types.Geometry type Rep Geometry = D1 ('MetaData "Geometry" "Amazonka.Rekognition.Types.Geometry" "libZSservicesZSamazonka-rekognitionZSamazonka-rekognition" 'False) (C1 ('MetaCons "Geometry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "boundingBox") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BoundingBox)) :*: S1 ('MetaSel ('Just "polygon") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Point])))) |
newGeometry :: Geometry Source #
Create a value of Geometry
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:boundingBox:Geometry'
, geometry_boundingBox
- An axis-aligned coarse representation of the detected item's location
on the image.
$sel:polygon:Geometry'
, geometry_polygon
- Within the bounding box, a fine-grained polygon around the detected
item.
geometry_boundingBox :: Lens' Geometry (Maybe BoundingBox) Source #
An axis-aligned coarse representation of the detected item's location on the image.