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 |
Documentation
Structure containing details about the detected label, including the name, detected instances, parent labels, and level of confidence.
See: newLabel
smart constructor.
Label' | |
|
Instances
Eq Label Source # | |
Read Label Source # | |
Show Label Source # | |
Generic Label Source # | |
NFData Label Source # | |
Defined in Amazonka.Rekognition.Types.Label | |
Hashable Label Source # | |
Defined in Amazonka.Rekognition.Types.Label | |
FromJSON Label Source # | |
type Rep Label Source # | |
Defined in Amazonka.Rekognition.Types.Label type Rep Label = D1 ('MetaData "Label" "Amazonka.Rekognition.Types.Label" "libZSservicesZSamazonka-rekognitionZSamazonka-rekognition" 'False) (C1 ('MetaCons "Label'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "confidence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "parents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Parent]))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "instances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Instance]))))) |
Create a value of Label
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:confidence:Label'
, label_confidence
- Level of confidence.
$sel:parents:Label'
, label_parents
- The parent labels for a label. The response includes all ancestor
labels.
$sel:name:Label'
, label_name
- The name (label) of the object or scene.
$sel:instances:Label'
, label_instances
- If Label
represents an object, Instances
contains the bounding boxes
for each instance of the detected object. Bounding boxes are returned
for common object labels such as people, cars, furniture, apparel or
pets.