FaceShapeBeautyOptions
Used to set beauty styles.
public class FaceShapeBeautyOptions {
public static final int FACE_SHAPE_BEAUTY_STYLE_FEMALE = 0;
public static final int FACE_SHAPE_BEAUTY_STYLE_MALE = 1;
public static final int FACE_SHAPE_BEAUTY_STYLE_NATURAL = 2;
public int shapeStyle;
public int styleIntensity;
}
- Since
- Available since v4.4.0.
Properties
- FACE_SHAPE_BEAUTY_STYLE_FEMALE
- 0: (Default) Female beauty style.
- FACE_SHAPE_BEAUTY_STYLE_MALE
- 1: Male beauty style.
- FACE_SHAPE_BEAUTY_STYLE_NATURAL
- 2: Natural style, makes minimal adjustments to facial features.
- shapeStyle
- Beauty style options:
FACE_SHAPE_BEAUTY_STYLE_FEMALE(0): (Default) Female style.FACE_SHAPE_BEAUTY_STYLE_MALE(1): Male style.FACE_SHAPE_BEAUTY_STYLE_NATURAL(2): Natural style, makes minimal adjustments to facial features.
- styleIntensity
- Intensity of the beauty style. Value range: [0.0, 1.0].
- Default is 0.0, meaning no beauty effect.
- The larger the value, the more obvious the beauty effect.