| 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.Instance
Description
Synopsis
Documentation
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
| FromJSON Instance Source # | |
| Generic Instance Source # | |
| Read Instance Source # | |
| Show Instance Source # | |
| NFData Instance Source # | |
Defined in Amazonka.Rekognition.Types.Instance | |
| Eq Instance Source # | |
| Hashable Instance Source # | |
Defined in Amazonka.Rekognition.Types.Instance | |
| type Rep Instance Source # | |
Defined in Amazonka.Rekognition.Types.Instance type Rep Instance = D1 ('MetaData "Instance" "Amazonka.Rekognition.Types.Instance" "amazonka-rekognition-2.0-EaCrS9R3rWADqefEZvOx5B" '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)) :*: S1 ('MetaSel ('Just "dominantColors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DominantColor]))))) | |
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.
$sel:dominantColors:Instance', instance_dominantColors - The dominant colors found in an individual instance of a label.
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.
instance_dominantColors :: Lens' Instance (Maybe [DominantColor]) Source #
The dominant colors found in an individual instance of a label.