depthai-python icon indicating copy to clipboard operation
depthai-python copied to clipboard

X_LINK_COMMUNICATION_NOT_OPEN error when using OAK as webcam

Open chandan-naik-rupeek opened this issue 3 years ago • 3 comments

branch: gen2_uvc

Describe the bug I get an X_LINK_COMMUNICATION_NOT_OPEN error when running script to use OAK as a WebCam. RuntimeError: Failed to connect to device, error message: X_LINK_COMMUNICATION_NOT_OPEN

To Reproduce

  1. install python3.10 in windows.
  2. follow steps as mentioned in here
  3. I get the error in the last step python3 examples/rgb_uvc.py

Expected behavior The expected behaviour is: the output should be: Device started, please keep this process running ...

chandan-naik-rupeek avatar Dec 27 '21 11:12 chandan-naik-rupeek

@chandan-naik-rupeek This is a known issue on Windows only. Sorry for this, we'll try to fix it these days. It's a problem with the USB descriptors on Windows, due to addition of the UVC interface, the XLink VSC interface no longer works to send the depthai pipeline to device.

alex-luxonis avatar Dec 27 '21 14:12 alex-luxonis

Is there any other method using which I can use the OAK as a uvc device?

chandan-naik-rupeek avatar Dec 27 '21 15:12 chandan-naik-rupeek

Yes, in the meantime using a loopback device in Windows likely should work: https://docs.luxonis.com/en/latest/pages/oak_webcam/

Luxonis-Brandon avatar Dec 28 '21 23:12 Luxonis-Brandon