问题
I am new to Kinect development. I am using the Kinect v2 and to create a Windows store application following the Face Basics example found here. I want to be able to capture a face image if the face is engaged. I am having trouble however capturing the image from the Win2D CanvasControl
. I am not sure how else I can capture the face image.
Can anyone assist me with how I might accomplish this?
回答1:
In the Face Basics example, the author is storing the image captured by the Kinect sensor in a CanvasBitmap (eg line 38 of the ColorFrameSourceRenderer code snippet).
I assume that by "capturing the image" you mean "save to disk". The contents of this bitmap can then be saved using the SaveAsync method.
来源:https://stackoverflow.com/questions/32803516/capture-image-from-kinect-v2-sensor