AI Effects
On this page

Struct

ZegoEffectsAcneRemovingParamZegoEffectsClarityParam
ZegoEffectsSkinColorParam

ZegoEffectsAcneRemovingParam

Developers can adjust the acne removal parameters through this category.

Details

Detailed description: The coefficient value of the acne removing parameter, which reflects the intensity of the effect through the coefficient value

Business scenario: One of the basic beauty effects

Calling timing/notification timing: passed when calling the setAcneRemovingParam() function

Related callback: The function onError will spit out the error code. The default normal value is 0.

Properties

intensity

intensity
intensity: number

Acne removing strength, default value is 90, and the range [0~100].

ZegoEffectsClarityParam

Developers can adjust the coefficient value of the clarity parameter.

Details

Detailed description: The reflects the intensity of the effect through the coefficient value.

Business scenario: One of the basic beauty effects

Calling timing/notification timing: passed when calling the setClarityParam() function.

Related callback: The function onError will spit out the error code. The default normal value is 0.

Properties

intensity

intensity
intensity: number

the larger the value, the greater the clarity,default value is 0, and the range is [0~100].

ZegoEffectsSkinColorParam

Developers can adjust the skin color parameters through this category.

Details

Detailed description: The coefficient value of the skin color parameter, which reflects the intensity of the effect through the coefficient value

Business scenario: One of the basic beauty effects

Calling timing/notification timing: First use setSkinColorResPath() to load the skin resource, and then pass the parameter when calling the setSkinColorParam() function.

Related callback: The function onError will spit out the error code. The default normal value is 0.

Properties

intensity

intensity
intensity: number

the skin color intensity, default value is 0,and the range [0~100].

Previous

Class

Next

Enum

On this page

Back to top