I am trying to use multiple cameras and sometimes I can see images from one camera on startup, but after switching to another camera, the screen remains black and no further images can be displayed.
Here are the messages in the console window. Thank you.
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
========= Starting: Launcher (2024-11-13 13:45:58.599416) =========
System information:
sys.prefix = C:\Users\vray\AppData\Local\Programs\DepthAI\venv
sys.base_prefix = C:\Users\vray\AppData\Local\Programs\DepthAI\WPy64-3950\python-3.9.5.amd64
Env 'PYTHONPATH': None
Executable: C:\Users\vray\AppData\Local\Programs\DepthAI\venv\Scripts\python.exe
HEAD detached at v3.6.0
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
deleted: launcher/windows/build.ps1
deleted: launcher/windows/download_dependencies.ps1
deleted: launcher/windows/inno_setup.ps1
deleted: launcher/windows/installer_win64.iss
deleted: launcher/windows/src/create_shortcut.ps1
deleted: launcher/windows/src/prerequisite.ps1
deleted: launcher/windows/version.txt
no changes added to commit (use "git add" and/or "git commit -a")
Current commit: 3c38c23eb95e768bc63d8b4ec56f11311fff500e
Current tag: v3.6.0
Available DepthAI versions: ['v0.3.0.0', 'v0.4.0.0', 'v0.4.1.1', 'v1.0.0', 'v1.0.0.0', 'v2.0.0', 'v2.10.0.0', 'v2.7.2.0', 'v2.8.0.0', 'v2.9.0.0', 'v3.0.0', 'v3.0.1', 'v3.0.10', 'v3.0.11', 'v3.0.12', 'v3.0.12', 'v3.0.2', 'v3.0.3', 'v3.0.4', 'v3.0.5', 'v3.0.6', 'v3.0.7', 'v3.0.7', 'v3.0.8', 'v3.0.9', 'v3.1.0', 'v3.1.0', 'v3.1.1', 'v3.1.1', 'v3.1.2', 'v3.1.2', 'v3.1.3', 'v3.1.3', 'v3.2.0', 'v3.2.1', 'v3.3.0', 'v3.3.0', 'v3.3.1', 'v3.3.1', 'v3.4.0', 'v3.5.0', 'v3.5.0', 'v3.6.0', 'v3.6.1']
Current tag: v3.6.0, ver: 3.6.0
Message Box (Update Available): Version 3.6.1 is available.
Current version is 3.6.0
Update?
Should update? False
Launching DepthAI Viewer.
Installed DepthAI Viewer version: 0.2.6
Latest DepthAI Viewer version: 0.2.6
Backend started successfully.
[2024-11-13T21:46:08Z INFO ewebsock::native_tungstenite] WebSocket handshake has been successfully completed
[2024-11-13T21:46:08Z INFO re_viewer::depthai::ws] Websocket opened
Selecting device: 18443010A175680F00
Connecting to viewer at 127.0.0.1:9876
Oak cam: <depthai_sdk.oak_camera.OakCamera object at 0x000001D60FEEEEB0>
Default stereo pair: None
Pipeline config: auto=True cameras=[CameraConfiguration(fps=30, resolution=<CameraSensorResolution.THE_1080_P: 'THE_1080_P'>, kind=<CameraSensorType.COLOR: 0>, board_socket=<CameraBoardSocket.CAM_A: 0>, stream_enabled=True, name='Color', tof_align=None, is_used_as_stereo_align=False)] stereo=None ai_model=AiModelConfiguration(display_name='Yolo V6', path='yolov6nr3_coco_640x352', camera=<CameraBoardSocket.CAM_A: 0>) imu=ImuConfiguration(report_rate=100, batch_report_threshold=5)
Updating pipeline...
Creating auto pipeline config
Connected camera features: [{socket: CAM_A, sensorName: IMX214, width: 4208, height: 3120, orientation: AUTO, supportedTypes: [COLOR], hasAutofocus: 1, hasAutofocusIC: 1, name: color}]
Usb speed: UsbSpeed.SUPER
Creating camera: fps=30 resolution=<CameraSensorResolution.THE_1080_P: 'THE_1080_P'> kind=<CameraSensorType.COLOR: 0> board_socket=<CameraBoardSocket.CAM_A: 0> stream_enabled=True name='color' tof_align=None is_used_as_stereo_align=False
Connected cam doesn't have IMU, skipping IMU creation...
Starting pipeline
----------------------------------------
[0s] System information
----------------------------------------
Ddr used / total - 96.89 / 333.28 MiB
Cmx used / total - 2.49 / 2.50 MiB
LeonCss heap used / total - 23.21 / 81.76 MiB
LeonMss heap used / total - 4.26 / 39.90 MiB
Chip temperature - average: 33.86, css: 34.88, mss: 33.21, upa: 33.69, dss: 33.69
Cpu usage - Leon CSS: 1.64 %, Leon MSS: 0.06 %
----------------------------------------
[10s] System information
----------------------------------------
Ddr used / total - 96.89 / 333.28 MiB
Cmx used / total - 2.49 / 2.50 MiB
LeonCss heap used / total - 24.10 / 81.76 MiB
LeonMss heap used / total - 4.92 / 39.90 MiB
Chip temperature - average: 35.59, css: 36.06, mss: 35.59, upa: 35.59, dss: 35.11
Cpu usage - Leon CSS: 19.25 %, Leon MSS: 9.21 %
----------------------------------------
[20s] System information
----------------------------------------
Ddr used / total - 96.89 / 333.28 MiB
Cmx used / total - 2.49 / 2.50 MiB
LeonCss heap used / total - 24.10 / 81.76 MiB
LeonMss heap used / total - 4.92 / 39.90 MiB
Chip temperature - average: 36.89, css: 37.94, mss: 37.24, upa: 37.01, dss: 35.35
Cpu usage - Leon CSS: 31.33 %, Leon MSS: 18.41 %
----------------------------------------
[30s] System information
----------------------------------------
Ddr used / total - 96.89 / 333.28 MiB
Cmx used / total - 2.49 / 2.50 MiB
LeonCss heap used / total - 24.10 / 81.76 MiB
LeonMss heap used / total - 4.92 / 39.90 MiB
Chip temperature - average: 36.65, css: 37.94, mss: 36.06, upa: 36.77, dss: 35.83
Cpu usage - Leon CSS: 30.82 %, Leon MSS: 18.89 %
Error while updating device:Traceback (most recent call last):
File "C:\Users\vray\AppData\Local\Programs\DepthAI\venv\lib\site-packages\depthai_viewer\_backend\main.py", line 178, in run
self._device.update()
File "C:\Users\vray\AppData\Local\Programs\DepthAI\venv\lib\site-packages\depthai_viewer\_backend\device.py", line 667, in update
sys_info = self._sys_info_q.tryGet() # type: ignore[attr-defined]
RuntimeError: Communication exception - possible device error/misconfiguration. Original message 'Couldn't read data from stream: 'sys_logger' (X_LINK_ERROR)'
Resetting...
Closing device...
Got message to send: <depthai_viewer._backend.messages.ErrorMessage object at 0x000001D611B6C520>
Sending message: <depthai_viewer._backend.messages.ErrorMessage object at 0x000001D611B6C520>
[2024-11-13T21:47:12Z ERROR re_viewer::depthai::depthai] Error: Depthai error: Communication exception - possible device error/misconfiguration. Original message 'Couldn't read data from stream: 'sys_logger' (X_LINK_ERROR)'
[18443010A175680F00] [1.3.1.4.4] [1731534446.089] [host] [warning] Device crashed, but no crash dump could be extracted.
Done
Selecting device:
Selecting device: 1844301081D4650F00
Connecting to viewer at 127.0.0.1:9876
Oak cam: <depthai_sdk.oak_camera.OakCamera object at 0x000001D611B02940>
Default stereo pair: None
Selecting device: 1844301081D1650F00
Resetting...
Closing device...
Done
Connecting to viewer at 127.0.0.1:9876
Oak cam: <depthai_sdk.oak_camera.OakCamera object at 0x000001D611B5DB20>
Default stereo pair: None
Pipeline config: auto=True cameras=[CameraConfiguration(fps=30, resolution=<CameraSensorResolution.THE_1080_P: 'THE_1080_P'>, kind=<CameraSensorType.COLOR: 0>, board_socket=<CameraBoardSocket.CAM_A: 0>, stream_enabled=True, name='Color', tof_align=None, is_used_as_stereo_align=False)] stereo=None ai_model=AiModelConfiguration(display_name='Yolo V6', path='yolov6nr3_coco_640x352', camera=<CameraBoardSocket.CAM_A: 0>) imu=ImuConfiguration(report_rate=100, batch_report_threshold=5)
Updating pipeline...
Creating auto pipeline config
Connected camera features: [{socket: CAM_A, sensorName: IMX214, width: 4208, height: 3120, orientation: AUTO, supportedTypes: [COLOR], hasAutofocus: 0, hasAutofocusIC: 1, name: color}]
Usb speed: UsbSpeed.SUPER
Creating camera: fps=30 resolution=<CameraSensorResolution.THE_1080_P: 'THE_1080_P'> kind=<CameraSensorType.COLOR: 0> board_socket=<CameraBoardSocket.CAM_A: 0> stream_enabled=True name='color' tof_align=None is_used_as_stereo_align=False
Connected cam doesn't have IMU, skipping IMU creation...
Starting pipeline
----------------------------------------
[0s] System information
----------------------------------------
Ddr used / total - 96.89 / 333.28 MiB
Cmx used / total - 2.49 / 2.50 MiB
LeonCss heap used / total - 23.21 / 81.76 MiB
LeonMss heap used / total - 4.26 / 39.90 MiB
Chip temperature - average: 31.95, css: 33.93, mss: 31.04, upa: 31.53, dss: 31.29
Cpu usage - Leon CSS: 3.04 %, Leon MSS: 0.05 %
Pipeline config: auto=True cameras=[CameraConfiguration(fps=30, resolution=<CameraSensorResolution.THE_1080_P: 'THE_1080_P'>, kind=<CameraSensorType.COLOR: 0>, board_socket=<CameraBoardSocket.CAM_A: 0>, stream_enabled=True, name='Color', tof_align=None, is_used_as_stereo_align=False)] stereo=None ai_model=AiModelConfiguration(display_name='Yolo V6', path='yolov6nr3_coco_640x352', camera=<CameraBoardSocket.CAM_A: 0>) imu=ImuConfiguration(report_rate=100, batch_report_threshold=5)
Updating pipeline...
Cam running, closing...
[2024-11-13 13:48:19.685] [depthai] [warning] skipping X_LINK_UNBOOTED device having name "1.3.1.4.4"
Failed to create oak camera
Failed to find device after booting, error message: X_LINK_DEVICE_NOT_FOUND
[2024-11-13T21:53:15Z ERROR re_viewer::depthai::depthai] Error: Failed to create oak camera
Selecting device: 1844301081D4650F00
Resetting...
Closing device...
Done
C:\Users\vray\AppData\Local\Programs\DepthAI\venv\lib\site-packages\depthai_viewer\venv-0.2.6\Lib\site-packages\depthai_sdk\oak_camera.py:220: UsbWarning: Device connected in USB2 mode! This might cause some issues. In such case, please try using a (different) USB3 cable, or force USB2 mode 'with OakCamera(usb_speed='usb2') as oak:'
warnings.warn("Device connected in USB2 mode! This might cause some issues. "
Connecting to viewer at 127.0.0.1:9876
Oak cam: <depthai_sdk.oak_camera.OakCamera object at 0x000001D611B905E0>
Default stereo pair: None
Selecting device: 18443010A175680F00
Resetting...
Closing device...
Done
Connecting to viewer at 127.0.0.1:9876
Oak cam: <depthai_sdk.oak_camera.OakCamera object at 0x000001D611B901F0>
Default stereo pair: None
Selecting device:
Resetting...
Closing device...
Done
Pipeline config: auto=True cameras=[CameraConfiguration(fps=30, resolution=<CameraSensorResolution.THE_1080_P: 'THE_1080_P'>, kind=<CameraSensorType.COLOR: 0>, board_socket=<CameraBoardSocket.CAM_A: 0>, stream_enabled=True, name='Color', tof_align=None, is_used_as_stereo_align=False)] stereo=None ai_model=AiModelConfiguration(display_name='Yolo V6', path='yolov6nr3_coco_640x352', camera=<CameraBoardSocket.CAM_A: 0>) imu=ImuConfiguration(report_rate=100, batch_report_threshold=5)
No device selected, can't update pipeline!
[2024-11-13T21:53:45Z ERROR re_viewer::depthai::depthai] Error: No device selected, can't update pipeline!
Pipeline config: auto=True cameras=[CameraConfiguration(fps=30, resolution=<CameraSensorResolution.THE_1080_P: 'THE_1080_P'>, kind=<CameraSensorType.COLOR: 0>, board_socket=<CameraBoardSocket.CAM_A: 0>, stream_enabled=True, name='Color', tof_align=None, is_used_as_stereo_align=False)] stereo=None ai_model=AiModelConfiguration(display_name='Yolo V6', path='yolov6nr3_coco_640x352', camera=<CameraBoardSocket.CAM_A: 0>) imu=ImuConfiguration(report_rate=100, batch_report_threshold=5)
No device selected, can't update pipeline!
[2024-11-13T21:53:45Z ERROR re_viewer::depthai::depthai] Error: No device selected, can't update pipeline!
Selecting device:
Selecting device: