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 DetectLabelsImageBackground = DetectLabelsImageBackground' {}
- newDetectLabelsImageBackground :: DetectLabelsImageBackground
- detectLabelsImageBackground_dominantColors :: Lens' DetectLabelsImageBackground (Maybe [DominantColor])
- detectLabelsImageBackground_quality :: Lens' DetectLabelsImageBackground (Maybe DetectLabelsImageQuality)
Documentation
data DetectLabelsImageBackground Source #
The background of the image with regard to image quality and dominant colors.
See: newDetectLabelsImageBackground
smart constructor.
DetectLabelsImageBackground' | |
|
Instances
newDetectLabelsImageBackground :: DetectLabelsImageBackground Source #
Create a value of DetectLabelsImageBackground
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:DetectLabelsImageBackground'
, detectLabelsImageBackground_dominantColors
- The dominant colors found in the background 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:DetectLabelsImageBackground'
, detectLabelsImageBackground_quality
- The quality of the image background as defined by brightness and
sharpness.
detectLabelsImageBackground_dominantColors :: Lens' DetectLabelsImageBackground (Maybe [DominantColor]) Source #
The dominant colors found in the background 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).
detectLabelsImageBackground_quality :: Lens' DetectLabelsImageBackground (Maybe DetectLabelsImageQuality) Source #
The quality of the image background as defined by brightness and sharpness.