ColorEnhanceOptions

Color enhancement options.

public class ColorEnhanceOptions
    {
        public float strengthLevel { set; get; }
        public float skinProtectLevel { set; get; }

        public ColorEnhanceOptions(float stength, float skinProtect)
        {
            strengthLevel = stength;
            skinProtectLevel = skinProtect;
        }

        public ColorEnhanceOptions()
        {
            strengthLevel = 0;
            skinProtectLevel = 1;
        }
    };

Properties

strengthLevel
Degree of color enhancement. Value range is [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
Degree of skin tone protection. Value range is [0.0,1.0]. 0.0 means no skin tone protection. The higher the value, the greater the protection. Default is 1.0.
  • When the color enhancement level is high, facial skin tones may appear distorted, so you need to set the skin protection level.
  • A higher skin protection level may slightly reduce the color enhancement effect.
Therefore, to achieve the best color enhancement result, it is recommended that you dynamically adjust strengthLevel and skinProtectLevel to achieve the optimal effect.