Skip to content

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

Open

Description

@Sequential-circuits

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

Activity

  1. Sequential-circuits commented on Mar 5, 2024

    @Sequential-circuits
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions