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

<init>

BackgroundReplacementVideoFrameProcessor(logger: Logger, eglCoreFactory: EglCoreFactory, context: Context, configurations: BackgroundReplacementConfiguration?)

BackgroundReplacementVideoFrameProcessor Draws frames to RGBA, converts to CPU, identifies the foreground person and replaces 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 segmentation processor.

configurations - : BackgroundReplacementConfiguration - Image to replace the background with.