我在macOS High Sierra上使用kinect v1,并将libfreenect用于python。我正在尝试使用
访问kinect上的深度摄像机供稿 array,_ = freenect.sync_get_depth()
这以前从来没有给我带来问题,但是现在,每次我运行该程序时,都会遇到此错误:
Failed to claim camera interface: LIBUSB_ERROR_ACCESS
Error: Invalid index [0]
Error: Can't open device. 1.) is it plugged in? 2.) Read the README
但是,如果我在终端中运行freenect-glview
,就没有问题,并且一切正常。我尝试重新插入设备,但似乎不起作用。