amazonka-rekognition-2.0: Amazon Rekognition SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Rekognition.Types.Label

Description

 
Synopsis

Documentation

data Label Source #

Structure containing details about the detected label, including the name, detected instances, parent labels, and level of confidence.

See: newLabel smart constructor.

Constructors

Label' 

Fields

Instances

Instances details
FromJSON Label Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Label

Generic Label Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Label

Associated Types

type Rep Label :: Type -> Type #

Methods

from :: Label -> Rep Label x #

to :: Rep Label x -> Label #

Read Label Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Label

Show Label Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Label

Methods

showsPrec :: Int -> Label -> ShowS #

show :: Label -> String #

showList :: [Label] -> ShowS #

NFData Label Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Label

Methods

rnf :: Label -> () #

Eq Label Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Label

Methods

(==) :: Label -> Label -> Bool #

(/=) :: Label -> Label -> Bool #

Hashable Label Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Label

Methods

hashWithSalt :: Int -> Label -> Int #

hash :: Label -> Int #

type Rep Label Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Label

newLabel :: Label Source #

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:aliases:Label', label_aliases - A list of potential aliases for a given label.

$sel:categories:Label', label_categories - A list of the categories associated with a given label.

Label, label_confidence - Level of confidence.

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

Label, label_name - The name (label) of the object or scene.

$sel:parents:Label', label_parents - The parent labels for a label. The response includes all ancestor labels.

label_aliases :: Lens' Label (Maybe [LabelAlias]) Source #

A list of potential aliases for a given label.

label_categories :: Lens' Label (Maybe [LabelCategory]) Source #

A list of the categories associated with a given label.

label_confidence :: Lens' Label (Maybe Double) Source #

Level of confidence.

label_instances :: Lens' Label (Maybe [Instance]) Source #

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.

label_name :: Lens' Label (Maybe Text) Source #

The name (label) of the object or scene.

label_parents :: Lens' Label (Maybe [Parent]) Source #

The parent labels for a label. The response includes all ancestor labels.