FaceShapeBeautyOptions
The facial enhancement style options.
struct FaceShapeBeautyOptions {
enum FACE_SHAPE_BEAUTY_STYLE {
FACE_SHAPE_BEAUTY_STYLE_FEMALE = 0,
FACE_SHAPE_BEAUTY_STYLE_MALE = 1,
FACE_SHAPE_BEAUTY_STYLE_NATURAL = 2,
};
FACE_SHAPE_BEAUTY_STYLE shapeStyle;
int styleIntensity;
FaceShapeBeautyOptions(FACE_SHAPE_BEAUTY_STYLE shapeStyle, int styleIntensity) : shapeStyle(shapeStyle), styleIntensity(styleIntensity) {}
FaceShapeBeautyOptions() : shapeStyle(FACE_SHAPE_BEAUTY_STYLE_FEMALE), styleIntensity(50) {}
};
Attributes
- shapeStyle
-
Facial enhancement style options: FACE_SHAPE_BEAUTY_STYLE.
- 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.