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 DetectLabelsImageProperties = DetectLabelsImageProperties' {}
- newDetectLabelsImageProperties :: DetectLabelsImageProperties
- detectLabelsImageProperties_background :: Lens' DetectLabelsImageProperties (Maybe DetectLabelsImageBackground)
- detectLabelsImageProperties_dominantColors :: Lens' DetectLabelsImageProperties (Maybe [DominantColor])
- detectLabelsImageProperties_foreground :: Lens' DetectLabelsImageProperties (Maybe DetectLabelsImageForeground)
- detectLabelsImageProperties_quality :: Lens' DetectLabelsImageProperties (Maybe DetectLabelsImageQuality)
Documentation
data DetectLabelsImageProperties Source #
Information about the quality and dominant colors of an input image. Quality and color information is returned for the entire image, foreground, and background.
See: newDetectLabelsImageProperties
smart constructor.
DetectLabelsImageProperties' | |
|
Instances
newDetectLabelsImageProperties :: DetectLabelsImageProperties Source #
Create a value of DetectLabelsImageProperties
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:background:DetectLabelsImageProperties'
, detectLabelsImageProperties_background
- Information about the properties of an image’s background, including the
background’s quality and dominant colors, including the quality and
dominant colors of the image.
DetectLabelsImageProperties
, detectLabelsImageProperties_dominantColors
- Information about the dominant colors found in an image, described with
RGB values, CSS color name, simplified color name, and PixelPercentage
(the percentage of image pixels that have a particular color).
$sel:foreground:DetectLabelsImageProperties'
, detectLabelsImageProperties_foreground
- Information about the properties of an image’s foreground, including the
foreground’s quality and dominant colors, including the quality and
dominant colors of the image.
DetectLabelsImageProperties
, detectLabelsImageProperties_quality
- Information about the quality of the image foreground as defined by
brightness, sharpness, and contrast. The higher the value the greater
the brightness, sharpness, and contrast respectively.
detectLabelsImageProperties_background :: Lens' DetectLabelsImageProperties (Maybe DetectLabelsImageBackground) Source #
Information about the properties of an image’s background, including the background’s quality and dominant colors, including the quality and dominant colors of the image.
detectLabelsImageProperties_dominantColors :: Lens' DetectLabelsImageProperties (Maybe [DominantColor]) Source #
Information about the dominant colors found in an image, described with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).
detectLabelsImageProperties_foreground :: Lens' DetectLabelsImageProperties (Maybe DetectLabelsImageForeground) Source #
Information about the properties of an image’s foreground, including the foreground’s quality and dominant colors, including the quality and dominant colors of the image.
detectLabelsImageProperties_quality :: Lens' DetectLabelsImageProperties (Maybe DetectLabelsImageQuality) Source #
Information about the quality of the image foreground as defined by brightness, sharpness, and contrast. The higher the value the greater the brightness, sharpness, and contrast respectively.