Render a bokeh video background to a canvas.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
backgroundBlurAmount |
Number | The number of pixels to blur the background pixels. |
bodyPix |
* | The BodyPix SDK. |
canvasElement |
* | A reference to the target canvas element. |
edgeBlurAmount |
Number | The number of pixels to blur the edge pixels. |
net |
* | The net loaded from BodyPix. |
videoElement |
* | A reference to the source video element. |