从Windows服务访问Kinect传感器 [英] Access the Kinect sensor from a Windows Service

查看:67
本文介绍了从Windows服务访问Kinect传感器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试开发一种可以访问Kinect进行语音识别和手势的Windows服务。当我启动服务时,它确实找到了传感器,但在尝试访问音频源,骨架流或尝试启动
传感器时出现错误。

I am trying to develop a Windows service which has access to the Kinect for speech recognition and gestures. When I start the service, it does find the sensor, but I get an error when trying access the audio source, the skeleton stream or when I try to start the sensor.

我想这是因为Windows服务无法访问外部设备,所以我想知道是否有办法从服务中使用Kinect。

I guess this is because a Windows service doesn't have access to external devices, so I would like to know if there is a way to use the Kinect from a service.

我的服务器正在运行Windows 2008 R2。我知道这不受支持,但Kinect直接从Windows应用程序访问它时工作正常。并且无法在交互模式下运行服务。

My server is running Windows 2008 R2. I know this is not supported, but the Kinect works fine when accessing it from a Windows application directly. And running the service in Interactive Mode isn't possible.

推荐答案

从会话0开始,有无法保证驱动程序为Kinect加载,因此不受支持。如果您有一个活跃的登录用户并锁定屏幕,您可以使其工作。

From session 0, there is no guarantee the drivers get loaded for Kinect and therefore,not supported. If you have an active logged in user and lock the screen, you may be able to get it to work.


这篇关于从Windows服务访问Kinect传感器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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