| 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 |
Amazonka.Rekognition.Types.Geometry
Description
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.
Constructors
| Geometry' | |
Fields
| |
Instances
| FromJSON Geometry Source # | |
| Generic Geometry Source # | |
| Read Geometry Source # | |
| Show Geometry Source # | |
| NFData Geometry Source # | |
Defined in Amazonka.Rekognition.Types.Geometry | |
| Eq Geometry Source # | |
| Hashable Geometry Source # | |
Defined in Amazonka.Rekognition.Types.Geometry | |
| type Rep Geometry Source # | |
Defined in Amazonka.Rekognition.Types.Geometry type Rep Geometry = D1 ('MetaData "Geometry" "Amazonka.Rekognition.Types.Geometry" "amazonka-rekognition-2.0-EaCrS9R3rWADqefEZvOx5B" '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.