• Not able to run a demo script for OAK-D LR

Hi, I just got the new OAK-D LR and after plugging it via USB to my laptop I get the error attached below.

Any ideas what I could do to see examine depth capabilities of the camera?

python3 depthai_demo.py -gt cv

Using depthai module from:  /home/polat/Luxonis/venv/lib/python3.9/site-packages/depthai.cpython-39-x86_64-linux-gnu.so
Depthai version installed:  2.20.2.0
Setting up demo...
Available devices:
[0] 194430105159742700 [X_LINK_BOOTLOADER]
USB Connection speed: UsbSpeed.SUPER
[194430105159742700] [1.2] [1.308] [ColorCamera(4)] [warning] Unsupported resolution set for detected camera AR0234, needs 1200_P, defaulting to it
[194430105159742700] [1.2] [1.308] [MonoCamera(2)] [error] AR0234 only supports THE_1200_P resolution, defaulting to it
[194430105159742700] [1.2] [1.309] [MonoCamera(0)] [error] AR0234 only supports THE_1200_P resolution, defaulting to it
Traceback (most recent call last):
  File "/home/polat/Luxonis/depthai/depthai_demo.py", line 1053, in <module>
    runOpenCv()
  File "/home/polat/Luxonis/depthai/depthai_demo.py", line 1043, in runOpenCv
    demo.run_all(confManager)
  File "/home/polat/Luxonis/depthai/depthai_demo.py", line 133, in run_all
    self.run()
  File "/home/polat/Luxonis/depthai/depthai_demo.py", line 272, in run
    self._device.startPipeline(self._pm.pipeline)
RuntimeError: StereoDepth(7) - StereoDepth | Invalid resolution: Width 1920, Height 1200
Stopping demo...
=== TOTAL FPS ===
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/home/polat/Luxonis/depthai/depthai_demo.py", line 336, in stop
    self._pv.closeQueues()
  File "/home/polat/Luxonis/venv/lib/python3.9/site-packages/depthai_sdk/managers/preview_manager.py", line 100, in closeQueues
    for queue in self.outputQueues:
AttributeError: 'PreviewManager' object has no attribute 'outputQueues'

    Hi PiotrPolatowski
    The viewer is still quite new and very much WIP so it might not be in the docs yet. We will add it soon. 🙂

    Thanks,
    Jaka

    7 months later

    Hi, I also got my OAK-D LR, I get similar error StereoDepth | Invalid resolution: Width 1920, Height 1200 on many examples from depthai-experiments repository.

    Are there any tutorials or working examples for starting with StereoDepth on OAK-D LR?

    Any suggestions what needs to be modified in code to make existing examples work, such as social distancing example?