public class UserDefineFaceReviewTemplateInfo extends AbstractModel
skipSign
Constructor and Description |
---|
UserDefineFaceReviewTemplateInfo() |
UserDefineFaceReviewTemplateInfo(UserDefineFaceReviewTemplateInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getBlockConfidence()
Get Confidence score threshold for determining that something should be blocked.
|
String[] |
getLabelSet()
Get Filter labels for custom facial recognition.
|
Long |
getReviewConfidence()
Get Confidence score threshold for human review.
|
String |
getSwitch()
Get Whether to enable custom facial recognition.
|
void |
setBlockConfidence(Long BlockConfidence)
Set Confidence score threshold for determining that something should be blocked.
|
void |
setLabelSet(String[] LabelSet)
Set Filter labels for custom facial recognition.
|
void |
setReviewConfidence(Long ReviewConfidence)
Set Confidence score threshold for human review.
|
void |
setSwitch(String Switch)
Set Whether to enable custom facial recognition.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public UserDefineFaceReviewTemplateInfo()
public UserDefineFaceReviewTemplateInfo(UserDefineFaceReviewTemplateInfo source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- Whether to enable custom facial recognition. Valid values:
public String[] getLabelSet()
public void setLabelSet(String[] LabelSet)
LabelSet
- Filter labels for custom facial recognition. Results containing the specified labels are returned. If no labels are specified, all results are returned. To filter by labels, specify the labels when adding custom facial libraries.
Up to 10 labels are allowed, each containing no more than 16 characters.public Long getBlockConfidence()
public void setBlockConfidence(Long BlockConfidence)
BlockConfidence
- Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `97` will be used by default. Value range: 0-100public Long getReviewConfidence()
public void setReviewConfidence(Long ReviewConfidence)
ReviewConfidence
- Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `95` will be used by default. Value range: 0-100Copyright © 2023. All rights reserved.