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

Pupil Core: No USB Camera detected for Microsoft Windows 10 #2198

Closed
sunshineinsandiego opened this issue Oct 15, 2021 · 1 comment
Closed

Comments

@sunshineinsandiego
Copy link

sunshineinsandiego commented Oct 15, 2021

Hi - I recently installed Pupil Core 3.4.0 and it is not able to detect a usb webcam from a DIY kit (Microsoft HD6000). The error messages I receive are here.

world - [INFO] numexpr.utils: NumExpr defaulting to 2 threads.
world - [INFO] launchables.world: Application Version: 3.4.0
world - [INFO] launchables.world: System Info: User: user, Platform: Windows, Machine: LAPTOP-5IEKJH9P, Release: 10, Version: 10.0.19041
world - [INFO] launchables.world: Session setting are from a different version of this app. I will not use those.
Running PupilDrvInst.exe --vid 1443 --pid 37424
OPT: VID number 1443
OPT: PID number 37424
Running PupilDrvInst.exe --vid 1443 --pid 37425
OPT: VID number 1443
OPT: PID number 37425
Running PupilDrvInst.exe --vid 1443 --pid 37426
OPT: VID number 1443
OPT: PID number 37426
Running PupilDrvInst.exe --vid 1133 --pid 2115
OPT: VID number 1133
OPT: PID number 2115
Running PupilDrvInst.exe --vid 6127 --pid 18447
OPT: VID number 6127
OPT: PID number 18447
Running PupilDrvInst.exe --vid 3141 --pid 25771
OPT: VID number 3141
OPT: PID number 25771
world - [ERROR] video_capture.uvc_backend: Could not connect to device! No images will be supplied.
world - [WARNING] camera_models: No camera intrinsics available for camera (disconnected) at resolution (1280, 720)!
world - [WARNING] camera_models: Loading dummy intrinsics, which might decrease accuracy!
world - [WARNING] camera_models: Consider selecting a different resolution, or running the Camera Instrinsics Estimation!
world - [WARNING] launchables.world: Process started.
eye0 - [INFO] numexpr.utils: NumExpr defaulting to 2 threads.
eye1 - [INFO] numexpr.utils: NumExpr defaulting to 2 threads.
eye0 - [INFO] pupil_detector_plugins: Using refraction corrected 3D pupil detector.
eye0 - [INFO] launchables.eye: Session setting are from a different version of this app. I will not use those.
eye1 - [INFO] pupil_detector_plugins: Using refraction corrected 3D pupil detector.
eye1 - [INFO] launchables.eye: Session setting are from a different version of this app. I will not use those.
Running PupilDrvInst.exe --vid 1443 --pid 37424
OPT: VID number 1443
OPT: PID number 37424
Running PupilDrvInst.exe --vid 1443 --pid 37425
OPT: VID number 1443
OPT: PID number 37425
Running PupilDrvInst.exe --vid 1443 --pid 37426
OPT: VID number 1443
OPT: PID number 37426
Running PupilDrvInst.exe --vid 1443 --pid 37424
Running PupilDrvInst.exe --vid 1133 --pid 2115
OPT: VID number 1133
OPT: PID number 2115
Running PupilDrvInst.exe --vid 6127 --pid 18447
OPT: VID number 6127
OPT: PID number 18447
Running PupilDrvInst.exe --vid 3141 --pid 25771
OPT: VID number 3141
OPT: PID number 25771
eye0 - [ERROR] video_capture.uvc_backend: Could not connect to device! No images will be supplied.
eye0 - [WARNING] camera_models: No camera intrinsics available for camera (disconnected) at resolution (192, 192)!
eye0 - [WARNING] camera_models: Loading dummy intrinsics, which might decrease accuracy!
eye0 - [WARNING] camera_models: Consider selecting a different resolution, or running the Camera Instrinsics Estimation!
OPT: VID number 1443
OPT: PID number 37424
Running PupilDrvInst.exe --vid 1443 --pid 37425
OPT: VID number 1443
OPT: PID number 37425
Running PupilDrvInst.exe --vid 1443 --pid 37426
OPT: VID number 1443
OPT: PID number 37426
Running PupilDrvInst.exe --vid 1133 --pid 2115
OPT: VID number 1133
OPT: PID number 2115
Running PupilDrvInst.exe --vid 6127 --pid 18447
OPT: VID number 6127
OPT: PID number 18447
Running PupilDrvInst.exe --vid 3141 --pid 25771
OPT: VID number 3141
OPT: PID number 25771
eye1 - [ERROR] video_capture.uvc_backend: Could not connect to device! No images will be supplied.
eye1 - [WARNING] camera_models: No camera intrinsics available for camera (disconnected) at resolution (192, 192)!
eye1 - [WARNING] camera_models: Loading dummy intrinsics, which might decrease accuracy!
eye1 - [WARNING] camera_models: Consider selecting a different resolution, or running the Camera Instrinsics Estimation!
eye1 - [WARNING] launchables.eye: Process started.
eye0 - [WARNING] launchables.eye: Process started.

Additionally when I attempt to manually select a USB camera, I receive "camera already in use or blocked" in the GUI. As per the screenshot. Also see "Local USB Disconnected."

Screenshot (3)

A screenshot of my device manager shows that the HD6000 is recognized in "Imaging Devices" but not in "Cameras".
Screenshot (1)

I'm running Windows 10 on a new Asus laptop.

Any help would be appreciated. Thank you!

@sunshineinsandiego
Copy link
Author

So I ended up getting this to work (albeit with some issues).
(1) Uninstalled my previously installed version of Python 3.9
(2) Installed Python 3.6.8 from Windows x86-64 executable installer: https://www.python.org/downloads/release/python-368/
(3) Followed steps 1-7 here: https://github.com/pupil-labs/pyuvc/blob/master/WINDOWS_USER.md
(4) Installed the MSVC 2010++ Redistributable from here: https://www.microsoft.com/en-us/download/details.aspx?id=26999 (Note the link to the redistributable on the github instructions is broken)
(5) Downloaded and installed the latest .whl file from the github instructions: https://github.com/pupil-labs/pyuvc/releases
using a virtual environment with Python 3.6.8 installed in step (2). (Note the typo in the instructions. pip install --upgrade uvc-0.13-cp36-cp36m-win_amd64.whl should read pip install --upgrade uvc-0.14-cp36-cp36m-win_amd64.whl.

This resulted in Pupil Capture working on Windows 10 with the HD6000 webcam. But with a few issues:

  • Frame rate is consistently 6-8fps. Not sure if this is due to the driver not being able to handle a higher frame rate? See this link re: isochronous questions for that driver library: libuvc on Windows libuvc/libuvc#12
  • Image quality is poor compared to using the same webcam used on a mac.
  • Pupil detection much less consistent, possibly due to the two previous issued mentioned.

Thanks!

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