在Kinect传感器上调用Stop()会冻结我的应用程序 [英] Calling Stop() on the Kinect Sensor freezes my app

查看:72
本文介绍了在Kinect传感器上调用Stop()会冻结我的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用托管代码与Kinect一起使用,在退出时我在Kinect传感器上调用Stop()但有时会导致应用程序处理(假设此方法阻塞主线程),这需要我重新启动Windows(使用硬开关)
继续。 

I'm using Managed Code to work with the Kinect and during exiting I call Stop() on the Kinect sensor but sometimes it causes the application to hand (assuming this method is blocking the main thread) which requires me to restart windows (using the hard switch) to continue. 

有没有其他人遇到此问题?

Has anyone else come across this issue?

FYI;

我正在轮询SkeletonStream而不是使用FrameReady回调,也运行深度和颜色流(不直接轮询它们,因为此刻不需要它们)。 

I'm polling the SkeletonStream rather than using the FrameReady callback, also have depth and colour streams running (not polling them directly as not requiring them at the moment). 

感谢任何建议, 

Appreciate any suggestions, 

Josh

推荐答案

您使用的是哪个版本的SDK?
what version of the SDK are you using?


这篇关于在Kinect传感器上调用Stop()会冻结我的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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