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 DetectLabelsSettings = DetectLabelsSettings' {}
- newDetectLabelsSettings :: DetectLabelsSettings
- detectLabelsSettings_generalLabels :: Lens' DetectLabelsSettings (Maybe GeneralLabelsSettings)
- detectLabelsSettings_imageProperties :: Lens' DetectLabelsSettings (Maybe DetectLabelsImagePropertiesSettings)
Documentation
data DetectLabelsSettings Source #
Settings for the DetectLabels request. Settings can include filters for both GENERAL_LABELS and IMAGE_PROPERTIES. GENERAL_LABELS filters can be inclusive or exclusive and applied to individual labels or label categories. IMAGE_PROPERTIES filters allow specification of a maximum number of dominant colors.
See: newDetectLabelsSettings
smart constructor.
DetectLabelsSettings' | |
|
Instances
newDetectLabelsSettings :: DetectLabelsSettings Source #
Create a value of DetectLabelsSettings
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:generalLabels:DetectLabelsSettings'
, detectLabelsSettings_generalLabels
- Contains the specified filters for GENERAL_LABELS.
$sel:imageProperties:DetectLabelsSettings'
, detectLabelsSettings_imageProperties
- Contains the chosen number of maximum dominant colors in an image.
detectLabelsSettings_generalLabels :: Lens' DetectLabelsSettings (Maybe GeneralLabelsSettings) Source #
Contains the specified filters for GENERAL_LABELS.
detectLabelsSettings_imageProperties :: Lens' DetectLabelsSettings (Maybe DetectLabelsImagePropertiesSettings) Source #
Contains the chosen number of maximum dominant colors in an image.