Class CreateFaceResponse
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.iai.v20180301.models.CreateFaceResponse
-
public class CreateFaceResponse extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CreateFaceResponse()CreateFaceResponse(CreateFaceResponse 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 StringgetFaceModelVersion()Get 人脸识别所用的算法模型版本。StringgetRequestId()Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。Long[]getRetCode()Get 每张人脸图片添加结果,-1101 代表未检测到人脸,-1102 代表图片解码失败, -1601代表不符合图片质量控制要求, -1604 代表人脸相似度没有超过FaceMatchThreshold。 其他非 0 值代表算法服务异常。 RetCode的顺序和入参中 Images 或 Urls 的顺序一致。String[]getSucFaceIds()Get 加入成功的人脸ID列表LonggetSucFaceNum()Get 加入成功的人脸数量FaceRect[]getSucFaceRects()Get 加入成功的人脸框位置。顺序和入参中 Images 或 Urls 的顺序一致。Long[]getSucIndexes()Get 加入成功的人脸索引。索引顺序和入参中 Images 或 Urls 的顺序一致。 例, Urls 中 有 3 个 url,第二个 url 失败,则 SucIndexes 值为 [0,2] 。voidsetFaceModelVersion(String FaceModelVersion)Set 人脸识别所用的算法模型版本。voidsetRequestId(String RequestId)Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。voidsetRetCode(Long[] RetCode)Set 每张人脸图片添加结果,-1101 代表未检测到人脸,-1102 代表图片解码失败, -1601代表不符合图片质量控制要求, -1604 代表人脸相似度没有超过FaceMatchThreshold。 其他非 0 值代表算法服务异常。 RetCode的顺序和入参中 Images 或 Urls 的顺序一致。voidsetSucFaceIds(String[] SucFaceIds)Set 加入成功的人脸ID列表voidsetSucFaceNum(Long SucFaceNum)Set 加入成功的人脸数量voidsetSucFaceRects(FaceRect[] SucFaceRects)Set 加入成功的人脸框位置。顺序和入参中 Images 或 Urls 的顺序一致。voidsetSucIndexes(Long[] SucIndexes)Set 加入成功的人脸索引。索引顺序和入参中 Images 或 Urls 的顺序一致。 例, Urls 中 有 3 个 url,第二个 url 失败,则 SucIndexes 值为 [0,2] 。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
-
CreateFaceResponse
public CreateFaceResponse()
-
CreateFaceResponse
public CreateFaceResponse(CreateFaceResponse 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
-
getSucFaceNum
public Long getSucFaceNum()
Get 加入成功的人脸数量- Returns:
- SucFaceNum 加入成功的人脸数量
-
setSucFaceNum
public void setSucFaceNum(Long SucFaceNum)
Set 加入成功的人脸数量- Parameters:
SucFaceNum- 加入成功的人脸数量
-
getSucFaceIds
public String[] getSucFaceIds()
Get 加入成功的人脸ID列表- Returns:
- SucFaceIds 加入成功的人脸ID列表
-
setSucFaceIds
public void setSucFaceIds(String[] SucFaceIds)
Set 加入成功的人脸ID列表- Parameters:
SucFaceIds- 加入成功的人脸ID列表
-
getRetCode
public Long[] getRetCode()
Get 每张人脸图片添加结果,-1101 代表未检测到人脸,-1102 代表图片解码失败, -1601代表不符合图片质量控制要求, -1604 代表人脸相似度没有超过FaceMatchThreshold。 其他非 0 值代表算法服务异常。 RetCode的顺序和入参中 Images 或 Urls 的顺序一致。- Returns:
- RetCode 每张人脸图片添加结果,-1101 代表未检测到人脸,-1102 代表图片解码失败, -1601代表不符合图片质量控制要求, -1604 代表人脸相似度没有超过FaceMatchThreshold。 其他非 0 值代表算法服务异常。 RetCode的顺序和入参中 Images 或 Urls 的顺序一致。
-
setRetCode
public void setRetCode(Long[] RetCode)
Set 每张人脸图片添加结果,-1101 代表未检测到人脸,-1102 代表图片解码失败, -1601代表不符合图片质量控制要求, -1604 代表人脸相似度没有超过FaceMatchThreshold。 其他非 0 值代表算法服务异常。 RetCode的顺序和入参中 Images 或 Urls 的顺序一致。- Parameters:
RetCode- 每张人脸图片添加结果,-1101 代表未检测到人脸,-1102 代表图片解码失败, -1601代表不符合图片质量控制要求, -1604 代表人脸相似度没有超过FaceMatchThreshold。 其他非 0 值代表算法服务异常。 RetCode的顺序和入参中 Images 或 Urls 的顺序一致。
-
getSucIndexes
public Long[] getSucIndexes()
Get 加入成功的人脸索引。索引顺序和入参中 Images 或 Urls 的顺序一致。 例, Urls 中 有 3 个 url,第二个 url 失败,则 SucIndexes 值为 [0,2] 。- Returns:
- SucIndexes 加入成功的人脸索引。索引顺序和入参中 Images 或 Urls 的顺序一致。 例, Urls 中 有 3 个 url,第二个 url 失败,则 SucIndexes 值为 [0,2] 。
-
setSucIndexes
public void setSucIndexes(Long[] SucIndexes)
Set 加入成功的人脸索引。索引顺序和入参中 Images 或 Urls 的顺序一致。 例, Urls 中 有 3 个 url,第二个 url 失败,则 SucIndexes 值为 [0,2] 。- Parameters:
SucIndexes- 加入成功的人脸索引。索引顺序和入参中 Images 或 Urls 的顺序一致。 例, Urls 中 有 3 个 url,第二个 url 失败,则 SucIndexes 值为 [0,2] 。
-
getSucFaceRects
public FaceRect[] getSucFaceRects()
Get 加入成功的人脸框位置。顺序和入参中 Images 或 Urls 的顺序一致。- Returns:
- SucFaceRects 加入成功的人脸框位置。顺序和入参中 Images 或 Urls 的顺序一致。
-
setSucFaceRects
public void setSucFaceRects(FaceRect[] SucFaceRects)
Set 加入成功的人脸框位置。顺序和入参中 Images 或 Urls 的顺序一致。- Parameters:
SucFaceRects- 加入成功的人脸框位置。顺序和入参中 Images 或 Urls 的顺序一致。
-
getFaceModelVersion
public String getFaceModelVersion()
Get 人脸识别所用的算法模型版本。- Returns:
- FaceModelVersion 人脸识别所用的算法模型版本。
-
setFaceModelVersion
public void setFaceModelVersion(String FaceModelVersion)
Set 人脸识别所用的算法模型版本。- Parameters:
FaceModelVersion- 人脸识别所用的算法模型版本。
-
getRequestId
public String getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Returns:
- RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
setRequestId
public void setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Parameters:
RequestId- 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
-