BlurredBackgroundVideoFilter

constructor(blurIntensity: BlurIntensity = BlurIntensity.MEDIUM, foregroundThreshold: Double = DEFAULT_FOREGROUND_THRESHOLD)

Parameters

blurIntensity

The intensity of the blur effect. See BlurIntensity for options. Defaults to BlurIntensity.MEDIUM.

foregroundThreshold

The confidence threshold for the foreground. Pixels with a confidence value greater than or equal to this threshold are considered to be in the foreground. Value is coerced between 0 and 1, inclusive.