简体   繁体   中英

Can't get a picture from web-cam with OpenCV when Asus Xtion Pro is plugged in

I can get an image from web-cam (Microsot HD-3000) with OpenCV and everything works fine, when Xtion isn't plug in USB of computer, but if I just plug it in I get only a gray image from web-cam. Skype can't get image too. Xtion works well with OpenNI 2. I use Windows 7 x86 on my Computer and OpenCV 2.4.0.

The problem you are likely facing is the limitation of the USB bus. Especially Microsoft lifecams are sensitive to this problem as they tend to grab the maximum bus speed they can. If they can't do this they stop working. The solution to this can be either very simple or a little more complicated.

1: Switch around USB plugs. Some mainboards have different USB buses on different ports. By swapping around you might be able to find a configuration that does work for you.

2: Expand your system with another USB bracket. If the solution in 1 doesn't work you're going to have to expand your computer with more USB ports to get around the bus limitation.

3: Use as less USB devices as possible, don't use the ASUS Xtion, or buy a different webcam

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM