Académique Documents
Professionnel Documents
Culture Documents
A Kinect is required
When a Kinect is required but can't be detected, the UI displays this notification:
During initialization, Windows performs the appropriate device discovery and enumeration to
initialize the Kinect drivers.
Once the notification fades out, the sensor is ready for use by any Kinect-enabled application.
Data Streams
If enabled, a Kinect can capture audio, color, and depth data, and process the depth data to
generate skeleton data. The sensor provides the data to your application in the form of a data
stream. The NUI API lets you programmatically control and access all four of the data streams.
To avoid dropping frames, ensure that your application processes and releases each frame in a
timely fashion. When initializing the NUI API, the application needs to:
Audio Stream
The Kinect sensor includes a four-element, linear microphone array, shown here in purple.
The microphone array captures audio data at a 24-bit resolution, which allows accuracy across a
wide dynamic range of voice data, from normal speech at three or more meters to a person yelling.
skeletonData = new
Skeleton[kinect.SkeletonStream.FrameSkeletonArrayLength]; // Allocate ST
data
kinect.SkeletonFrameReady += new
EventHandler<SkeletonFrameReadyEventArgs>(kinect_SkeletonFrameReady); //
Get Ready for Skeleton Ready Events
kinect.Start(); // Start Kinect sensor
}