public class FaceDetailAttributesInfo extends AbstractModel
skipSign
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 Age.
|
Long |
getBeauty()
Get Beauty score.
|
AttributeItem |
getEmotion()
Get Emotion, including relaxed, happy, surprised, angry, sad, disgusted, and scared.
|
Eye |
getEye()
Get Eye information, including whether glasses are worn, whether eyes are closed, whether the person has double eyelids, and the eye size.
|
Eyebrow |
getEyebrow()
Get Eyebrow information, including whether the eyebrows are thick, curved, or long.
|
AttributeItem |
getGender()
Get Gender information.
|
Hair |
getHair()
Get Hair information, including length, bang, and color.
|
Hat |
getHat()
Get Hat information, including whether a hat is worn, hat style, and hat color.
|
HeadPose |
getHeadPose()
Get Pose information, including the face pitch, yaw, and roll.
|
AttributeItem |
getMask()
Get Mask information.
|
AttributeItem |
getMoustache()
Get Beard information.
|
Mouth |
getMouth()
Get Mouth information, including whether the mouth is open and the lip thickness.
|
AttributeItem |
getNose()
Get Nose information.
|
AttributeItem |
getShape()
Get Face shape information.
|
AttributeItem |
getSkin()
Get Skin color information.
|
Long |
getSmile()
Get Smile level.
|
void |
setAge(Long Age)
Set Age.
|
void |
setBeauty(Long Beauty)
Set Beauty score.
|
void |
setEmotion(AttributeItem Emotion)
Set Emotion, including relaxed, happy, surprised, angry, sad, disgusted, and scared.
|
void |
setEye(Eye Eye)
Set Eye information, including whether glasses are worn, whether eyes are closed, whether the person has double eyelids, and the eye size.
|
void |
setEyebrow(Eyebrow Eyebrow)
Set Eyebrow information, including whether the eyebrows are thick, curved, or long.
|
void |
setGender(AttributeItem Gender)
Set Gender information.
|
void |
setHair(Hair Hair)
Set Hair information, including length, bang, and color.
|
void |
setHat(Hat Hat)
Set Hat information, including whether a hat is worn, hat style, and hat color.
|
void |
setHeadPose(HeadPose HeadPose)
Set Pose information, including the face pitch, yaw, and roll.
|
void |
setMask(AttributeItem Mask)
Set Mask information.
|
void |
setMoustache(AttributeItem Moustache)
Set Beard information.
|
void |
setMouth(Mouth Mouth)
Set Mouth information, including whether the mouth is open and the lip thickness.
|
void |
setNose(AttributeItem Nose)
Set Nose information.
|
void |
setShape(AttributeItem Shape)
Set Face shape information.
|
void |
setSkin(AttributeItem Skin)
Set Skin color information.
|
void |
setSmile(Long Smile)
Set Smile level.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public FaceDetailAttributesInfo()
public FaceDetailAttributesInfo(FaceDetailAttributesInfo source)
public Long getAge()
public void setAge(Long Age)
Age
- Age. Value range: [0,65], where 65 indicates 65 years old or above.
If `FaceAttributesType` does not include `Age` or more than 5 faces are detected, this parameter will still be returned but meaningless.public Long getBeauty()
public void setBeauty(Long Beauty)
Beauty
- Beauty score. Value range: [0,100].
If `FaceAttributesType` does not include `Beauty` or more than 5 faces are detected, this parameter will still be returned but meaningless.public AttributeItem getEmotion()
public void setEmotion(AttributeItem Emotion)
Emotion
- Emotion, including relaxed, happy, surprised, angry, sad, disgusted, and scared.
The `Type` values of the `AttributeItem` include: 0: relaxed; 1: happy; 2: surprised; 3: angry; 4: sad; 5: disgusted; 6: scared.
If `FaceAttributesType` does not include `Emotion` or more than 5 faces are detected, this parameter will still be returned but meaningless.public Eye getEye()
public void setEye(Eye Eye)
Eye
- Eye information, including whether glasses are worn, whether eyes are closed, whether the person has double eyelids, and the eye size.
If `FaceAttributesType` does not include `Eye` or more than 5 faces are detected, this parameter will still be returned but meaningless.public Eyebrow getEyebrow()
public void setEyebrow(Eyebrow Eyebrow)
Eyebrow
- Eyebrow information, including whether the eyebrows are thick, curved, or long.
If `FaceAttributesType` does not include `Eyebrow` or more than 5 faces are detected, this parameter will still be returned but meaningless.public AttributeItem getGender()
public void setGender(AttributeItem Gender)
Gender
- Gender information.
The `Type` values of the `AttributeItem` include: 0: male; 1: female.
If `FaceAttributesType` does not include `Gender` or more than 5 faces are detected, this parameter will still be returned but meaningless.public Hair getHair()
public void setHair(Hair Hair)
Hair
- Hair information, including length, bang, and color.
If `FaceAttributesType` does not include `Hair` or more than 5 faces are detected, this parameter will still be returned but meaningless.public Hat getHat()
public void setHat(Hat Hat)
Hat
- Hat information, including whether a hat is worn, hat style, and hat color.
If `FaceAttributesType` does not include `Hat` or more than 5 faces are detected, this parameter will still be returned but meaningless.public HeadPose getHeadPose()
public void setHeadPose(HeadPose HeadPose)
HeadPose
- Pose information, including the face pitch, yaw, and roll.
If `FaceAttributesType` does not include `Headpose` or more than 5 faces are detected, this parameter will still be returned but meaningless.public AttributeItem getMask()
public void setMask(AttributeItem Mask)
Mask
- Mask information.
The `Type` values of the `AttributeItem` include: 0: no mask; 1: the mask is worn and does not cover the face; 2: the mask is worn and covers the chin; 3: the mask is worn and covers the mouth; 4: the mask is worn properly.
If `FaceAttributesType` does not include `Mask` or more than 5 faces are detected, this parameter will still be returned but meaningless.public Mouth getMouth()
public void setMouth(Mouth Mouth)
Mouth
- Mouth information, including whether the mouth is open and the lip thickness.
If `FaceAttributesType` does not include `Mouth` or more than 5 faces are detected, this parameter will still be returned but meaningless.public AttributeItem getMoustache()
public void setMoustache(AttributeItem Moustache)
Moustache
- Beard information.
The `Type` values of the `AttributeItem` include: 0: no beard; 1: beard detected.
If `FaceAttributesType` does not include `Moustache` or more than 5 faces are detected, this parameter will still be returned but meaningless.public AttributeItem getNose()
public void setNose(AttributeItem Nose)
Nose
- Nose information.
The `Type` values of the `AttributeItem` include: 0: upturned nose; 1: aquiline nose; 2: general nose; 3: bulbous nose.
If `FaceAttributesType` does not include `Nose` or more than 5 faces are detected, this parameter will still be returned but meaningless.public AttributeItem getShape()
public void setShape(AttributeItem Shape)
Shape
- Face shape information.
The `Type` values of the `AttributeItem` include: 0: square; 1: triangular; 2: oval; 3: heart-shaped; 4: round.
If `FaceAttributesType` does not include `Shape` or more than 5 faces are detected, this parameter will still be returned but meaningless.public AttributeItem getSkin()
public void setSkin(AttributeItem Skin)
Skin
- Skin color information.
The `Type` values of the `AttributeItem` include: 0: yellow; 1: brown; 2: black; 3: white.
If `FaceAttributesType` does not include `Skin` or more than 5 faces are detected, this parameter will still be returned but meaningless.public Long getSmile()
public void setSmile(Long Smile)
Smile
- Smile level. Value range: [0,100].
If `FaceAttributesType` does not include `Smile` or more than 5 faces are detected, this parameter will still be returned but meaningless.Copyright © 2023. All rights reserved.