Class FaceShapeBeautyOptions

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

public class FaceShapeBeautyOptions extends Object
Since:
v4.4.0
  • Field Details

    • FACE_SHAPE_BEAUTY_STYLE_FEMALE

      public static final int FACE_SHAPE_BEAUTY_STYLE_FEMALE
      0: (Default) Female face shape style.
      See Also:
    • FACE_SHAPE_BEAUTY_STYLE_MALE

      public static final int FACE_SHAPE_BEAUTY_STYLE_MALE
      1: Male face shape style.
      See Also:
    • FACE_SHAPE_BEAUTY_STYLE_NATURAL

      public static final int FACE_SHAPE_BEAUTY_STYLE_NATURAL
      2: Natural face shape style.
      Since:
      v4.6.0
      See Also:
    • shapeStyle

      public int shapeStyle
      Facial enhancement style options: - FACE_SHAPE_BEAUTY_STYLE_FEMALE 0: (Default) Female. - FACE_SHAPE_BEAUTY_STYLE_MALE 1: Male. - FACE_SHAPE_BEAUTY_STYLE_NATURAL (2): The natural style beauty effect only makes minimal adjustments to facial features.
    • styleIntensity

      public int styleIntensity
      The intensity of the facial enhancement style, with a value range oof [0.0,1.0]. The default value is 0.0, which means no face enhancement effect. The higher the value, the more obvious the facial enhancement effect.
  • Constructor Details

    • FaceShapeBeautyOptions

      public FaceShapeBeautyOptions(int style, int intensity)
      Face shape beauty options.
      Parameters:
      style - The face shape style, used with the shapeStyle:
      intensity - The intensity of the pinching effect applied to the specified facial style. The value ranges from 0 (original) to 100. The default value is 0. The greater the value, the stronger the intensity applied to face pinching.
    • FaceShapeBeautyOptions

      public FaceShapeBeautyOptions()