-
Book Overview & Buying
-
Table Of Contents
Kinect for Windows SDK Programming Guide
By :
We have covered three (color, depth, skeleton) types of data streams that are returned by the sensor. One of the common things we have noticed is the frame ready events with each of the streams (ColorFrameReady for ColorStream, DepthFrameReady for DepthStream, and SkeletonFrameReady for SkeletonStream). We had to subscribe to the events individually for different stream data and every corresponding event argument has a method that pulls the frames from stream data (OpenColorImageFrame, OpenDepthImageFrame, and OpenSkeletonFrame). The application raises the appropriate type of handler only when the subscribed stream data is ready. For example, SkeletonFrameReady will only be invoked when the sensor returns the skeleton data.
For a real application, we have seen that most of the time we need all three types of data streams. Rather than using different event handlers for different streams, we can use a single event AllFramesReady, which will do the job for all three...
Change the font size
Change margin width
Change background colour