Class AiSampleFaceOperation
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.mps.v20190612.models.AiSampleFaceOperation
-
public class AiSampleFaceOperation extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description AiSampleFaceOperation()AiSampleFaceOperation(AiSampleFaceOperation 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 String[]getFaceContents()Get 人脸图片 [Base64](https://tools.ietf.org/html/rfc4648) 编码后的字符串集合。 当 Type为add 或 reset 时,该字段必填; 数组长度限制:5 张图片。 注意:图片必须是单人像正面人脸较清晰的照片,像素不低于 200*200。String[]getFaceIds()Get 人脸 ID 集合,当 Type为delete 时,该字段必填。StringgetType()Get 操作类型,可选值:add(添加)、delete(删除)、reset(重置)。重置操作将清空该人物已有人脸数据,并添加 FaceContents 指定人脸数据。voidsetFaceContents(String[] FaceContents)Set 人脸图片 [Base64](https://tools.ietf.org/html/rfc4648) 编码后的字符串集合。 当 Type为add 或 reset 时,该字段必填; 数组长度限制:5 张图片。 注意:图片必须是单人像正面人脸较清晰的照片,像素不低于 200*200。voidsetFaceIds(String[] FaceIds)Set 人脸 ID 集合,当 Type为delete 时,该字段必填。voidsetType(String Type)Set 操作类型,可选值:add(添加)、delete(删除)、reset(重置)。重置操作将清空该人物已有人脸数据,并添加 FaceContents 指定人脸数据。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
-
AiSampleFaceOperation
public AiSampleFaceOperation()
-
AiSampleFaceOperation
public AiSampleFaceOperation(AiSampleFaceOperation 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
-
getType
public String getType()
Get 操作类型,可选值:add(添加)、delete(删除)、reset(重置)。重置操作将清空该人物已有人脸数据,并添加 FaceContents 指定人脸数据。- Returns:
- Type 操作类型,可选值:add(添加)、delete(删除)、reset(重置)。重置操作将清空该人物已有人脸数据,并添加 FaceContents 指定人脸数据。
-
setType
public void setType(String Type)
Set 操作类型,可选值:add(添加)、delete(删除)、reset(重置)。重置操作将清空该人物已有人脸数据,并添加 FaceContents 指定人脸数据。- Parameters:
Type- 操作类型,可选值:add(添加)、delete(删除)、reset(重置)。重置操作将清空该人物已有人脸数据,并添加 FaceContents 指定人脸数据。
-
getFaceIds
public String[] getFaceIds()
Get 人脸 ID 集合,当 Type为delete 时,该字段必填。- Returns:
- FaceIds 人脸 ID 集合,当 Type为delete 时,该字段必填。
-
setFaceIds
public void setFaceIds(String[] FaceIds)
Set 人脸 ID 集合,当 Type为delete 时,该字段必填。- Parameters:
FaceIds- 人脸 ID 集合,当 Type为delete 时,该字段必填。
-
getFaceContents
public String[] getFaceContents()
Get 人脸图片 [Base64](https://tools.ietf.org/html/rfc4648) 编码后的字符串集合。- 当 Type为add 或 reset 时,该字段必填;
- 数组长度限制:5 张图片。
注意:图片必须是单人像正面人脸较清晰的照片,像素不低于 200*200。- Returns:
- FaceContents 人脸图片 [Base64](https://tools.ietf.org/html/rfc4648) 编码后的字符串集合。
- 当 Type为add 或 reset 时,该字段必填;
- 数组长度限制:5 张图片。
注意:图片必须是单人像正面人脸较清晰的照片,像素不低于 200*200。
-
setFaceContents
public void setFaceContents(String[] FaceContents)
Set 人脸图片 [Base64](https://tools.ietf.org/html/rfc4648) 编码后的字符串集合。- 当 Type为add 或 reset 时,该字段必填;
- 数组长度限制:5 张图片。
注意:图片必须是单人像正面人脸较清晰的照片,像素不低于 200*200。- Parameters:
FaceContents- 人脸图片 [Base64](https://tools.ietf.org/html/rfc4648) 编码后的字符串集合。- 当 Type为add 或 reset 时,该字段必填;
- 数组长度限制:5 张图片。
注意:图片必须是单人像正面人脸较清晰的照片,像素不低于 200*200。
-
-