检测到kinect但没有图像? [英] kinect detected but no image?

查看:610
本文介绍了检测到kinect但没有图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我在笔记本电脑上使用Unity3d和kinect开发了一个应用程序。在我的应用程序的右下角有一个小窗口,上面有kinect看到的彩色图像。我想测试用户在使用应用程序之前需要做什么,
所以我做了一个构建并将.exe和数据文件夹复制到usb然后将它们放在三个不同的PC上。


当我在第一台电脑(Windows 8.1)中插入kinect时,它开始安装运行时2.0驱动程序。之后我开始申请并在右下角得到一张灰色图像。只是灰色,没有别的。所以我决定下载sdk,下载
运行时1.8,就像我在笔记本电脑上安装一样。仍然是灰色图像。 


然后我在第二台电脑上插入了kinect(Windows 8.1)。它开始安装驱动程序。我得到一个弹出窗口,"勾选你想用这个设备做什么",并且有一个选项说下载,所以我只是勾选了。大约5分钟后,i
决定启动我的应用程序并且工作正常。


然后我在第三台PC(Windows 8)上插入了kinect,它有同样的问题第一台电脑。现在我正在检查这台PC上的任务管理器,它说kinectmonitor.exe处于活动状态,偶尔会有一个kinectservice.exe,但kinectservice.exe
会一直显示并消失。


<只有在第一台和第三台机器上发生的事情才发生在第一台和第三台上没有发生的事情,是带有这个设备你想要做什么的弹出窗口,我甚至不确定这是否能解决我的问题。


所以有人知道我应该检查什么以使我的应用程序在第一台和第三台PC上工作吗? 


此外,还有什么否则用户应该在运行kinect应用程序之前下载/安装(只是运行,而不是开发!)。



谢谢




解决方案

如果您使用的是Kinect 2.0传感器,则需要v2 SDK:
https://social.msdn.microsoft.com/Forums/en-US/5c3b67b6-3fe2-4789-b2df-eb63419e7ab6/kinect-for-windows-v2-sdk-now -available?forum = kinectv2sdk


由于支持c ++插件,对Kinect的Unity支持需要Unity 4 Pro或Unity 5个人最低要求。首次连接传感器时,传感器需要一分钟来更新其固件。在此之后,您可以运行
来自SDK的任何示例,以确保运行时和传感器正常工作。您可能需要重新启动以确保运行时从驱动程序获取数据。


要确认设备的运行,请运行Kinect Configuration Verifier以确保系统满足所需的USB3芯片组和GPU要求。 UI中的最后一个卷展栏提供了fps和深度/彩色图像以确认操作。如果没有运行
30fps,请查看常见问题和解决方法的故障排除指南:


https://social.msdn.microsoft.com/Forums/en-US/20dbadae- DCEE-406A-b66f-a182d76cea3b /故障排除和 - 共问题导?论坛= kinectv2sdk


Hi all,

I developped an application with Unity3d and the kinect on my laptop. In the bottom right corner of my application there's a small windows with a colour image of what the kinect is seeing. I wanted to test what users need to do before they can use the application, so I made a build and copied the .exe and data folders to a usb and then put them on three different pc's.

When I plugged in the kinect in the first pc (windows 8.1), it started installing the runtime 2.0 drivers. After that I started my application and got a a grey image in the bottom right corner. Just grey, nothing else. So I decided to download the sdk, downloaded runtime 1.8, installed everything just like i did on my laptop. Still a grey image. 

Then I plugged in the kinect on the second pc (windows 8.1). it started installing the drivers. I got a popup with ' tick what you want to do with this device' and there was an option that said downloading, so I just ticked that. After about 5 minutes i decided to start my application and it worked.

Then I plugged in the kinect on the third pc (windows 8) and it has the same issue as the first pc. Now i'm checking the taskmanager on this pc and it says that kinectmonitor.exe is active and occassionally there's a kinectservice.exe, but the kinectservice.exe keeps appearing and disappearing.

only thing that happened on the second pc that didn't on the first and third, is the popup with tick what you want to do with this device and i'm not even sure if that will solve my problem.

So does anyone have any idea what I should check for to get my application working on both the first and third pc? 

Also, is there anything else that a user should download / install before running a kinect applicationg (just running, not developing!).

thanks


解决方案

If you are using the Kinect 2.0 sensor, you need the v2 SDK: https://social.msdn.microsoft.com/Forums/en-US/5c3b67b6-3fe2-4789-b2df-eb63419e7ab6/kinect-for-windows-v2-sdk-now-available?forum=kinectv2sdk

Unity support for Kinect requires Unity 4 Pro or Unity 5 personal minimum due to the support for c++ plug-ins. When you first connect the sensor there is a minute required for the sensor to update its firmware. After that point, you can run any of the samples from the SDK to ensure the runtime and sensor are working correctly. You may need to reboot to ensure the runtime is getting data from the drivers.

To confirm operation of the device, run Kinect Configuration Verifier to ensure the system meets the required USB3 chipset and GPU requirements. The last rollout in the UI provides a fps and depth/color image to confirm the operation. If that is not running 30fps, review the troubleshooting guide for common issues and workarounds:

https://social.msdn.microsoft.com/Forums/en-US/20dbadae-dcee-406a-b66f-a182d76cea3b/troubleshooting-and-common-issues-guide?forum=kinectv2sdk


这篇关于检测到kinect但没有图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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