ColorEnhanceOptions

Color enhancement options.

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

Properties

strengthLevel
Color enhancement intensity. Value range: [0.0,1.0]. 0.0 means no color enhancement is applied to the video. The higher the value, the stronger the enhancement. Default is 0.5.
skinProtectLevel
Skin tone protection level. Value range: [0.0,1.0]. 0.0 means no skin tone protection is applied. The higher the value, the stronger the protection. Default is 1.0.
  • When the color enhancement level is high, facial skin tones may become noticeably distorted. You should set the skin tone protection level.
  • A higher skin tone protection level may slightly reduce the color enhancement effect.
Therefore, to achieve the best color enhancement effect, it is recommended that you dynamically adjust strengthLevel and skinProtectLevel to achieve the optimal result.