public class ImageDetectionResultSimpleDetail extends Object
| Constructor and Description |
|---|
ImageDetectionResultSimpleDetail() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Float |
getConfidence()
置信度,取值范围 0-1。
|
String |
getLabel()
每个检测结果的标签化说明: terrorism:label为对应的涉政暴恐元素信息。 - 涉政暴恐场景当前支持label列表如下: - normal:正常 - knife:刀 - gun:枪 - fire:火灾 - bloody :血腥 - terrorist:暴恐组织及标志 - fascist:法西斯组织及标志 - cult:邪教组织及标志 - negative_politics :涉政负面组织及标志 - negative_political_events:涉政负面事件及标志 - special_characters :特殊文字 - kidnap:绑架 - corpse:尸体 - riot:暴乱事件 - parade :游行示威 - sensitive_landmarks:敏感地标 - military_weapon:军事武器 - army:警察部队 - positive_politics:涉政正面组织及标志 - crowd:人群聚集 porn:label为对应的涉黄分类(涉黄、性感等)信息。 - 鉴黄场景当前支持label列表如下: - normal:正常 - porn:色情 - sexy:性感
|
int |
hashCode() |
void |
setConfidence(Float confidence) |
void |
setLabel(String label) |
String |
toString() |
ImageDetectionResultSimpleDetail |
withConfidence(Float confidence) |
ImageDetectionResultSimpleDetail |
withLabel(String label) |
public ImageDetectionResultSimpleDetail withConfidence(Float confidence)
public Float getConfidence()
public void setConfidence(Float confidence)
public ImageDetectionResultSimpleDetail withLabel(String label)
public String getLabel()
public void setLabel(String label)
Copyright © 2022. All rights reserved.