enableEnhancedMode
method of TEBeautyKit
. After the call, TEBeautyKit will multiply the value displayed on the panel by an appropriate multiplier before setting it in the SDK. For example, if the Face Slimming Value set on the UI panel is 80, TEBeautyKit will multiply it by 1.2 to make it 96 before setting it in the SDK.TEPanelView
, call the setEnhancedMode
method. After the call, TEBeautyKit will multiply the value displayed on the panel by an appropriate multiplier before setting it to the SDK. For example, if the Face Slimming Value set on the UI panel is 80, TEBeautyKit will multiply it by 1.2 to make it 96 before setting it to the SDK./** * * Enabling Enhanced Mode * @param enhancedMode Whether to enable Enhanced Mode. YES: Enable Enhanced Mode; NO: Do not enable Enhanced Mode. By default, Enhanced Mode is not enabled. */[self.tePanelView setEnhancedMode:YES];
XMagic
object:enableEnhancedMode
method of TencentEffectApi
to enable Enhanced Mode.setEffect
method, the maximum value of effectValue
can be the maximum value recommended in the table below.void setEffect(String effectName,int effectValue,String? resourcePath,Map<String,String>? extraInfo);
enableEnhancedMode
method of XmagicApi
to enable Enhanced Mode.setEffect
method, the maximum value of effectValue
can be the maximum value recommended in the table below./** * Updating Beauty Object * @param effect Structure as follows * { * effectName:"", Non-empty string. Refer to the Beauty Parameters table. * effectValue: Numerical value, usually in the range of -100 to 100. Refer to the Beauty Parameters table on the official website. * resourcePath: Path of the resource file. Refer to the Beauty Parameters table https://www.tencentcloud.com/document/product/616/103616?from_cn_redirect=1 * extraInfo: A map collection. For specific values, refer to the Beauty Parameters table. * } */ static setEffect(effect)
Beauty Item Name | Recommended Maximum Enhancement Multiplier |
Whitening, shortening the face, V-face, eye distance, nose position, removal of laugh lines, lipstick, three-dimensional appearance | 1.3x |
Eye lightening | 1.5x |
Blush | 1.8x |
Others | 1.2x |
| |
| |
| |
Was this page helpful?