We have been using the OAK-D Pro for a couple of years in about 30 devices. We have just recently manufactured another 5 devices with a new order of Oak-D Pro's and every device crashes when trying to access the cameras.
Even running the depthai-main python scripts fail on the new cameras, but work on the old cameras. What is wrong with these new cameras? remember, all 30 of the previous cameras work, and all 5 of the new cameras do not.
Here are the messages when I run the depthai_demo.py script. The first is the failed camera, and the second is the old camera.
PS D:\Source Code\Work\depthai-main> python3 .\depthai_demo.py
Using depthai module from: C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\depthai.cp310-win_amd64.pyd
Depthai version installed: 2.17.1.0
Setting up demo...
Available devices:
[0] 19443010A1F39A2E00 [X_LINK_UNBOOTED]
USB Connection speed: UsbSpeed.SUPER
Disabling depth...
Disabling depth preview...
Disabling depthRaw preview...
Disabling left preview...
Disabling rectifiedLeft preview...
Disabling right preview...
Disabling rectifiedRight preview...
IR drivers found on OAK-D Pro: ['LM3644 on bus 2']
--> Go to the `Depth` tab to enable!
[19443010A1F39A2E00] [1.3.1] [9.609] [system] [error] Attempted to start Color camera - NOT detected!
Stopping demo...
=== TOTAL FPS ===
PS D:\Source Code\Work\depthai-main> python3 .\depthai_demo.py
Using depthai module from: C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\depthai.cp310-win_amd64.pyd
Depthai version installed: 2.17.1.0
Setting up demo...
Available devices:
[0] 18443010010B391300 [X_LINK_UNBOOTED]
USB Connection speed: UsbSpeed.SUPER
IR drivers found on OAK-D Pro: ['LM3644 on bus 2']
--> Go to the `Depth` tab to enable!
[2024-07-02 21:13:12.074] [warning] Insufficient permissions to communicate with X_LINK_BOOTED device having name "1.18.1". Make sure udev rules are set
d:\source code\work\depthai-main\depthai_sdk\src\depthai_sdk\previews.py:184: RuntimeWarning: invalid value encountered in cast
dispFrame = (dispFrame * 255. / dispIntegerLevels).astype(np.uint8)
Stopping demo...
=== TOTAL FPS ===
[color]: 26.5
[nnInput]: 25.5
[depthRaw]: 26.2
[depth]: 26.2
[left]: 25.5
[rectifiedLeft]: 25.0
[right]: 25.2
[rectifiedRight]: 25.0
[nn]: 25.0