I'm using the Kinect SDK to read data in from a Kinect. At the minute I have an application which simply saves an image from the stream every few seconds and starts recording audio, however I only want this to execute code when movement is sensed (think security camera that starts recording when when movement is detected). I can't see any event which is raised in the code samples if movement is detected, the only thing even close being nui_SkeletonFrameReady which I could use (if I am correct) if a persons body is detected. Is there a simple way to go about this?
Currently there is no event raised in this scenario. What I did was subscribed to the image ready event which comes with the API and compared the previous image to the current image using the libraries at AForge.net.