amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.video.backgroundfilter.backgroundblur / BackgroundBlurVideoFrameProcessor / <init>

<init>

BackgroundBlurVideoFrameProcessor(logger: Logger, eglCoreFactory: EglCoreFactory, context: Context, configurations: BackgroundBlurConfiguration?)

BackgroundBlurVideoFrameProcessor Draws frames to RGBA, converts to CPU, identifies the foreground person and blurs the background of a video frame.

Parameters

logger - : Logger - Logger to log the data.

eglCoreFactory - : EglCoreFactory - Factory to create EglCore objects to hold EGL state.

context - : Context - Context to create blur and segmentation processor.

configurations - : BackgroundBlurConfiguration - BlurStrength - how much blur to apply to a frame. It specifies blurValue that corresponds to blur radius used in gaussian blur. It accepts a float value from 0 to 25, where higher the number more blurrier the image will be.