Add an observer to receive notifications about Amazon background replacement processor events. See BackgroundReplacementVideoFrameProcessorObserver 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 BackgroundReplacementVideoFrameProcessorObserver.addObserver|added}, this method call has no effect.
Set the EventController to the VideoFrameProcessor
The method will allow the builder to update the image blob mid stream.
Generated using TypeDoc
Interface to define extra methods that need to be implemented for background replacement processing