BeautyOptions
Beauty effect options settings.
public class BeautyOptions {
public static final int LIGHTENING_CONTRAST_LOW = 0;
public static final int LIGHTENING_CONTRAST_NORMAL = 1;
public static final int LIGHTENING_CONTRAST_HIGH = 2;
public int lighteningContrastLevel;
public float lighteningLevel;
public float smoothnessLevel;
public float rednessLevel;
public float sharpnessLevel;
}
Properties
- LIGHTENING_CONTRAST_LOW
- (0): Low contrast for skin brightening.
- LIGHTENING_CONTRAST_NORMAL
- (1): Standard contrast for skin brightening.
- LIGHTENING_CONTRAST_HIGH
- (2): High contrast for skin brightening.
- lighteningContrastLevel
- Used with
lighteningLevelto set the brightness contrast level. The higher the value, the greater the contrast. Optional values:LIGHTENING_CONTRAST_LOW(0): Low contrast.LIGHTENING_CONTRAST_NORMAL(1): Standard contrast.LIGHTENING_CONTRAST_HIGH(2): High contrast.
- lighteningLevel
- Skin brightening level. Range is [0.0, 1.0], where 0.0 means original brightness. Default is 0.6. The higher the value, the more noticeable the brightening effect.
- smoothnessLevel
- Skin smoothing level. Range is [0.0, 1.0], where 0.0 means original smoothness. Default is 0.5. The higher the value, the stronger the smoothing effect.
- rednessLevel
- Redness level. Range is [0.0, 1.0], where 0.0 means original redness. Default is 0.1. The higher the value, the more noticeable the redness effect.
- sharpnessLevel
- Sharpness level. Range is [0.0, 1.0], where 0.0 means original sharpness. Default is 0.3. The higher the value, the clearer the image.