public class AiSampleFaceOperation extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getFaceContents()
Get 人脸图片 [Base64](https://tools.ietf.org/html/rfc4648) 编码后的字符串集合。
当 Type为add 或 reset 时,该字段必填;
数组长度限制:5 张图片。
注意:图片必须是单人像正面人脸较清晰的照片,像素不低于 200*200。
|
String[] |
getFaceIds()
Get 人脸 ID 集合,当 Type为delete 时,该字段必填。
|
String |
getType()
Get 操作类型,可选值:add(添加)、delete(删除)、reset(重置)。重置操作将清空该人物已有人脸数据,并添加 FaceContents 指定人脸数据。
|
void |
setFaceContents(String[] FaceContents)
Set 人脸图片 [Base64](https://tools.ietf.org/html/rfc4648) 编码后的字符串集合。
当 Type为add 或 reset 时,该字段必填;
数组长度限制:5 张图片。
注意:图片必须是单人像正面人脸较清晰的照片,像素不低于 200*200。
|
void |
setFaceIds(String[] FaceIds)
Set 人脸 ID 集合,当 Type为delete 时,该字段必填。
|
void |
setType(String Type)
Set 操作类型,可选值:add(添加)、delete(删除)、reset(重置)。重置操作将清空该人物已有人脸数据,并添加 FaceContents 指定人脸数据。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public AiSampleFaceOperation()
public AiSampleFaceOperation(AiSampleFaceOperation source)
public String getType()
public void setType(String Type)
Type
- 操作类型,可选值:add(添加)、delete(删除)、reset(重置)。重置操作将清空该人物已有人脸数据,并添加 FaceContents 指定人脸数据。public String[] getFaceIds()
public void setFaceIds(String[] FaceIds)
FaceIds
- 人脸 ID 集合,当 Type为delete 时,该字段必填。public String[] getFaceContents()
public void setFaceContents(String[] FaceContents)
FaceContents
- 人脸图片 [Base64](https://tools.ietf.org/html/rfc4648) 编码后的字符串集合。
Copyright © 2022. All rights reserved.