Contains filters for the object labels returned by DetectLabels. Filters can be inclusive, exclusive, or a combination of both and can be applied to individual labels or entire label categories. To see a list of label categories, see Detecting Labels.

interface GeneralLabelsSettings {
    LabelCategoryExclusionFilters?: string[];
    LabelCategoryInclusionFilters?: string[];
    LabelExclusionFilters?: string[];
    LabelInclusionFilters?: string[];
}

Properties

LabelCategoryExclusionFilters?: string[]

The label categories that should be excluded from the return from DetectLabels.

LabelCategoryInclusionFilters?: string[]

The label categories that should be included in the return from DetectLabels.

LabelExclusionFilters?: string[]

The labels that should be excluded from the return from DetectLabels.

LabelInclusionFilters?: string[]

The labels that should be included in the return from DetectLabels.