public class FaceDetailAttributesInfo extends AbstractModel
Constructor and Description |
---|
FaceDetailAttributesInfo() |
FaceDetailAttributesInfo(FaceDetailAttributesInfo 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 |
---|---|
Long |
getAge()
Get 年龄 [0,65],其中65代表“65岁及以上”。
FaceAttributesType 不为含Age 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
Long |
getBeauty()
Get 美丑打分[0,100]。
FaceAttributesType 不含 Beauty 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
AttributeItem |
getEmotion()
Get 情绪,可识别自然、高兴、惊讶、生气、悲伤、厌恶、害怕。
AttributeItem对应的Type为 —— 0:自然,1:高兴,2:惊讶,3:生气,4:悲伤,5:厌恶,6:害怕
FaceAttributesType 不含Emotion 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
Eye |
getEye()
Get 眼睛相关信息,可识别是否戴眼镜、是否闭眼、是否双眼皮和眼睛大小。
FaceAttributesType 不含Eye 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
Eyebrow |
getEyebrow()
Get 眉毛相关信息,可识别眉毛浓密、弯曲、长短信息。
FaceAttributesType 不含Eyebrow 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
AttributeItem |
getGender()
Get 性别信息。
AttributeItem对应的Type为 —— 0:男性,1:女性。
FaceAttributesType 不含Gender 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
Hair |
getHair()
Get 头发信息,包含头发长度、有无刘海、头发颜色。
FaceAttributesType 不含Hair 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
Hat |
getHat()
Get 帽子信息,可识别是否佩戴帽子、帽子款式、帽子颜色。
FaceAttributesType 不含Hat 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
HeadPose |
getHeadPose()
Get 姿态信息,包含人脸的上下偏移、左右偏移、平面旋转信息。
FaceAttributesType 不含Headpose 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
AttributeItem |
getMask()
Get 口罩佩戴信息。
AttributeItem对应的Type为 —— 0: 无口罩, 1: 有口罩不遮脸,2: 有口罩遮下巴,3: 有口罩遮嘴,4: 正确佩戴口罩。
FaceAttributesType 不含Mask 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
AttributeItem |
getMoustache()
Get 胡子信息。
AttributeItem对应的Type为 —— 0:无胡子,1:有胡子。
FaceAttributesType 不含 Moustache 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
Mouth |
getMouth()
Get 嘴巴信息,可识别是否张嘴、嘴唇厚度。
FaceAttributesType 不含 Mouth 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
AttributeItem |
getNose()
Get 鼻子信息。
AttributeItem对应的Type为 —— 0:朝天鼻,1:鹰钩鼻,2:普通,3:圆鼻头
FaceAttributesType 不含 Nose 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
AttributeItem |
getShape()
Get 脸型信息。
AttributeItem对应的Type为 —— 0:方脸,1:三角脸,2:鹅蛋脸,3:心形脸,4:圆脸。
FaceAttributesType 不含 Shape 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
AttributeItem |
getSkin()
Get 肤色信息。
AttributeItem对应的Type为 —— 0:黄色皮肤,1:棕色皮肤,2:黑色皮肤,3:白色皮肤。
FaceAttributesType 不含 Skin 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
Long |
getSmile()
Get 微笑程度,[0,100]。
FaceAttributesType 不含 Smile 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
void |
setAge(Long Age)
Set 年龄 [0,65],其中65代表“65岁及以上”。
FaceAttributesType 不为含Age 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
void |
setBeauty(Long Beauty)
Set 美丑打分[0,100]。
FaceAttributesType 不含 Beauty 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
void |
setEmotion(AttributeItem Emotion)
Set 情绪,可识别自然、高兴、惊讶、生气、悲伤、厌恶、害怕。
AttributeItem对应的Type为 —— 0:自然,1:高兴,2:惊讶,3:生气,4:悲伤,5:厌恶,6:害怕
FaceAttributesType 不含Emotion 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
void |
setEye(Eye Eye)
Set 眼睛相关信息,可识别是否戴眼镜、是否闭眼、是否双眼皮和眼睛大小。
FaceAttributesType 不含Eye 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
void |
setEyebrow(Eyebrow Eyebrow)
Set 眉毛相关信息,可识别眉毛浓密、弯曲、长短信息。
FaceAttributesType 不含Eyebrow 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
void |
setGender(AttributeItem Gender)
Set 性别信息。
AttributeItem对应的Type为 —— 0:男性,1:女性。
FaceAttributesType 不含Gender 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
void |
setHair(Hair Hair)
Set 头发信息,包含头发长度、有无刘海、头发颜色。
FaceAttributesType 不含Hair 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
void |
setHat(Hat Hat)
Set 帽子信息,可识别是否佩戴帽子、帽子款式、帽子颜色。
FaceAttributesType 不含Hat 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
void |
setHeadPose(HeadPose HeadPose)
Set 姿态信息,包含人脸的上下偏移、左右偏移、平面旋转信息。
FaceAttributesType 不含Headpose 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
void |
setMask(AttributeItem Mask)
Set 口罩佩戴信息。
AttributeItem对应的Type为 —— 0: 无口罩, 1: 有口罩不遮脸,2: 有口罩遮下巴,3: 有口罩遮嘴,4: 正确佩戴口罩。
FaceAttributesType 不含Mask 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
void |
setMoustache(AttributeItem Moustache)
Set 胡子信息。
AttributeItem对应的Type为 —— 0:无胡子,1:有胡子。
FaceAttributesType 不含 Moustache 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
void |
setMouth(Mouth Mouth)
Set 嘴巴信息,可识别是否张嘴、嘴唇厚度。
FaceAttributesType 不含 Mouth 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
void |
setNose(AttributeItem Nose)
Set 鼻子信息。
AttributeItem对应的Type为 —— 0:朝天鼻,1:鹰钩鼻,2:普通,3:圆鼻头
FaceAttributesType 不含 Nose 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
void |
setShape(AttributeItem Shape)
Set 脸型信息。
AttributeItem对应的Type为 —— 0:方脸,1:三角脸,2:鹅蛋脸,3:心形脸,4:圆脸。
FaceAttributesType 不含 Shape 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
void |
setSkin(AttributeItem Skin)
Set 肤色信息。
AttributeItem对应的Type为 —— 0:黄色皮肤,1:棕色皮肤,2:黑色皮肤,3:白色皮肤。
FaceAttributesType 不含 Skin 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
void |
setSmile(Long Smile)
Set 微笑程度,[0,100]。
FaceAttributesType 不含 Smile 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
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 FaceDetailAttributesInfo()
public FaceDetailAttributesInfo(FaceDetailAttributesInfo source)
public Long getAge()
public void setAge(Long Age)
Age
- 年龄 [0,65],其中65代表“65岁及以上”。
FaceAttributesType 不为含Age 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。public Long getBeauty()
public void setBeauty(Long Beauty)
Beauty
- 美丑打分[0,100]。
FaceAttributesType 不含 Beauty 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。public AttributeItem getEmotion()
public void setEmotion(AttributeItem Emotion)
Emotion
- 情绪,可识别自然、高兴、惊讶、生气、悲伤、厌恶、害怕。
AttributeItem对应的Type为 —— 0:自然,1:高兴,2:惊讶,3:生气,4:悲伤,5:厌恶,6:害怕
FaceAttributesType 不含Emotion 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。public Eye getEye()
public void setEye(Eye Eye)
Eye
- 眼睛相关信息,可识别是否戴眼镜、是否闭眼、是否双眼皮和眼睛大小。
FaceAttributesType 不含Eye 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。public Eyebrow getEyebrow()
public void setEyebrow(Eyebrow Eyebrow)
Eyebrow
- 眉毛相关信息,可识别眉毛浓密、弯曲、长短信息。
FaceAttributesType 不含Eyebrow 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。public AttributeItem getGender()
public void setGender(AttributeItem Gender)
Gender
- 性别信息。
AttributeItem对应的Type为 —— 0:男性,1:女性。
FaceAttributesType 不含Gender 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。public Hair getHair()
public void setHair(Hair Hair)
Hair
- 头发信息,包含头发长度、有无刘海、头发颜色。
FaceAttributesType 不含Hair 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。public Hat getHat()
public void setHat(Hat Hat)
Hat
- 帽子信息,可识别是否佩戴帽子、帽子款式、帽子颜色。
FaceAttributesType 不含Hat 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。public HeadPose getHeadPose()
public void setHeadPose(HeadPose HeadPose)
HeadPose
- 姿态信息,包含人脸的上下偏移、左右偏移、平面旋转信息。
FaceAttributesType 不含Headpose 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。public AttributeItem getMask()
public void setMask(AttributeItem Mask)
Mask
- 口罩佩戴信息。
AttributeItem对应的Type为 —— 0: 无口罩, 1: 有口罩不遮脸,2: 有口罩遮下巴,3: 有口罩遮嘴,4: 正确佩戴口罩。
FaceAttributesType 不含Mask 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。public Mouth getMouth()
public void setMouth(Mouth Mouth)
Mouth
- 嘴巴信息,可识别是否张嘴、嘴唇厚度。
FaceAttributesType 不含 Mouth 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。public AttributeItem getMoustache()
public void setMoustache(AttributeItem Moustache)
Moustache
- 胡子信息。
AttributeItem对应的Type为 —— 0:无胡子,1:有胡子。
FaceAttributesType 不含 Moustache 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。public AttributeItem getNose()
public void setNose(AttributeItem Nose)
Nose
- 鼻子信息。
AttributeItem对应的Type为 —— 0:朝天鼻,1:鹰钩鼻,2:普通,3:圆鼻头
FaceAttributesType 不含 Nose 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。public AttributeItem getShape()
public void setShape(AttributeItem Shape)
Shape
- 脸型信息。
AttributeItem对应的Type为 —— 0:方脸,1:三角脸,2:鹅蛋脸,3:心形脸,4:圆脸。
FaceAttributesType 不含 Shape 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。public AttributeItem getSkin()
public void setSkin(AttributeItem Skin)
Skin
- 肤色信息。
AttributeItem对应的Type为 —— 0:黄色皮肤,1:棕色皮肤,2:黑色皮肤,3:白色皮肤。
FaceAttributesType 不含 Skin 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。public Long getSmile()
public void setSmile(Long Smile)
Smile
- 微笑程度,[0,100]。
FaceAttributesType 不含 Smile 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。Copyright © 2021. All rights reserved.