Kinect设备导致与网络摄像头冲突 [英] Kinect device causes conflict with Webcam

查看:137
本文介绍了Kinect设备导致与网络摄像头冲突的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在做一个涉及kinect设备和另一个USB网络摄像头的项目。 kinect部分和网络摄像头部分是单独构建的,并按预期工作,但只有在集成步骤中,我发现每次我的kinect设备插入同一台计算机时,我的网络摄像头无法工作




Kinect设备正在使用Microsoft Kinect SDK运行,网络摄像头使用OpenCV进行连接,OpenCV使用DirectShow来方便连接。



我尝试使用其他程序,如virtualdub和其他方式通过Directshow访问网络摄像头,每次在Kinect拔出时工作,并在插入Kinect时停止工作。




我认为它可能与网络摄像头的电量不足有关,但是Directshow能够识别网络摄像头而无法获得视频流。网络摄像头和kinect设备也位于计算机的两个不同侧面,因此它们不是
,它们彼此接近电流。网络摄像头没有外接电源,只能使用USB线运行,但我也尝试使用外部供电的USB集线器运行网络摄像头,问题仍然存在。



每当Kinect设备与网络摄像头同时连接时,导致Directshow搞乱网络摄像头连接的原因是什么?有没有办法让我检查有关网络摄像头问题的Directshow?

I am doing a project that involves both a kinect device and another USB webcam. The kinect portion and the webcam portion were built separately and were working as expected, but only during the integration step did I find out that my webcam cannot work every time my kinect device is plugged into the same computer.

Kinect device is running using Microsoft Kinect SDK and the webcam is connected using OpenCV which uses DirectShow to facilitates the connection.

I tried using other programs like virtualdub and other ways to access the webcam through Directshow, and every time it works when Kinect is unplugged, and stops working when Kinect is plugged in.

I thought it might has something to do with shortage of power for the webcam, but Directshow was able to recognize the webcam without being able to get the video stream. The webcam and kinect device are also on 2 different side of the computer so they aren't both drawing current near each other. The webcam does not have external power supply and only runs using a USB cable, but I also tried running the webcam using externally powered USB hub and the problem still exists.

What is causing Directshow to mess up the webcam connection every time Kinect device is connected at the same time as the webcam? Is there any way for me to check Directshow on the problem with the webcam?

推荐答案

您不能将Kinect设备插入同一USB主机控制器。根据硬件的不同,您可以在硬件内部连接多个USB端口。检查设备管理器,确保使用单独的USB端口。使用View
>通过连接菜单选项。
You cannot have a Kinect device plugged to the same USB Host Controller. Depending on the hardware you could have multiple USB ports that are attached internally in hardware. Check Device Manager and make sure you are using separate USB port. Use the View > by connection menu option.


这篇关于Kinect设备导致与网络摄像头冲突的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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