Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use both a kinect and a regular webcam at the same time #682

Open
Sequential-circuits opened this issue Mar 5, 2024 · 1 comment

Comments

@Sequential-circuits
Copy link

I have to unplug one otherwise I either get the error when the kinect works
cv2.error: OpenCV(4.9.0) /io/opencv/modules/highgui/src/window.cpp:971: error: (-215:Assertion failed) size.width>0 && size.height>0 in function 'imshow'

or this when the webcam works:
Failed to claim camera interface: LIBUSB_ERROR_NOT_FOUND
Failed to open camera subdevice or it is not disabled.Failed to open motor subddevice or it is not disabled.Failed to open audio subdevice or it is not disabled.Error: Invalid index [0]
Error: Can't open device. 1.) is it plugged in? 2.) Read the README

@Sequential-circuits
Copy link
Author

I believe this must be because freenect seems to grab the entire USB stack not allowing it to be used for anything else. I read that somewhere, that you cannot use the cameras and the led/motor at the same time because of this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant