A factory method that will call the private constructor to instantiate the processor and asynchronously initialize the worker, wasm, and ML models. Upon completion of the initialization the promise will either be resolved or rejected.
The spec defines the assets that will be used for adding background blur to a frame
This method will detect the environment in which it is being used and determine if background blur can be used.
The {@link BackgroundBlurSpec} spec that will be used to initialize assets
options such as logger
a boolean promise that will resolve to true if supported and false if not
Based on the options that are passed in set defaults for options
the options that are passed in
An updated set of options with defaults set
Based on the spec that is passed in set defaults for spec
the spec that was passed in
An updated spec with defaults set
Generated using TypeDoc
BackgroundBlurVideoFrameProcessor Creates a background blur processor which identifies the foreground person and blurs the background.