ColorEnhanceOptions

Color enhancement options.

export class ColorEnhanceOptions {
  
  strengthLevel?: number;
  
  skinProtectLevel?: number;
}

Properties

strengthLevel
Color enhancement strength. Value range is [0.0,1.0]. 0.0 means no color enhancement is applied to the video. The larger the value, the stronger the enhancement. Default value is 0.5.
skinProtectLevel
Skin tone protection level. Value range is [0.0,1.0]. 0.0 means no skin tone protection. The larger the value, the stronger the protection. Default value is 1.0.
  • When the color enhancement strength is high, facial skin tones may appear distorted. You need to set the skin tone protection level.
  • Higher skin tone protection levels may slightly reduce the color enhancement effect.
Therefore, to achieve the best color enhancement effect, it is recommended to dynamically adjust strengthLevel and skinProtectLevel for optimal results.