Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data DetectLabelsImageForeground = DetectLabelsImageForeground' {}
- newDetectLabelsImageForeground :: DetectLabelsImageForeground
- detectLabelsImageForeground_dominantColors :: Lens' DetectLabelsImageForeground (Maybe [DominantColor])
- detectLabelsImageForeground_quality :: Lens' DetectLabelsImageForeground (Maybe DetectLabelsImageQuality)
Documentation
data DetectLabelsImageForeground Source #
The foreground of the image with regard to image quality and dominant colors.
See: newDetectLabelsImageForeground
smart constructor.
DetectLabelsImageForeground' | |
|
Instances
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.