Salem 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.
erik 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
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
erik 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
Salem 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
erik 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
Salem erik Hello erik, I bought a new usb3 cable, didn't seem to help with the Demo. The following examples were tested. ColorCamera Preview (Works with some noticeable Lag). MonoCamera Preview (Works with some noticeable Lag). Depth Preview (gives the same error).
erik Hello Salem , could you share the log you now get? Is it any different, has the usb speed changed?
erik 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
Salem 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.
erik 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 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?
Salem 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 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
Salem 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 the camera's calibration was erased ( i don't know why) the solution was simply to recalibrate the camera here is the link for the issue discussion