-
Notifications
You must be signed in to change notification settings - Fork 370
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
OAK-D not found #36
Comments
Hi @kurisutofu . As for the error, it seems like you are running an older (gen1) depthai library. Can you try installing the requirements as specified in gaze-estimation
|
So, I was initially not using a virtual environment, and originally had the v0.4.0.0 installed to run the I don't understand how, but I managed to get it working after switching between versions by editing the
I also tried it in a virtual environment just now and that seems to work just fine, but I'm not sure if accidentally "fixed" something earlier when I was messing around, rather than the virtual environment fixing it. I'm on Windows 10, and just cloned the repo today. Click to show log
|
Thanks for the update @drojf . Very curious. |
I had tried already installing the requirement but I was in the same virtual environment as the dephAi demo. |
I forgot to mention I'm running the scripts on the rapsberry pi 4. I tried again and I got the same error, even in a separate virtual environment. However, after checking git, I saw I was not using the latest files anymore so did a pull and installed the requirements again.
After trying again, this time, I get the following:
Any idea what I could do? |
Sorry about the delay here. Will pull @VanDavv in for help, as he wrote this example. |
Hi @kurisutofu And before installing dependencies in your environment, could you run there commands first
And then install requirements using
|
Hi @VanDavv , Thanks for your help. This worked, thank you! However, it's very slow on the raspberry pi 4. I'm talking really slow. Very sluggish and a few seconds delay. |
@kurisutofu yes, this is the first example we had of gen2 actually running, so it lacks optimizations we developed when working with new experiments. |
@VanDavv , Thanks for your reply. |
In my case I was running depthai inside docker. Looks like udev support for libusb needs to be disabled in this case with ./configure --disable-udev as done in the luxonis Dockerfile |
I installed the requirements and plugged the OAK-D depthAI camera.
When running main.py with parameter -cam, I get the message below:
The depthAi_demo script from Luxonis works fine with the camera.
[Update]
In fact, the depathAi demo worked fine before I installed the requirements for the gaze detection.
Now, it was broken due to a version conflict and I re-installed the depthAI requirements for the demo.
Now the demo works fine but I get a different error for the gaze detection:
What do I need to do to resolve this?
The text was updated successfully, but these errors were encountered: