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.

interface DetectLabelsSettings {
    GeneralLabels?: GeneralLabelsSettings;
    ImageProperties?: DetectLabelsImagePropertiesSettings;
}

Properties

GeneralLabels?: GeneralLabelsSettings

Contains the specified filters for GENERAL_LABELS.

Contains the chosen number of maximum dominant colors in an image.