FaceShapeBeautyOptions
美型风格选项。
C++
struct FaceShapeBeautyOptions {
enum FACE_SHAPE_BEAUTY_STYLE {
FACE_SHAPE_BEAUTY_STYLE_FEMALE = 0,
FACE_SHAPE_BEAUTY_STYLE_MALE = 1,
};
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) {}
};
shapeStyle
美型风格,详见 FACE_SHAPE_BEAUTY_STYLE。
styleIntensity
美型风格强度,取值范围为 [0,100],其中默认值为 0.0,表示无美型效果。取值越大,修饰部位的改变越明显。