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.Instance

Description

 
Synopsis

Documentation

data Instance Source #

An instance of a label returned by Amazon Rekognition Image (DetectLabels) or by Amazon Rekognition Video (GetLabelDetection).

See: newInstance smart constructor.

Constructors

Instance' 

Fields

Instances

Instances details
Eq Instance Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Instance

Read Instance Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Instance

Show Instance Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Instance

Generic Instance Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Instance

Associated Types

type Rep Instance :: Type -> Type #

Methods

from :: Instance -> Rep Instance x #

to :: Rep Instance x -> Instance #

NFData Instance Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Instance

Methods

rnf :: Instance -> () #

Hashable Instance Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Instance

Methods

hashWithSalt :: Int -> Instance -> Int #

hash :: Instance -> Int #

FromJSON Instance Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Instance

type Rep Instance Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Instance

type Rep Instance = D1 ('MetaData "Instance" "Amazonka.Rekognition.Types.Instance" "libZSservicesZSamazonka-rekognitionZSamazonka-rekognition" 'False) (C1 ('MetaCons "Instance'" 'PrefixI 'True) (S1 ('MetaSel ('Just "boundingBox") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BoundingBox)) :*: S1 ('MetaSel ('Just "confidence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))

newInstance :: Instance Source #

Create a value of Instance 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:Instance', instance_boundingBox - The position of the label instance on the image.

$sel:confidence:Instance', instance_confidence - The confidence that Amazon Rekognition has in the accuracy of the bounding box.

instance_boundingBox :: Lens' Instance (Maybe BoundingBox) Source #

The position of the label instance on the image.

instance_confidence :: Lens' Instance (Maybe Double) Source #

The confidence that Amazon Rekognition has in the accuracy of the bounding box.