Add an observer to receive notifications about Amazon background blur processor events. See BackgroundBlurVideoFrameProcessorObserver for details. If the observer has already been added, this method call has no effect.
Destroys the processor.
internal method to load assets like WASM files, web workers, and ML models.
Processes the array of VideoFrameBuffer and returns an array of VideoFrameBuffer.
Remove an existing observer. If the observer has not been previously {@link BackgroundBlurVideoFrameProcessorObserver.addObserver|added}, this method call has no effect.
This setter will allow setting the blur strength mid stream. The process method will use this setting on the next frame that is processed.
Set the EventController to the VideoFrameProcessor
Generated using TypeDoc
Interface to define extra methods that need to be implemented for background blur processing