Package io.agora.rtc2.video
Class FaceShapeBeautyOptions
java.lang.Object
io.agora.rtc2.video.FaceShapeBeautyOptions
- Since:
- v4.4.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int0: (Default) Female face shape style.static final int1: Male face shape style.static final int2: Natural face shape style.intFacial enhancement style options: - FACE_SHAPE_BEAUTY_STYLE_FEMALE 0: (Default) Female.intThe intensity of the facial enhancement style, with a value range oof [0.0,1.0]. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
FACE_SHAPE_BEAUTY_STYLE_FEMALE
public static final int FACE_SHAPE_BEAUTY_STYLE_FEMALE0: (Default) Female face shape style.- See Also:
-
FACE_SHAPE_BEAUTY_STYLE_MALE
public static final int FACE_SHAPE_BEAUTY_STYLE_MALE1: Male face shape style.- See Also:
-
FACE_SHAPE_BEAUTY_STYLE_NATURAL
public static final int FACE_SHAPE_BEAUTY_STYLE_NATURAL2: Natural face shape style.- Since:
- v4.6.0
- See Also:
-
shapeStyle
public int shapeStyleFacial 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 styleIntensityThe 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 theshapeStyle:FACE_SHAPE_BEAUTY_STYLE_FEMALE(0): (default) Female face shape style.FACE_SHAPE_BEAUTY_STYLE_MALE(1): Male face shape style.
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()
-