使用远程WMI时,Windows传感器的Kinect无法启动 [英] Kinect for windows sensor does not start when using remote WMI

查看:214
本文介绍了使用远程WMI时,Windows传感器的Kinect无法启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

场景

我编写了一个软件(让我们称之为kinectRecorder.exe),它使用了"kinect for windows sensor"。记录图像。连接到kinect传感器的机器安装了Windows 8.1和kinect v2。该软件能够在本地运行时成功记录kinect传感器的
图像。 (意思是如果我从vs2013点击f5,帧被记录到本地磁盘)

I have written a software (lets call it kinectRecorder.exe) that uses "kinect for windows sensor" to record images. The machine that connects to the kinect sensor has windows 8.1 and kinect v2 installed. The software is able to successfully records images from kinect sensor when running locally. (meaning if I hit f5 from vs2013, frames are recorded to local disk)

由于资源限制和其他要求,我必须远程从Windows 7机器上启动Windows 8.1机器上的kinectRecorder.exe。在Windows 7机器上,我使用Windows WMI基础设施远程启动kinectRecorder.exe。 

Due to resource constraint and other requirement, I have to remotely kickoff kinectRecorder.exe on the windows 8.1 machine from a windows 7 machine. on the windows 7 machine, I remotely kick off the kinectRecorder.exe using windows WMI infrastructure. 

用于Windows 8.1机器和Windows 7机器的凭据在相同的Windows域下是相同的。用于在wmi中进行身份验证的凭据也是相同的,我可以在kinectrecorder.exe远程启动
后看到运行kinectRecorder.exe的用户名。 

The credential used for windows 8.1 machine and windows 7 machine are the same under same windows domain. the credential used to authenticate in wmi is also the same, I can see the user name running kinectRecorder.exe after kinectrecorder.exe is started remotely. 




问题

Problem:

结果是kinectRecorder。 exe启动正常,但在kinectsensor.open调用之后,isavailable属性更改为false,表示未检测到传感器。 

The result is that kinectRecorder.exe starts ok, but after the kinectsensor.open call, isavailable property changed to false, meaning sensor not detected. 

问题

什么停止检测/打开kinect传感器(我不知道这里的正确行话是什么)?

What's stopping kinect sensor to be detected/opened (i'm not sure what the correct jargon is here)?

我一直在网上搜索,在msdn文档(已知问题)中,我找不到提到的问题。我想知道我是否是以前唯一遇到此问题的人。 

I have been search the web, In msdn documentation (known issues),  I cannot find the problem being mentioned. I wonder if I'm the only person who has encountered this issue before. 

非常感谢任何指针。 

Any pointer is hugely appreciated. 

推荐答案

Kinect不受支持由于用户会话的基本需求,服务的上下文,请参阅

https://social.msdn.microsoft.com/Forums/en-US / 72cecf8b-ac64-47e2-b54b-ddbd1dc237c9 / calling-kinect-sdk-apis-from-a-windows-service-is-not-possiblesupported?forum = kinectv2sdk

可以确定系统至少有一个登录用户,并且您是否可以在该用户会话中启动应用程序?KinectMontior / KinectService必须在运行时运行才能从传感器获取任何数据。如果你使用远程
桌面登录该用户会话,你可以通过运行任何样本来确认这是有效的,它们应该没有问题(请记住确保你的音频远程处理留在服务器上,请参阅故障排除指南

https://social.msdn.microsoft.com/Forums/en-US,,,,,,,,,,,,,,,,,,,,,,,,,
)。

Can determine that the system has at least one logged in user and can you launch the application within that users session? KinectMontior/KinectService must be running for the runtime to get any data from the sensor. If you use Remote Desktop to log into that user session, you can confirm this works by running any of the samples and they should work without issue(remember to ensure that your audio remoting is left on the server, see troubleshooting guide https://social.msdn.microsoft.com/Forums/en-US/20dbadae-dcee-406a-b66f-a182d76cea3b/troubleshooting-and-common-issues-guide?forum=kinectv2sdk).


这篇关于使用远程WMI时,Windows传感器的Kinect无法启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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