Greetings,
I bough an OAK-D Camera from the amazon store about 2 month ago. I tried the DepthAi Demo, it was working normally. Yesterday it didn't work for some reason. I have the latest DepthAi Repo and Requirements.
Hello Salem , We apologize for the inconvenience. Could you please run the demo in trace mode, so DEPTHAI_LEVEL=trace python3 depthai_demo.py? This would help us understand the issue, and if it's a hardware issue we can send you a replacement. Thanks, Erik
DEPTHAI_LEVEL=trace python3 depthai_demo.py
erik Hello erik,
Hello Salem , I have just noticed you aren't using the release version of depthai. Could you update your depthai to the latest (2.15.3) with python3 -mpip install depthai -U and try the same thing again? I would also suggest copying the log into pastebin🙂 Thanks, Erik
python3 -mpip install depthai -U
erik Hello erik, here is the log in pastebin after the update
Hello Salem , It looks like you are using USB2 cable. Could you try with an USB3 cable instead, or force USB2 communication with python3 depthai_demo.py -usbs usb2? Thanks, Erik
python3 depthai_demo.py -usbs usb2
erik Hello erik, the camera is connect to jetson nano's usb3 port. the camera was working before using the current cable as i mentioned earlier. here is the log
Hello Salem , The camera is booted in USB2 mode, which could be the source of the problem. Could you try the suggested options mentioned above? Thanks, Erik
erik Hello erik, I bought a new usb3 cable, didn't seem to help with the Demo.
The following examples were tested.
Hello Salem , could you share the log you now get? Is it any different, has the usb speed changed?
erik Hello erik, ColorCamera LOG MonoCamera LOG Depth Preview LOG
erik Hello Erik, the camera used to work fine a week ago. is this a hardware issue ?
Hello Salem , From your logs it still shows that it uses USB2 - Usb speed: HIGH. Either use a different USB3 cable (with USB3 port on the computer as well) or force USB2 communication, see docs here. Thanks, Erik
Usb speed: HIGH
erik i am using a USB3 Cable and i tried to force USB2 Communication before. the Camera worked using my current setup before, i tried the current setup the same day i received the camera and everything was working fine.
Salem Could you try using a different USB3 cable? As mentioned, it's using USB2 firmware which doesn't work well if it's not forced into USB2 mode, which is the reason it crashes. What's the log when trying to force USB2 mode?
erik i bought a new usb3 yesterday
Hello Salem, unfortunately, that doesn't change the fact that the USB2 firmware boots. Could you share the log when you try forcing USB2 mode?
erik here is the log using forced usb2 here is a video showing oak-d connection and demo test in the video there is a power supply connected to the oak-d and usb3 cable, both were provided by the amazon store. one of my peers at university has the same camera, we tested the demo with the cable shown in the video and it worked. as i stated earlier the camera used to work. is there any hardware test that i can do to check the hardware status maybe using a multimeter or oscilloscope?
erik can you do a factory reset to the camera or something similar ?
Hello Salem , Could you try with the camera from your peer on your computer? And could you also try a different USB3 port on your computer, or try this OAK camera on a different computer? There's no factory reset for the camera. Thanks, Erik
erik Hello,
i posted an issue on github about the same problem in this discussion. the comments by szabi-luxonis solved the problem.
here is a summary
here is the link for the issue discussion