有没有合适的方法来关闭传感器? [英] Is there a proper way to close the sensor ?

查看:65
本文介绍了有没有合适的方法来关闭传感器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,

我实际上正在学习Kinect SDK,我从一个小例子开始,只需在头部和手部位置绘制椭圆。

I am actually Learning the Kinect SDK and I start with a small exemple which simply draw ellipse at Head and hands position.

当我第一次启动应用程序时,所有工作正常。

然后我使用Windows系统X框关闭应用程序,然后重新启动它。

When I start the application the first time all is working fine.
Then I close the application using the Windows System X box, and restart it.

那时我的跟踪没有显示任何内容,返回坐标变为-infinity值。

At that time my tracking is not displaying anything, return coordinate goes to -infinity value.

唯一的恢复方法是完全关闭Kinect电源并重新插入。

Only way to recover is to switch off the Kinect power completly and replug it.

要避免这种情况吗?

问候

serge

您的知识会被其他人的知识所增强。

Your knowledge is enhanced by that of others.

推荐答案

在您的KinectSensor对象上调用.Close()。

Call .Close() on your KinectSensor object.

你说你是从Kinect开始的,你在论坛上发了很多问题,但是你看看

Kinect Jumpstart视频
?我认为他们非常有帮助。

You said you are starting with Kinect and you have posted a lot of question in the forum, but did you take a look at the Kinect Jumpstart videos? I think they are very helpful.


这篇关于有没有合适的方法来关闭传感器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆