Class TerrorismResult
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ticm.v20181127.models.TerrorismResult
-
public class TerrorismResult extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description TerrorismResult()TerrorismResult(TerrorismResult 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAdvancedInfo()Get 暴恐识别返回的详细标签后期开放。LonggetCode()Get 该识别场景的错误码: 0表示成功, -1表示系统错误, -2表示引擎错误, -1400表示图片解码失败。LonggetConfidence()Get 图像涉恐的分数,0-100之间,分数越高涉恐几率越大。 Type为LABEL时: 0到86,Suggestion建议为PASS 86到91,Suggestion建议为REVIEW 91到100,Suggestion建议为BLOCK Type为FACE时: 0到55,Suggestion建议为PASS 55到60,Suggestion建议为REVIEW 60到100,Suggestion建议为BLOCKFaceResult[]getFaceResults()Get Type取值为‘FACE’时,人脸识别的结果列表。基于图片中实际检测到的人脸数,返回数组最大值不超过5个。StringgetMsg()Get 错误码描述信息。StringgetSuggestion()Get 识别场景的审核结论: PASS:正常 REVIEW:疑似 BLOCK:违规StringgetType()Get 取值'LABEL' 或‘FACE’,LABEL表示结论和置信度来自标签分类,FACE表示结论和置信度来自人脸识别。voidsetAdvancedInfo(String AdvancedInfo)Set 暴恐识别返回的详细标签后期开放。voidsetCode(Long Code)Set 该识别场景的错误码: 0表示成功, -1表示系统错误, -2表示引擎错误, -1400表示图片解码失败。voidsetConfidence(Long Confidence)Set 图像涉恐的分数,0-100之间,分数越高涉恐几率越大。 Type为LABEL时: 0到86,Suggestion建议为PASS 86到91,Suggestion建议为REVIEW 91到100,Suggestion建议为BLOCK Type为FACE时: 0到55,Suggestion建议为PASS 55到60,Suggestion建议为REVIEW 60到100,Suggestion建议为BLOCKvoidsetFaceResults(FaceResult[] FaceResults)Set Type取值为‘FACE’时,人脸识别的结果列表。基于图片中实际检测到的人脸数,返回数组最大值不超过5个。voidsetMsg(String Msg)Set 错误码描述信息。voidsetSuggestion(String Suggestion)Set 识别场景的审核结论: PASS:正常 REVIEW:疑似 BLOCK:违规voidsetType(String Type)Set 取值'LABEL' 或‘FACE’,LABEL表示结论和置信度来自标签分类,FACE表示结论和置信度来自人脸识别。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
TerrorismResult
public TerrorismResult()
-
TerrorismResult
public TerrorismResult(TerrorismResult 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.
-
-
Method Detail
-
getCode
public Long getCode()
Get 该识别场景的错误码: 0表示成功, -1表示系统错误, -2表示引擎错误, -1400表示图片解码失败。- Returns:
- Code 该识别场景的错误码: 0表示成功, -1表示系统错误, -2表示引擎错误, -1400表示图片解码失败。
-
setCode
public void setCode(Long Code)
Set 该识别场景的错误码: 0表示成功, -1表示系统错误, -2表示引擎错误, -1400表示图片解码失败。- Parameters:
Code- 该识别场景的错误码: 0表示成功, -1表示系统错误, -2表示引擎错误, -1400表示图片解码失败。
-
getMsg
public String getMsg()
Get 错误码描述信息。- Returns:
- Msg 错误码描述信息。
-
setMsg
public void setMsg(String Msg)
Set 错误码描述信息。- Parameters:
Msg- 错误码描述信息。
-
getSuggestion
public String getSuggestion()
Get 识别场景的审核结论: PASS:正常 REVIEW:疑似 BLOCK:违规- Returns:
- Suggestion 识别场景的审核结论: PASS:正常 REVIEW:疑似 BLOCK:违规
-
setSuggestion
public void setSuggestion(String Suggestion)
Set 识别场景的审核结论: PASS:正常 REVIEW:疑似 BLOCK:违规- Parameters:
Suggestion- 识别场景的审核结论: PASS:正常 REVIEW:疑似 BLOCK:违规
-
getConfidence
public Long getConfidence()
Get 图像涉恐的分数,0-100之间,分数越高涉恐几率越大。 Type为LABEL时: 0到86,Suggestion建议为PASS 86到91,Suggestion建议为REVIEW 91到100,Suggestion建议为BLOCK Type为FACE时: 0到55,Suggestion建议为PASS 55到60,Suggestion建议为REVIEW 60到100,Suggestion建议为BLOCK- Returns:
- Confidence 图像涉恐的分数,0-100之间,分数越高涉恐几率越大。 Type为LABEL时: 0到86,Suggestion建议为PASS 86到91,Suggestion建议为REVIEW 91到100,Suggestion建议为BLOCK Type为FACE时: 0到55,Suggestion建议为PASS 55到60,Suggestion建议为REVIEW 60到100,Suggestion建议为BLOCK
-
setConfidence
public void setConfidence(Long Confidence)
Set 图像涉恐的分数,0-100之间,分数越高涉恐几率越大。 Type为LABEL时: 0到86,Suggestion建议为PASS 86到91,Suggestion建议为REVIEW 91到100,Suggestion建议为BLOCK Type为FACE时: 0到55,Suggestion建议为PASS 55到60,Suggestion建议为REVIEW 60到100,Suggestion建议为BLOCK- Parameters:
Confidence- 图像涉恐的分数,0-100之间,分数越高涉恐几率越大。 Type为LABEL时: 0到86,Suggestion建议为PASS 86到91,Suggestion建议为REVIEW 91到100,Suggestion建议为BLOCK Type为FACE时: 0到55,Suggestion建议为PASS 55到60,Suggestion建议为REVIEW 60到100,Suggestion建议为BLOCK
-
getFaceResults
public FaceResult[] getFaceResults()
Get Type取值为‘FACE’时,人脸识别的结果列表。基于图片中实际检测到的人脸数,返回数组最大值不超过5个。- Returns:
- FaceResults Type取值为‘FACE’时,人脸识别的结果列表。基于图片中实际检测到的人脸数,返回数组最大值不超过5个。
-
setFaceResults
public void setFaceResults(FaceResult[] FaceResults)
Set Type取值为‘FACE’时,人脸识别的结果列表。基于图片中实际检测到的人脸数,返回数组最大值不超过5个。- Parameters:
FaceResults- Type取值为‘FACE’时,人脸识别的结果列表。基于图片中实际检测到的人脸数,返回数组最大值不超过5个。
-
getAdvancedInfo
public String getAdvancedInfo()
Get 暴恐识别返回的详细标签后期开放。- Returns:
- AdvancedInfo 暴恐识别返回的详细标签后期开放。
-
setAdvancedInfo
public void setAdvancedInfo(String AdvancedInfo)
Set 暴恐识别返回的详细标签后期开放。- Parameters:
AdvancedInfo- 暴恐识别返回的详细标签后期开放。
-
getType
public String getType()
Get 取值'LABEL' 或‘FACE’,LABEL表示结论和置信度来自标签分类,FACE表示结论和置信度来自人脸识别。- Returns:
- Type 取值'LABEL' 或‘FACE’,LABEL表示结论和置信度来自标签分类,FACE表示结论和置信度来自人脸识别。
-
setType
public void setType(String Type)
Set 取值'LABEL' 或‘FACE’,LABEL表示结论和置信度来自标签分类,FACE表示结论和置信度来自人脸识别。- Parameters:
Type- 取值'LABEL' 或‘FACE’,LABEL表示结论和置信度来自标签分类,FACE表示结论和置信度来自人脸识别。
-
-