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

OpenError on Arch #58

Open
ferdavid1 opened this issue Dec 3, 2018 · 0 comments
Open

OpenError on Arch #58

ferdavid1 opened this issue Dec 3, 2018 · 0 comments

Comments

@ferdavid1
Copy link

ferdavid1 commented Dec 3, 2018

Hello! I've opened an issue for this because I could find little to no information on this error other than a Windows-only fix.
Here is the relevant code:
import uvc
dev_list = uvc.device_list()
print([x['uid'] for x in dev_list])
cam1 = uvc.Capture(dev_list[1]["uid"])
cam2 = uvc.Capture(dev_list[2]['uid'])

Here is the std. out and error message:
['1:3', '1:7', '1:6', '1:5']
Traceback (most recent call last):
File "facialrec_opencv.py", line 108, in <module>
run_feed()
File "facialrec_opencv.py", line 81, in run_feed
cam1 = uvc.Capture(dev_list[1]["uid"])
File "uvc.pyx", line 455, in uvc.Capture.__init__
File "uvc.pyx", line 507, in uvc.Capture._init_device
uvc.OpenError
The last 3 devices in the device_list std. out (1:7, 1:6, 1:5) are pupil labs cameras from the headset. Here they are in output from lsusb:

Bus 001 Device 007: ID 05a3:9230 ARC International Camera
Bus 001 Device 006: ID 05a3:9230 ARC International Camera
Bus 001 Device 005: ID 05a3:9232 ARC International
I'm running Arch Linux, and have compiled pyuvc, libuvc, libjpeg-turbo, and libusb from the pupil-labs repos. I have additionally tried building everything and trying again on a different desktop also running arch, only to get the exact same error. Anything would help, thank you.

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