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

Description

 
Synopsis

Documentation

data DetectLabelsImageForeground Source #

The foreground of the image with regard to image quality and dominant colors.

See: newDetectLabelsImageForeground smart constructor.

Constructors

DetectLabelsImageForeground' 

Fields

  • dominantColors :: Maybe [DominantColor]

    The dominant colors found in the foreground of an image, defined with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).

  • quality :: Maybe DetectLabelsImageQuality

    The quality of the image foreground as defined by brightness and sharpness.

Instances

Instances details
FromJSON DetectLabelsImageForeground Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DetectLabelsImageForeground

Generic DetectLabelsImageForeground Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DetectLabelsImageForeground

Associated Types

type Rep DetectLabelsImageForeground :: Type -> Type #

Read DetectLabelsImageForeground Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DetectLabelsImageForeground

Show DetectLabelsImageForeground Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DetectLabelsImageForeground

NFData DetectLabelsImageForeground Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DetectLabelsImageForeground

Eq DetectLabelsImageForeground Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DetectLabelsImageForeground

Hashable DetectLabelsImageForeground Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DetectLabelsImageForeground

type Rep DetectLabelsImageForeground Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DetectLabelsImageForeground

type Rep DetectLabelsImageForeground = D1 ('MetaData "DetectLabelsImageForeground" "Amazonka.Rekognition.Types.DetectLabelsImageForeground" "amazonka-rekognition-2.0-EaCrS9R3rWADqefEZvOx5B" 'False) (C1 ('MetaCons "DetectLabelsImageForeground'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dominantColors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DominantColor])) :*: S1 ('MetaSel ('Just "quality") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DetectLabelsImageQuality))))

newDetectLabelsImageForeground :: DetectLabelsImageForeground Source #

Create a value of DetectLabelsImageForeground 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:dominantColors:DetectLabelsImageForeground', detectLabelsImageForeground_dominantColors - The dominant colors found in the foreground of an image, defined with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).

$sel:quality:DetectLabelsImageForeground', detectLabelsImageForeground_quality - The quality of the image foreground as defined by brightness and sharpness.

detectLabelsImageForeground_dominantColors :: Lens' DetectLabelsImageForeground (Maybe [DominantColor]) Source #

The dominant colors found in the foreground of an image, defined with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).

detectLabelsImageForeground_quality :: Lens' DetectLabelsImageForeground (Maybe DetectLabelsImageQuality) Source #

The quality of the image foreground as defined by brightness and sharpness.