Class Result
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.iai.v20200303.models.Result
-
public class Result extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Candidate[]getCandidates()Get 识别出的最相似候选人FaceRectgetFaceRect()Get 检测出的人脸框位置LonggetRetCode()Get 检测出的人脸图片状态返回码。0 表示正常。 -1601代表不符合图片质量控制要求,此时Candidate内容为空。voidsetCandidates(Candidate[] Candidates)Set 识别出的最相似候选人voidsetFaceRect(FaceRect FaceRect)Set 检测出的人脸框位置voidsetRetCode(Long RetCode)Set 检测出的人脸图片状态返回码。0 表示正常。 -1601代表不符合图片质量控制要求,此时Candidate内容为空。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
-
Result
public Result()
-
Result
public Result(Result 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
-
getCandidates
public Candidate[] getCandidates()
Get 识别出的最相似候选人- Returns:
- Candidates 识别出的最相似候选人
-
setCandidates
public void setCandidates(Candidate[] Candidates)
Set 识别出的最相似候选人- Parameters:
Candidates- 识别出的最相似候选人
-
getFaceRect
public FaceRect getFaceRect()
Get 检测出的人脸框位置- Returns:
- FaceRect 检测出的人脸框位置
-
setFaceRect
public void setFaceRect(FaceRect FaceRect)
Set 检测出的人脸框位置- Parameters:
FaceRect- 检测出的人脸框位置
-
getRetCode
public Long getRetCode()
Get 检测出的人脸图片状态返回码。0 表示正常。 -1601代表不符合图片质量控制要求,此时Candidate内容为空。- Returns:
- RetCode 检测出的人脸图片状态返回码。0 表示正常。 -1601代表不符合图片质量控制要求,此时Candidate内容为空。
-
setRetCode
public void setRetCode(Long RetCode)
Set 检测出的人脸图片状态返回码。0 表示正常。 -1601代表不符合图片质量控制要求,此时Candidate内容为空。- Parameters:
RetCode- 检测出的人脸图片状态返回码。0 表示正常。 -1601代表不符合图片质量控制要求,此时Candidate内容为空。
-
-