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

Description

 
Synopsis

Documentation

data CustomLabel Source #

A custom label detected in an image by a call to DetectCustomLabels.

See: newCustomLabel smart constructor.

Constructors

CustomLabel' 

Fields

  • confidence :: Maybe Double

    The confidence that the model has in the detection of the custom label. The range is 0-100. A higher value indicates a higher confidence.

  • name :: Maybe Text

    The name of the custom label.

  • geometry :: Maybe Geometry

    The location of the detected object on the image that corresponds to the custom label. Includes an axis aligned coarse bounding box surrounding the object and a finer grain polygon for more accurate spatial information.

Instances

Instances details
Eq CustomLabel Source # 
Instance details

Defined in Amazonka.Rekognition.Types.CustomLabel

Read CustomLabel Source # 
Instance details

Defined in Amazonka.Rekognition.Types.CustomLabel

Show CustomLabel Source # 
Instance details

Defined in Amazonka.Rekognition.Types.CustomLabel

Generic CustomLabel Source # 
Instance details

Defined in Amazonka.Rekognition.Types.CustomLabel

Associated Types

type Rep CustomLabel :: Type -> Type #

NFData CustomLabel Source # 
Instance details

Defined in Amazonka.Rekognition.Types.CustomLabel

Methods

rnf :: CustomLabel -> () #

Hashable CustomLabel Source # 
Instance details

Defined in Amazonka.Rekognition.Types.CustomLabel

FromJSON CustomLabel Source # 
Instance details

Defined in Amazonka.Rekognition.Types.CustomLabel

type Rep CustomLabel Source # 
Instance details

Defined in Amazonka.Rekognition.Types.CustomLabel

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

newCustomLabel :: CustomLabel Source #

Create a value of CustomLabel 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:CustomLabel', customLabel_confidence - The confidence that the model has in the detection of the custom label. The range is 0-100. A higher value indicates a higher confidence.

$sel:name:CustomLabel', customLabel_name - The name of the custom label.

$sel:geometry:CustomLabel', customLabel_geometry - The location of the detected object on the image that corresponds to the custom label. Includes an axis aligned coarse bounding box surrounding the object and a finer grain polygon for more accurate spatial information.

customLabel_confidence :: Lens' CustomLabel (Maybe Double) Source #

The confidence that the model has in the detection of the custom label. The range is 0-100. A higher value indicates a higher confidence.

customLabel_name :: Lens' CustomLabel (Maybe Text) Source #

The name of the custom label.

customLabel_geometry :: Lens' CustomLabel (Maybe Geometry) Source #

The location of the detected object on the image that corresponds to the custom label. Includes an axis aligned coarse bounding box surrounding the object and a finer grain polygon for more accurate spatial information.