@filipjeretina
It works once and a while, then when it doesn't, it sends me this error
(venv) C:\Users\sale4088\AppData\Local\Programs\Depthai2\depthai-viewer\scripts\depthai-experiments\gen2-people-tracker>python main.p
[18443010F141790E00] [1.7] [1723832457.199] [host] [warning] Device crashed, but no crash dump could be extracted.
Closing OAK camera
Traceback (most recent call last):
File "C:\Users\sale4088\AppData\Local\Programs\Depthai2\depthai-viewer\scripts\depthai-experiments\gen2-people-tracker\main.py", line 25, in <module>
oak.start(blocking=True)
File "C:\Users\sale4088\AppData\Local\Programs\Depthai2\venv\lib\site-packages\depthai_sdk\oak_camera.py", line 268, in start
self.build() # Build the pipeline
File "C:\Users\sale4088\AppData\Local\Programs\Depthai2\venv\lib\site-packages\depthai_sdk\oak_camera.py", line 349, in build
self._init_device()
File "C:\Users\sale4088\AppData\Local\Programs\Depthai2\venv\lib\site-packages\depthai_sdk\oak_camera.py", line 211, in _init_device
self._oak.device = dai.Device(
RuntimeError: Device already closed or disconnected: io error