Class FaceShapeAreaOptions

java.lang.Object
io.agora.rtc2.video.FaceShapeAreaOptions

public class FaceShapeAreaOptions extends Object
Since:
v4.4.0
  • 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_HEADSCALE
      100: 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_FOREHEAD
      101: 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_FACECONTOUR
      102: 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_FACELENGTH
      103: 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_FACEWIDTH
      104: 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_CHEEKBONE
      105: 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_CHEEK
      106: 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_MANDIBLE
      107: 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_CHIN
      108: 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_EYESCALE
      200: 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_EYEDISTANCE
      201: 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_EYEPOSITION
      202: 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_EYELID
      203: 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_EYEPUPILS
      204: 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_EYEINNERCORNER
      205: 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_EYEOUTERCORNER
      206: 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_NOSELENGTH
      300: 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_NOSEWIDTH
      301: 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_NOSEWING
      302: 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_NOSEROOT
      303: 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_NOSEBRIDGE
      304: 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_NOSETIP
      305: 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_NOSEGENERAL
      306: 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_MOUTHSCALE
      400: 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_MOUTHPOSITION
      401: 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_MOUTHSMILE
      402: 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_MOUTHLIP
      403: 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_EYEBROWPOSITION
      500: 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_EYEBROWTHICKNESS
      501: 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 shapeArea
      Facial enhancement areas. - FACE_SHAPE_AREA_NONE (-1): (Default) Invalid area, no beauty effect applied. - FACE_SHAPE_AREA_HEADSCALE (100): Head, used to achieve a smaller head effect. The adjustment range is [0,100]; the larger the value, the smaller the head becomes, with a preset value of 100. - FACE_SHAPE_AREA_FOREHEAD (101): Forehead, used to adjust the hairline height. The adjustment strength ranges from [-100,100], with positive values raising and negative values lowering the hairline. The greater the absolute value, the stronger the effect. The default value is 50. - FACE_SHAPE_AREA_FACECONTOUR (102): Face contour, used to achieve a slimmer face effect. The adjustment range is [0,100]; the larger the value, the stronger the slimming effect, with a preset value of 10. - FACE_SHAPE_AREA_FACELENGTH (103): Face length, used to achieve a longer face effect. The adjustment range is [-100,100]; positive values elongate the face, while negative values shorten it. The larger the value, the stronger the enhancement effect, with a preset value of 0. - FACE_SHAPE_AREA_FACEWIDTH (104): Face width, used to achieve a narrower face effect. The adjustment range is [0,100]; the larger the value, the stronger the narrowing effect, with a preset value of 10. - FACE_SHAPE_AREA_CHEEKBONE (105): Cheekbone, used to adjust cheekbone width. The adjustment range is [0,100]; the larger the value, the narrower the cheekbones, with a preset set value of 43. - FACE_SHAPE_AREA_CHEEK (106): Cheeks, used to adjust the cheeks width. The adjustment range is [0,100]; the larger the value, the narrower the cheeks, with a preset value of 50. - FACE_SHAPE_AREA_CHIN (108): Chin, used to adjust the chin length. The adjustment range is [-100,100]; positive values elongate the chin, while negative values shorten it. The larger the value, the stronger the enhancement effect, with a preset value of -20. - FACE_SHAPE_AREA_EYESCALE (200):Eyes, used to achieve a larger eye effect. The adjustment range is [0,100]; the larger the value, the larger the eye size, with a preset value of 50. - FACE_SHAPE_AREA_EYEDISTANCE (201): Eye distance adjustment. The range is [-100, 100], with a default value of 0. The greater the absolute value, the more noticeable the adjustment. Negative values indicate the opposite direction. - FACE_SHAPE_AREA_EYEPOSITION (202): Eye position adjustment. The range is [-100, 100], with a default value of 0. The greater the absolute value, the more noticeable the adjustment. Negative values indicate the opposite direction. - FACE_SHAPE_AREA_LOWEREYELID (203): Lower eyelid adjustment. The range is [0, 100], with a default value of 0. The larger the value, the more noticeable the adjustment. - FACE_SHAPE_AREA_EYEPUPILS (204): Pupil size adjustment. The range is [0, 100], with a default value of 0. The larger the value, the more noticeable the adjustment. - FACE_SHAPE_AREA_EYEINNERCORNER (205): Inner eye corner adjustment. The range is [0, 100], with a default value of 0. The larger the value, the more noticeable the adjustment. - FACE_SHAPE_AREA_EYEOUTERCORNER (206): Outer eye corner adjustment. The range is [0, 100], with a default value of 0. The larger the value, the more noticeable the adjustment. - FACE_SHAPE_AREA_NOSELENGTH (300): Nose length, used to achieve a longer nose effect. The adjustment range is [-100,100]; positive values elongate the nose, while negative values shorten it. The larger the value, the stronger the enhancement effect, with a preset value of -10. - FACE_SHAPE_AREA_NOSEWIDTH (301): Nose width, used to achieve a slimmer nose effect. The adjustment range is [-100,100]; positive values make the nose wider, while negative values make it narrower. The larger the value, the stronger the enhancement effect, with a preset value of 72. - FACE_SHAPE_AREA_NOSEWING (302): Nose wing adjustment. The range is [0, 100], with a default value of 0. The larger the value, the more noticeable the adjustment. - FACE_SHAPE_AREA_NOSEROOT (303): Nose root adjustment. The range is [0, 100], with a default value of 0. The larger the value, the more noticeable the adjustment. - FACE_SHAPE_AREA_NOSEBRIDGE (304): Nose bridge adjustment. The range is [0, 100], with a default value of 0. The larger the value, the more noticeable the adjustment. - FACE_SHAPE_AREA_NOSETIP (305): Nose tip adjustment. The range is [0, 100], with a default value of 0. The larger the value, the more noticeable the adjustment. - FACE_SHAPE_AREA_NOSEGENERAL (306): Overall nose adjustment. The range is [0, 100], with a default value of 0. The larger the value, the more noticeable the adjustment. - FACE_SHAPE_AREA_MOUTHSCALE (400): Mouth, used to achieve a larger mouth effect. The adjustment strength ranges from [0,100], with larger values resulting in a larger mouth. The default value is 50. - FACE_SHAPE_AREA_MOUTHPOSITION (401): Mouth position adjustment. The range is [-100, 100], with a default value of 0. The greater the absolute value, the more noticeable the adjustment. Negative values indicate the opposite direction. - FACE_SHAPE_AREA_MOUTHSMILE (402): Mouth smile adjustment. The range is [0, 100], with a default value of 0. The larger the value, the more noticeable the adjustment. - FACE_SHAPE_AREA_MOUTHLIP (403): Lip shape adjustment. The range is [0, 100], with a default value of 0. The larger the value, the more noticeable the adjustment. - FACE_SHAPE_AREA_EYEBROWPOSITION (500): Eyebrow position adjustment. The range is [-100, 100], with a default value of 0. The greater the absolute value, the more noticeable the adjustment. Negative values indicate the opposite direction. - FACE_SHAPE_AREA_EYEBROWTHICKNESS (501): Eyebrow thickness adjustment. The range is [0, 100], with a default value of 0. The larger the value, the more noticeable the adjustment.
    • shapeIntensity

      public int shapeIntensity
      The intensity of the enhancement. The definition of enhancement intensity varies according to the different face areas, such as its orientation, range, and preset value. For details, see descriptions in `shapeArea`. .
  • Constructor Details