Package io.agora.rtc2.video
Class FaceShapeAreaOptions
java.lang.Object
io.agora.rtc2.video.FaceShapeAreaOptions
- Since:
- v4.4.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int106: Cheek, adjusts the size of the cheek.static final int105: Cheekbone, adjusts the size of the cheekbone.static final int108: Chin, adjusts the length of the chin.static final int500: Eyebrow Position, adjusts the position of the eyebrows.static final int501: Eyebrow Thickness, adjusts the thickness of the eyebrows.static final int201: Eye Distance, adjusts the distance between the two eyes.static final int205: Eye Inner Corner, adjusts the inner corner of the eyes.static final int203: Lower Eyelid, adjusts the downward position of the eyelids.static final int206: Eye Outer Corner, adjusts the outer corner of the eyes.static final int202: Eye Position, adjusts the upper and lower position of the eyes.static final int204: Eye Pupils, adjusts the size of the eye pupils.static final int200: Eye Scale, adjusts the size of the eyes.static final int102: Face Contour, slims the facial contour.static final int103: Face Length, adjusts the length of the face.static final int104: Face Width, narrows the width of the face.static final int101: Forehead, adjusts the size of the forehead.static final int100: Head Scale, reduces the size of the head.static final int107: Mandible, slims the mandible.static final int403: Mouth Lip, adjusts the size of the lips.static final int401: Mouth Position, adjusts the position of the mouth.static final int400: Mouth Scale, adjusts the size of the mouth.static final int402: Mouth Smile, adjusts the smile degree of the mouth.static final int-1: (Default) Invalid area.static final int304: Nose Bridge, adjusts the size of the nose bridge.static final int306: Nose General, adjusts the overall size of the nose.static final int300: Nose Length, adjusts the length of the nose.static final int303: Nose Root, adjusts the size of the nose root.static final int305: Nose Tip, adjusts the size of the nose tip.static final int301: Nose Width, adjusts the width of the nose.static final int302: Nose Wing, adjusts the size of the nose wing.intThe specific facial area to be adjusted, used withshapeArea:FACE_SHAPE_AREA_NONE(-1): (default) invalid area.intThe intensity of the pinching effect applied to the specified facial area. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
FACE_SHAPE_AREA_NONE
public static final int FACE_SHAPE_AREA_NONE-1: (Default) Invalid area.- See Also:
-
FACE_SHAPE_AREA_HEADSCALE
public static final int FACE_SHAPE_AREA_HEADSCALE100: Head Scale, reduces the size of the head. The value range is [0, 100]. The default value is 50. The larger the value, the stronger the head reduction effect.- See Also:
-
FACE_SHAPE_AREA_FOREHEAD
public static final int FACE_SHAPE_AREA_FOREHEAD101: Forehead, adjusts the size of the forehead. The value range is [0, 100]. The default value is 0. The larger the value, the stronger the forehead effect.- See Also:
-
FACE_SHAPE_AREA_FACECONTOUR
public static final int FACE_SHAPE_AREA_FACECONTOUR102: Face Contour, slims the facial contour. The value range is [0, 100]. The default value is 0. The larger the value, the stronger the facial contour reduction effect.- See Also:
-
FACE_SHAPE_AREA_FACELENGTH
public static final int FACE_SHAPE_AREA_FACELENGTH103: Face Length, adjusts the length of the face. The value range is [-100, 100]. The default value is 0. The larger the absolute value, the stronger the face length effect, negative values indicate the opposite direction.- See Also:
-
FACE_SHAPE_AREA_FACEWIDTH
public static final int FACE_SHAPE_AREA_FACEWIDTH104: Face Width, narrows the width of the face. The value range is [0, 100]. The default value is 0. The larger the value, the stronger the face width reduction effect.- See Also:
-
FACE_SHAPE_AREA_CHEEKBONE
public static final int FACE_SHAPE_AREA_CHEEKBONE105: Cheekbone, adjusts the size of the cheekbone. The value range is [0, 100]. The default value is 0. The larger the value, the stronger the cheekbone effect.- See Also:
-
FACE_SHAPE_AREA_CHEEK
public static final int FACE_SHAPE_AREA_CHEEK106: Cheek, adjusts the size of the cheek. The value range is [0, 100]. The default value is 0. The larger the value, the stronger the cheek effect.- See Also:
-
FACE_SHAPE_AREA_MANDIBLE
public static final int FACE_SHAPE_AREA_MANDIBLE107: Mandible, slims the mandible. The value range is [0, 100]. The default value is 0. The larger the value, the stronger the mandible effect.- Since:
- v4.6.0
- See Also:
-
FACE_SHAPE_AREA_CHIN
public static final int FACE_SHAPE_AREA_CHIN108: Chin, adjusts the length of the chin. The value range is [-100, 100]. The default value is 0. The larger the absolute value, the stronger the chin effect, negative values indicate the opposite direction.- See Also:
-
FACE_SHAPE_AREA_EYESCALE
public static final int FACE_SHAPE_AREA_EYESCALE200: Eye Scale, adjusts the size of the eyes. The value range is [0, 100]. The default value is 50. The larger the value, the stronger the eye size effect.- See Also:
-
FACE_SHAPE_AREA_EYEDISTANCE
public static final int FACE_SHAPE_AREA_EYEDISTANCE201: Eye Distance, adjusts the distance between the two eyes. The value range is [-100, 100]. The default value is 0. The larger the absolute value, the stronger the eye distance effect, negative values indicate the opposite direction.- Since:
- v4.6.0
- See Also:
-
FACE_SHAPE_AREA_EYEPOSITION
public static final int FACE_SHAPE_AREA_EYEPOSITION202: Eye Position, adjusts the upper and lower position of the eyes. The value range is [-100, 100]. The default value is 0. The larger the absolute value, the stronger the eye position effect, negative values indicate the opposite direction.- Since:
- v4.6.0
- See Also:
-
FACE_SHAPE_AREA_EYELID
public static final int FACE_SHAPE_AREA_EYELID203: Lower Eyelid, adjusts the downward position of the eyelids. The value range is [0, 100]. The default value is 0. The larger the value, the stronger the lower eyelid effect.- Since:
- v4.6.0
- See Also:
-
FACE_SHAPE_AREA_EYEPUPILS
public static final int FACE_SHAPE_AREA_EYEPUPILS204: Eye Pupils, adjusts the size of the eye pupils. The value range is [0, 100]. The default value is 0. The larger the value, the stronger the eye pupils effect.- Since:
- v4.6.0
- See Also:
-
FACE_SHAPE_AREA_EYEINNERCORNER
public static final int FACE_SHAPE_AREA_EYEINNERCORNER205: Eye Inner Corner, adjusts the inner corner of the eyes. The value range is [-100, 100]. The default value is 0. The larger the absolute value, the stronger the eye inner corner effect, negative values indicate the opposite direction.- Since:
- v4.6.0
- See Also:
-
FACE_SHAPE_AREA_EYEOUTERCORNER
public static final int FACE_SHAPE_AREA_EYEOUTERCORNER206: Eye Outer Corner, adjusts the outer corner of the eyes. The value range is [-100, 100]. The default value is 0. The larger the absolute value, the stronger the eye outer corner effect, negative values indicate the opposite direction.- Since:
- v4.6.0
- See Also:
-
FACE_SHAPE_AREA_NOSELENGTH
public static final int FACE_SHAPE_AREA_NOSELENGTH300: Nose Length, adjusts the length of the nose. The value range is [-100, 100]. The default value is 0.- See Also:
-
FACE_SHAPE_AREA_NOSEWIDTH
public static final int FACE_SHAPE_AREA_NOSEWIDTH301: Nose Width, adjusts the width of the nose. The value range is [0, 100]. The default value is 0. The larger the value, the stronger the nose width effect.- Since:
- v4.6.0
- See Also:
-
FACE_SHAPE_AREA_NOSEWING
public static final int FACE_SHAPE_AREA_NOSEWING302: Nose Wing, adjusts the size of the nose wing. The value range is [0, 100]. The default value is 10. The larger the value, the stronger the nose wing effect.- Since:
- v4.6.0
- See Also:
-
FACE_SHAPE_AREA_NOSEROOT
public static final int FACE_SHAPE_AREA_NOSEROOT303: Nose Root, adjusts the size of the nose root. The value range is [0, 100]. The default value is 0. The larger the value, the stronger the nose root effect.- Since:
- v4.6.0
- See Also:
-
FACE_SHAPE_AREA_NOSEBRIDGE
public static final int FACE_SHAPE_AREA_NOSEBRIDGE304: Nose Bridge, adjusts the size of the nose bridge. The value range is [0, 100]. The default value is 50. The larger the value, the stronger the nose bridge effect.- Since:
- v4.6.0
- See Also:
-
FACE_SHAPE_AREA_NOSETIP
public static final int FACE_SHAPE_AREA_NOSETIP305: Nose Tip, adjusts the size of the nose tip. The value range is [0, 100]. The default value is 50. The larger the value, the stronger the nose tip effect.- Since:
- v4.6.0
- See Also:
-
FACE_SHAPE_AREA_NOSEGENERAL
public static final int FACE_SHAPE_AREA_NOSEGENERAL306: Nose General, adjusts the overall size of the nose. The value range is [-100, 100]. The default value is 50. The larger the absolute value, the stronger the nose general effect, negative values indicate the opposite direction.- Since:
- v4.6.0
- See Also:
-
FACE_SHAPE_AREA_MOUTHSCALE
public static final int FACE_SHAPE_AREA_MOUTHSCALE400: Mouth Scale, adjusts the size of the mouth. The value range is [-100, 100]. The default value is 20. The larger the absolute value, the stronger the mouth size effect, negative values indicate the opposite direction.- Since:
- v4.6.0
- See Also:
-
FACE_SHAPE_AREA_MOUTHPOSITION
public static final int FACE_SHAPE_AREA_MOUTHPOSITION401: Mouth Position, adjusts the position of the mouth. The value range is [0, 100]. The default value is 0. The larger the value, the stronger the mouth position effect.- Since:
- v4.6.0
- See Also:
-
FACE_SHAPE_AREA_MOUTHSMILE
public static final int FACE_SHAPE_AREA_MOUTHSMILE402: Mouth Smile, adjusts the smile degree of the mouth. The value range is [0, 100]. The default value is 30. The larger the value, the stronger the mouth smile effect.- Since:
- v4.6.0
- See Also:
-
FACE_SHAPE_AREA_MOUTHLIP
public static final int FACE_SHAPE_AREA_MOUTHLIP403: Mouth Lip, adjusts the size of the lips. The value range is [0, 100]. The default value is 0. The larger the value, the stronger the mouth lip effect.- Since:
- v4.6.0
- See Also:
-
FACE_SHAPE_AREA_EYEBROWPOSITION
public static final int FACE_SHAPE_AREA_EYEBROWPOSITION500: Eyebrow Position, adjusts the position of the eyebrows. The value range is [-100, 100]. The default value is 0. The larger the absolute value, the stronger the eyebrow position effect, negative values indicate the opposite direction.- Since:
- v4.6.0
- See Also:
-
FACE_SHAPE_AREA_EYEBROWTHICKNESS
public static final int FACE_SHAPE_AREA_EYEBROWTHICKNESS501: Eyebrow Thickness, adjusts the thickness of the eyebrows. The value range is [-100, 100]. The default value is 0. The larger the value, the stronger the eyebrow thickness effect.- Since:
- v4.6.0
- See Also:
-
shapeArea
public int shapeAreaThe specific facial area to be adjusted, used withshapeArea:FACE_SHAPE_AREA_NONE(-1): (default) invalid area.FACE_SHAPE_AREA_HEADSCALE(0): Head Scale.FACE_SHAPE_AREA_FOREHEAD(1): Forehead.FACE_SHAPE_AREA_FACECONTOUR(2): Face Contour.FACE_SHAPE_AREA_FACELENGTH(3): Face Length.FACE_SHAPE_AREA_FACEWIDTH(4): Face Width.FACE_SHAPE_AREA_CHEEKBONE(5): Cheekbone.FACE_SHAPE_AREA_CHEEK(6): Cheek.FACE_SHAPE_AREA_CHIN(7): Chin.FACE_SHAPE_AREA_EYESCALE(8): Eye Scale.FACE_SHAPE_AREA_NOSELENGTH(9): Nose Length.FACE_SHAPE_AREA_NOSEWIDTH(10): Nose Width.FACE_SHAPE_AREA_MOUTHSCALE(11): Mouth Scale.
-
shapeIntensity
public int shapeIntensityThe intensity of the pinching effect applied to the specified facial area.
-
-
Constructor Details
-
FaceShapeAreaOptions
public FaceShapeAreaOptions(int area, int intensity) The face shape area options.- Parameters:
area- The specific facial area to be adjusted, used withshapeArea:FACE_SHAPE_AREA_NONE(-1): (default) invalid area.FACE_SHAPE_AREA_HEADSCALE(0): Head Scale.FACE_SHAPE_AREA_FOREHEAD(1): Forehead.FACE_SHAPE_AREA_FACECONTOUR(2): Face Contour.FACE_SHAPE_AREA_FACELENGTH(3): Face Length.FACE_SHAPE_AREA_FACEWIDTH(4): Face Width.FACE_SHAPE_AREA_CHEEKBONE(5): Cheekbone.FACE_SHAPE_AREA_CHEEK(6): Cheek.FACE_SHAPE_AREA_CHIN(7): Chin.FACE_SHAPE_AREA_EYESCALE(8): Eye Scale.FACE_SHAPE_AREA_NOSELENGTH(9): Nose Length.FACE_SHAPE_AREA_NOSEWIDTH(10): Nose Width.FACE_SHAPE_AREA_MOUTHSCALE(11): Mouth Scale.
intensity- The intensity of the pinching effect applied to the specified facial area. For the following area values: #FACE_SHAPE_AREA_FOREHEAD, #FACE_SHAPE_AREA_FACELENGTH, #FACE_SHAPE_AREA_CHIN, #FACE_SHAPE_AREA_NOSELENGTH, #FACE_SHAPE_AREA_NOSEWIDTH, #FACE_SHAPE_AREA_MOUTHSCALE, the value ranges from -100 to 100. The default value is 0. The greater the absolute value, the stronger the intensity applied to the specified facial area, and negative values indicate the opposite direction. For enumeration values other than the above, the value ranges from 0 to 100. The default value is 0. The greater the value, the stronger the intensity applied to the specified facial area.
-
FaceShapeAreaOptions
public FaceShapeAreaOptions()
-