Values.DetectLabelsSettingsSourceSettings 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.
type nonrec t = {generalLabels : GeneralLabelsSettings.t option;Contains the specified filters for GENERAL_LABELS.
*)imageProperties : DetectLabelsImagePropertiesSettings.t option;Contains the chosen number of maximum dominant colors in an image.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `Integer of DetectLabelsMaxDominantColors.t
| `List of [> `String of GeneralLabelsFilterValue.t ] list ])
list ])
list ]