libZSservicesZSamazonka-rekognitionZSamazonka-rekognition
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Rekognition.Types.Geometry

Description

 
Synopsis

Documentation

data Geometry Source #

Information about where an object (DetectCustomLabels) or text (DetectText) is located on an image.

See: newGeometry smart constructor.

Constructors

Geometry' 

Fields

Instances

Instances details
Eq Geometry Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Geometry

Read Geometry Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Geometry

Show Geometry Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Geometry

Generic Geometry Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Geometry

Associated Types

type Rep Geometry :: Type -> Type #

Methods

from :: Geometry -> Rep Geometry x #

to :: Rep Geometry x -> Geometry #

NFData Geometry Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Geometry

Methods

rnf :: Geometry -> () #

Hashable Geometry Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Geometry

Methods

hashWithSalt :: Int -> Geometry -> Int #

hash :: Geometry -> Int #

FromJSON Geometry Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Geometry

type Rep Geometry Source # 
Instance details

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.

geometry_polygon :: Lens' Geometry (Maybe [Point]) Source #

Within the bounding box, a fine-grained polygon around the detected item.