I have an Oak-D Lite which is working with 'Stereo AI' and 'Stereo Depth' scripts from learnopencv.com but with some luxonis scripts (eg gen2-licence-plate-recognition) I am now getting this error, which was not happening before. I get a similar IO error with some other scripts too.
Pipeline created.
Traceback (most recent call last):
File "C:\Users\*******\PycharmProjects\RW\main.py", line 259, in <module>
with dai.Device(create_pipeline()) as device:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Device already closed or disconnected: io error
This does not go away with shutdown/reboot or changing USB ports. My cable is USB3.
Could this be caused the depthai-sdk version (1.15.1) I am using? I get repeated errors and install failure trying to install the earlier depthai and depthai-sdk versions specified in requirements.txt for this module.