本文介绍了从Kinect v2传感器捕获图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Kinect开发新手。我正在使用Kinect v2并创建一个Windows应用商店应用程序,该应用程序遵循以下Face Faceics示例:。我希望能够捕捉到脸部图像。然而,我从Win2D CanvasControl 捕获图像时遇到了麻烦。



任何人都可以协助我如何实现这一目标吗?

b
$ b

我假设通过捕捉图像,您的意思是保存到磁盘。然后可以使用方法保存此位图的内容。


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?

解决方案

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.

这篇关于从Kinect v2传感器捕获图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-14 12:30