Package-level declarations

Types

Link copied to clipboard

BackgroundFilterVideoFrameProcessor Draws frames to RGBA, converts to CPU, identifies the foreground person and applies filter (blur or replacement) to a video frame.

Link copied to clipboard
class ModelShape @JvmOverloads constructor(var height: Int = 256, var width: Int = 144, var modelRangeMin: Int = 0, var modelRangeMax: Int = 1, var channels: Int = 4)

ModelShape Defines the shape of an ML model. This can be used to define the input and output shape of an ML model.

Link copied to clipboard
class SegmentationProcessor(val context: Context)

SegmentationProcessor predicts foreground mask for an image.