BackgroundFilterVideoFrameProcessor
BackgroundFilterVideoFrameProcessor Draws frames to RGBA, converts to CPU, identifies the foreground person and applies filter (blur or replacement) to a video frame.
Parameters
Functions
Link copied to clipboard
fun drawImageWithMask(scaledInputBitmap: Bitmap, outputBitmap: Bitmap?, filteredBitmap: Bitmap?): Bitmap?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Scales the input bitmap as per ML model specification.
Link copied to clipboard