Class BackgroundBlurVideoFrameProcessor

[[BackgroundBlurVideoFrameProcessor]] Creates a background blur processor which identifies the foreground person and blurs the background.

Hierarchy (View Summary)

Constructors

Methods

  • 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.

    Parameters

    Returns Promise<BackgroundBlurProcessor>

  • This method will detect the environment in which it is being used and determine if background blur can be used.

    Parameters

    Returns Promise<boolean>

    a boolean promise that will resolve to true if supported and false if not