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
Documentation
An instance of a label returned by Amazon Rekognition Image (DetectLabels) or by Amazon Rekognition Video (GetLabelDetection).
See: newInstance
smart constructor.
Instance' | |
|
Instances
Eq Instance Source # | |
Read Instance Source # | |
Show Instance Source # | |
Generic Instance Source # | |
NFData Instance Source # | |
Defined in Amazonka.Rekognition.Types.Instance | |
Hashable Instance Source # | |
Defined in Amazonka.Rekognition.Types.Instance | |
FromJSON Instance Source # | |
type Rep Instance Source # | |
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.