public class Face extends AbstractModel
Constructor and Description |
---|
Face() |
Modifier and Type | Method and Description |
---|---|
String |
getBasicInfo()
Get 对人物的简介。
|
Long |
getConfidence()
Get 算法对于Name的置信度(图像中人脸与公众人物的相似度),0-100之间,值越高,表示对于Name越确定。
|
Long |
getHeight()
Get 人脸区域高度。
|
String |
getID()
Get 公众人物的唯一编号,可以用于区分同名人物、一个人物不同称呼等情况。唯一编号为8个字符构成的字符串。
注意:此字段可能返回 null,表示取不到有效值。
|
Labels[] |
getLabels()
Get 公众人物身份标签的数组,一个公众人物可能有多个身份标签。
|
String |
getName()
Get 与图片中人脸最相似的公众人物的名字。
|
Long |
getWidth()
Get 人脸区域宽度。
|
Long |
getX()
Get 人脸区域左上角横坐标。
|
Long |
getY()
Get 人脸区域左上角纵坐标。
|
void |
setBasicInfo(String BasicInfo)
Set 对人物的简介。
|
void |
setConfidence(Long Confidence)
Set 算法对于Name的置信度(图像中人脸与公众人物的相似度),0-100之间,值越高,表示对于Name越确定。
|
void |
setHeight(Long Height)
Set 人脸区域高度。
|
void |
setID(String ID)
Set 公众人物的唯一编号,可以用于区分同名人物、一个人物不同称呼等情况。唯一编号为8个字符构成的字符串。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setLabels(Labels[] Labels)
Set 公众人物身份标签的数组,一个公众人物可能有多个身份标签。
|
void |
setName(String Name)
Set 与图片中人脸最相似的公众人物的名字。
|
void |
setWidth(Long Width)
Set 人脸区域宽度。
|
void |
setX(Long X)
Set 人脸区域左上角横坐标。
|
void |
setY(Long Y)
Set 人脸区域左上角纵坐标。
|
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 String getName()
public void setName(String Name)
Name
- 与图片中人脸最相似的公众人物的名字。public Labels[] getLabels()
public void setLabels(Labels[] Labels)
Labels
- 公众人物身份标签的数组,一个公众人物可能有多个身份标签。public String getBasicInfo()
public void setBasicInfo(String BasicInfo)
BasicInfo
- 对人物的简介。public Long getConfidence()
public void setConfidence(Long Confidence)
Confidence
- 算法对于Name的置信度(图像中人脸与公众人物的相似度),0-100之间,值越高,表示对于Name越确定。public Long getX()
public void setX(Long X)
X
- 人脸区域左上角横坐标。public Long getY()
public void setY(Long Y)
Y
- 人脸区域左上角纵坐标。public Long getWidth()
public void setWidth(Long Width)
Width
- 人脸区域宽度。public Long getHeight()
public void setHeight(Long Height)
Height
- 人脸区域高度。public String getID()
public void setID(String ID)
ID
- 公众人物的唯一编号,可以用于区分同名人物、一个人物不同称呼等情况。唯一编号为8个字符构成的字符串。
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2020. All rights reserved.