KinectUIAdapter.bindStreamToCanvas Function

Kinect for Windows 1.8

Binds the specified canvas element to the specified image stream.

bindStreamToCanvas(streamName, canvas);

Parameters

streamName

Type: String

Name of the stream to bind to the specified canvas element. This must be one of the supported image stream names; stream names are defined by the *_STREAM_NAME properties of the Kinect interface.

canvas

Type: Object

Canvas element to bind to the specified image stream.

Image data for the bound stream will be rendered onto the canvas element whenever a new stream frame arrives.

Library: Kinect-1.8.0.js

Community Additions

ADD
Show: