Capture Image from Kinect v2 Sensor

ε祈祈猫儿з 提交于 2019-12-08 04:19:54

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!