By the way, disabling phase unwrapping with tofConfig.phaseUnwrappingLevel = 0 and tofConfig.enablePhaseUnwrapping = False made no difference
WwLahn
- 21 Jul
- Joined 11 Apr
- 0 best answers
Hi jakaskerl,
thank you for your help, below is another log example at depthai debug level, please ignore my own mixed in logging entries:[2025-07-03 13:49:42.242] [depthai] [debug] Python bindings - version: 2.30.0.0 from 2025-03-18 12:45:46 +0100 build: 2025-03-18 11:51:35 +0000
[2025-07-03 13:49:42.243] [depthai] [debug] Library information - version: 2.30.0, commit: e0f6b52d048ef7ceac2ecd44deb2e161dbb97699 from 2025-03-18 12:44:00 +0100, build: 2025-03-18 11:51:34 +0000, libusb enabled: true
[2025-07-03 13:49:42.246] [depthai] [debug] Initialize - finished
2025-07-03 13:49:42,250 - TAX - ←[36mINFO←[0m - PROC: Reading configuration from C:\tax\config\config.ini (ImageProcessing.py:40)")
2025-07-03 13:49:42,260 - TAX - ←[36mINFO←[0m - REC: Reading configuration from C:\tax\config\config.ini (ImageRecording.py:41)")
2025-07-03 13:49:42,261 - TAX - ←[36mINFO←[0m - LUX: Reading configuration from C:\tax\config\config.ini (interface_luxonis.py:55)")
[2025-07-03 13:49:42.310] [depthai] [debug] Resources - Archive 'depthai-bootloader-fwp-0.0.28.tar.xz' open: 1ms, archive read: 65ms
2025-07-03 13:49:42,500 - TAX - ←[36mINFO←[0m - SRV: Reading web resources from C:\tax\web (server.py:58)")
2025-07-03 13:49:42,501 - TAX - ←[36mINFO←[0m - SRV: Reading configuration from C:\tax\config\config.ini (server.py:62)")
2025-07-03 13:49:42,501 - TAX - ←[36mINFO←[0m - SRV: Reading credentials from C:\tax\config\credentials.ini (server.py:66)")
2025-07-03 13:49:42,501 - TAX - ←[36mINFO←[0m - TAX: Reading configuration from C:\tax\config\config.ini (main.py:43)")
2025-07-03 13:49:42,505 - TAX - ←[36mINFO←[0m - Console window already exists. (main.py:95)")
2025-07-03 13:49:42,507 - TAX - ←[36mINFO←[0m - Console hidden. (main.py:103)")
2025-07-03 13:49:42,507 - TAX - ←[36mINFO←[0m - Running system tray icon. (threading.py:1012)")
2025-07-03 13:49:42,522 - TAX - ←[36mINFO←[0m - Setting up OPC secure channel... (plc.py:341)")
2025-07-03 13:49:42,523 - TAX - ←[31mERROR←[0m - CAM0: Updated configuration not valid, use old settings! (interface_luxonis.py:236)")
2025-07-03 13:49:42,524 - TAX - ←[36mINFO←[0m - CAL: Calibration Data Updated successfully. (ImageProcessing.py:360)")
2025-07-03 13:49:42,524 - TAX - ←[31mERROR←[0m - REC: Updated recorder configuration not valid, use old settings! (ImageRecording.py:116)")
2025-07-03 13:49:42,568 - TAX - ←[36mINFO←[0m - Connect to OPC Server... (plc.py:351)")
[2025-07-03 13:49:42.640] [depthai] [debug] Resources - Archive 'depthai-device-fwp-a62b2ccb0bc493c2fb41694cb81c08887be24c52.tar.xz' open: 1ms, archive read: 395ms
renamed 3DCartesianCoordinates to _3DCartesianCoordinates due to Python syntax
renamed 3DFrame to _3DFrame due to Python syntax
renamed 3DOrientation to _3DOrientation due to Python syntax
renamed 3DVector to _3DVector due to Python syntax
2025-07-03 13:49:42,755 - TAX - ←[36mINFO←[0m - CAM0: Updated configuration successfully. (interface_luxonis.py:244)")
2025-07-03 13:49:42,755 - TAX - ←[36mINFO←[0m - CAL: Calibration Data Updated successfully. (ImageProcessing.py:360)")
2025-07-03 13:49:42,755 - TAX - ←[36mINFO←[0m - REC: Configuration Data Updated successfully. (ImageRecording.py:122)")
2025-07-03 13:49:42,757 - TAX - ←[33mWARNING←[0m - No nodes to subscribe to [TaskClass.SLOW] task. (plc.py:536)")
2025-07-03 13:49:42,759 - TAX - ←[36mINFO←[0m - SRV: Start webserver... (server.py:218)")
2025-07-03 13:49:42,759 - TAX - ←[36mINFO←[0m - MAIN: Startup complete. (main.py:169)")
2025-07-03 13:49:42,768 - TAX - ←[36mINFO←[0m - CAM0: Image Stream: Wait for setup complete... (interface_luxonis.py:870)")
2025-07-03 13:49:42,768 - TAX - ←[36mINFO←[0m - CAM0: Setup complete. (interface_luxonis.py:267)")
←[32mINFO←[0m: Started server process [←[36m13152←[0m]
←[32mINFO←[0m: Waiting for application startup.
←[32mINFO←[0m: Application startup complete.
←[32mINFO←[0m: Uvicorn running on ←[1mhttp://0.0.0.0:8484←[0m (Press CTRL+C to quit)
[2025-07-03 13:49:42.935] [depthai] [debug] Python bindings - version: 2.30.0.0 from 2025-03-18 12:45:46 +0100 build: 2025-03-18 11:51:35 +0000
[2025-07-03 13:49:42.935] [depthai] [debug] Library information - version: 2.30.0, commit: e0f6b52d048ef7ceac2ecd44deb2e161dbb97699 from 2025-03-18 12:44:00 +0100, build: 2025-03-18 11:51:34 +0000, libusb enabled: true
[2025-07-03 13:49:42.938] [depthai] [debug] Initialize - finished
[2025-07-03 13:49:43.014] [depthai] [debug] Resources - Archive 'depthai-bootloader-fwp-0.0.28.tar.xz' open: 1ms, archive read: 76ms
[2025-07-03 13:49:43.236] [depthai] [debug] Python bindings - version: 2.30.0.0 from 2025-03-18 12:45:46 +0100 build: 2025-03-18 11:51:35 +0000
[2025-07-03 13:49:43.236] [depthai] [debug] Library information - version: 2.30.0, commit: e0f6b52d048ef7ceac2ecd44deb2e161dbb97699 from 2025-03-18 12:44:00 +0100, build: 2025-03-18 11:51:34 +0000, libusb enabled: true
[2025-07-03 13:49:43.240] [depthai] [debug] Initialize - finished
[2025-07-03 13:49:43.257] [depthai] [debug] Python bindings - version: 2.30.0.0 from 2025-03-18 12:45:46 +0100 build: 2025-03-18 11:51:35 +0000
[2025-07-03 13:49:43.257] [depthai] [debug] Library information - version: 2.30.0, commit: e0f6b52d048ef7ceac2ecd44deb2e161dbb97699 from 2025-03-18 12:44:00 +0100, build: 2025-03-18 11:51:34 +0000, libusb enabled: true
2025-07-03 13:49:43,260 - TAX - ←[36mINFO←[0m - LUX: Reading configuration from C:\tax\config\config.ini (interface_luxonis.py:55)")
[2025-07-03 13:49:43.261] [depthai] [debug] Initialize - finished
2025-07-03 13:49:43,273 - TAX - ←[36mINFO←[0m - PROC: Reading configuration from C:\tax\config\config.ini (ImageProcessing.py:40)")
[2025-07-03 13:49:43.280] [host] [debug] Found an actual device by given DeviceInfo: DeviceInfo(name=169.254.1.222, mxid=14442C105195AECF00, X_LINK_BOOTLOADER, X_LINK_TCP_IP, X_LINK_MYRIAD_X, X_LINK_SUCCESS)
[2025-07-03 13:49:43.281] [host] [debug] Device - OpenVINO version: universal
[14442C105195AECF00] [169.254.1.222] [1751543383.281] [host] [debug] Device - BoardConfig: {"camera":[],"emmc":null,"gpio":[],"imu":null,"logDevicePrints":null,"logPath":null,"logSizeMax":null,"logVerbosity":null,"network":{"mtu":0,"xlinkTcpNoDelay":true},"nonExclusiveMode":false,"pcieInternalClock":null,"sysctl":[],"uart":[],"usb":{"flashBootedPid":63037,"flashBootedVid":999,"manufacturer":"","maxSpeed":4,"pid":63035,"productName":"","vid":999},"usb3PhyInternalClock":null,"uvc":null,"watchdogInitialDelayMs":null,"watchdogTimeoutMs":null}
libnop:
0000: b9 12 b9 07 81 e7 03 81 3b f6 81 e7 03 81 3d f6 04 bd 00 bd 00 b9 02 00 01 ba 00 be be bb 00 bb
0020: 00 be be be be be be be 00 bb 00 be be
2025-07-03 13:49:43,288 - TAX - ←[36mINFO←[0m - PROC: Reading configuration from C:\tax\config\config.ini (ImageProcessing.py:40)")
[2025-07-03 13:49:43.326] [depthai] [debug] Resources - Archive 'depthai-bootloader-fwp-0.0.28.tar.xz' open: 1ms, archive read: 87ms
[2025-07-03 13:49:43.336] [depthai] [debug] Resources - Archive 'depthai-bootloader-fwp-0.0.28.tar.xz' open: 1ms, archive read: 76ms
[2025-07-03 13:49:43.370] [depthai] [debug] Resources - Archive 'depthai-device-fwp-a62b2ccb0bc493c2fb41694cb81c08887be24c52.tar.xz' open: 1ms, archive read: 432ms
[2025-07-03 13:49:43.380] [depthai] [debug] Environment 'DEPTHAI_CONNECT_TIMEOUT' set to '10000'
[2025-07-03 13:49:43.380] [depthai] [debug] Environment 'DEPTHAI_BOOTUP_TIMEOUT' set to '60000'
[2025-07-03 13:49:43.380] [depthai] [debug] Searching for booted device: DeviceInfo(name=169.254.1.222, mxid=14442C105195AECF00, X_LINK_BOOTLOADER, X_LINK_TCP_IP, X_LINK_MYRIAD_X, X_LINK_SUCCESS), name used as hint only
[2025-07-03 13:49:43.597] [depthai] [debug] Connected bootloader version 0.0.28
[2025-07-03 13:49:43.659] [depthai] [debug] Resources - Archive 'depthai-device-fwp-a62b2ccb0bc493c2fb41694cb81c08887be24c52.tar.xz' open: 2ms, archive read: 419ms
[2025-07-03 13:49:43.679] [depthai] [debug] Resources - Archive 'depthai-device-fwp-a62b2ccb0bc493c2fb41694cb81c08887be24c52.tar.xz' open: 2ms, archive read: 419ms
2025-07-03 13:49:43,759 - TAX - ←[36mINFO←[0m - PLC: Device 0 enabled: False (plc.py:508)")
[14442C105195AECF00] [169.254.1.222] [1751543384.655] [host] [debug] Booting FW with Bootloader. Version 0.0.28, Time taken: 1057ms
[2025-07-03 13:49:44.655] [depthai] [debug] DeviceBootloader about to be closed...
[2025-07-03 13:49:44.655] [depthai] [debug] XLinkResetRemote of linkId: (0)
[2025-07-03 13:49:45.463] [depthai] [debug] DeviceBootloader closed, 808
[2025-07-03 13:49:45.467] [depthai] [debug] Searching for booted device: DeviceInfo(name=169.254.1.222, mxid=14442C105195AECF00, X_LINK_BOOTED, X_LINK_TCP_IP, X_LINK_MYRIAD_X, X_LINK_SUCCESS), name used as hint only
2025-07-03 13:49:46,650 - TAX - ←[36mINFO←[0m - Console shown. (_base.py:548)")
[14442C105195AECF00] [169.254.1.222] [5.530] [system] [info] Memory Usage - DDR: 0.12 / 333.26 MiB, CMX: 2.04 / 2.50 MiB, LeonOS Heap: 25.90 / 81.70 MiB, LeonRT Heap: 2.89 / 39.87 MiB / NOC ddr: 0 MB/s [14442C105195AECF00] [169.254.1.222] [5.530] [system] [info] Temperatures - Average: 42.24C, CSS: 43.96C, MSS 41.66C, UPA: 41.66C, DSS: 41.66C
[14442C105195AECF00] [169.254.1.222] [5.530] [system] [info] Cpu Usage - LeonOS 51.16%, LeonRT: 0.55%
[14442C105195AECF00] [169.254.1.222] [1751543390.761] [host] [debug] Schema dump: {"connections":[{"node1Id":1,"node1Output":"preview","node1OutputGroup":"","node2Id":8,"node2Input":"in","node2InputGroup":""},{"node1Id":1,"node1Output":"video","node1OutputGroup":"","node2Id":5,"node2Input":"inputAlignTo","node2InputGroup":""},{"node1Id":2,"node1Output":"depth","node1OutputGroup":"","node2Id":5,"node2Input":"input","node2InputGroup":""},{"node1Id":1,"node1Output":"video","node1OutputGroup":"","node2Id":4,"node2Input":"video","node2InputGroup":"inputs"},{"node1Id":5,"node1Output":"outputAligned","node1OutputGroup":"","node2Id":4,"node2Input":"tof","node2InputGroup":"inputs"},{"node1Id":0,"node1Output":"raw","node1OutputGroup":"","node2Id":2,"node2Input":"input","node2InputGroup":""},{"node1Id":12,"node1Output":"out","node1OutputGroup":"","node2Id":2,"node2Input":"inputConfig","node2InputGroup":""},{"node1Id":6,"node1Output":"out","node1OutputGroup":"","node2Id":11,"node2Input":"in","node2InputGroup":""},{"node1Id":4,"node1Output":"out","node1OutputGroup":"","node2Id":3,"node2Input":"frames","node2InputGroup":"io"},{"node1Id":3,"node1Output":"stream","node1OutputGroup":"io","node2Id":9,"node2Input":"in","node2InputGroup":""}],"globalProperties":{"calibData":null,"cameraTuningBlobSize":null,"cameraTuningBlobUri":"","leonCssFrequencyHz":700000000.0,"leonMssFrequencyHz":700000000.0,"pipelineName":null,"pipelineVersion":null,"sippBufferSize":18432,"sippDmaBufferSize":16384,"xlinkChunkSize":0},"nodes":[[0,{"id":0,"ioInfo":[[["","inputConfig"],{"blocking":false,"group":"","id":1,"name":"inputConfig","queueSize":8,"type":3,"waitForMessage":false}],[["","raw"],{"blocking":false,"group":"","id":6,"name":"raw","queueSize":8,"type":0,"waitForMessage":false}],[["","still"],{"blocking":false,"group":"","id":7,"name":"still","queueSize":8,"type":0,"waitForMessage":false}],[["","inputControl"],{"blocking":true,"group":"","id":2,"name":"inputControl","queueSize":8,"type":3,"waitForMessage":false}],[["","video"],{"blocking":false,"group":"","id":3,"name":"video","queueSize":8,"type":0,"waitForMessage":false}],[["","isp"],{"blocking":false,"group":"","id":4,"name":"isp","queueSize":8,"type":0,"waitForMessage":false}],[["","preview"],{"blocking":false,"group":"","id":5,"name":"preview","queueSize":8,"type":0,"waitForMessage":false}],[["","frameEvent"],{"blocking":false,"group":"","id":8,"name":"frameEvent","queueSize":8,"type":0,"waitForMessage":false}]],"name":"Camera","properties":[185,35,185,32,0,3,0,136,0,0,0,0,0,0,185,3,0,0,0,185,5,0,0,0,0,0,185,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,185,3,0,0,0,185,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,186,0,0,189,0,255,0,1,0,129,44,1,129,44,1,255,255,255,255,255,255,136,0,0,160,65,0,136,0,0,128,191,136,0,0,128,191,1,185,4,0,0,0,0,255,3,3,4,4,4,255,189,0,0,0,190,32,32,190]}],[1,{"id":1,"ioInfo":[[["","inputConfig"],{"blocking":false,"group":"","id":9,"name":"inputConfig","queueSize":8,"type":3,"waitForMessage":false}],[["","raw"],{"blocking":false,"group":"","id":14,"name":"raw","queueSize":8,"type":0,"waitForMessage":false}],[["","still"],{"blocking":false,"group":"","id":15,"name":"still","queueSize":8,"type":0,"waitForMessage":false}],[["","inputControl"],{"blocking":true,"group":"","id":10,"name":"inputControl","queueSize":8,"type":3,"waitForMessage":false}],[["","video"],{"blocking":false,"group":"","id":11,"name":"video","queueSize":8,"type":0,"waitForMessage":false}],[["","isp"],{"blocking":false,"group":"","id":12,"name":"isp","queueSize":8,"type":0,"waitForMessage":false}],[["","preview"],{"blocking":false,"group":"","id":13,"name":"preview","queueSize":8,"type":0,"waitForMessage":false}],[["","frameEvent"],{"blocking":false,"group":"","id":16,"name":"frameEvent","queueSize":8,"type":0,"waitForMessage":false}]],"name":"ColorCamera","properties":[185,26,185,32,131,0,0,0,0,0,0,16,0,3,0,136,0,0,0,0,0,0,185,3,0,0,0,185,5,0,0,0,0,0,185,5,0,0,0,0,0,0,0,0,0,0,0,0,0,1,185,3,0,0,0,185,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,186,0,1,189,0,255,1,0,0,129,44,1,129,44,1,133,0,5,133,208,2,255,255,4,136,0,0,32,65,0,136,0,0,128,191,136,0,0,128,191,1,185,4,0,0,0,0,3,3,4,4,4,190]}],[2,{"id":2,"ioInfo":[[["","inputConfig"],{"blocking":false,"group":"","id":17,"name":"inputConfig","queueSize":4,"type":3,"waitForMessage":false}],[["","input"],{"blocking":true,"group":"","id":18,"name":"input","queueSize":8,"type":3,"waitForMessage":false}],[["","intensity"],{"blocking":false,"group":"","id":19,"name":"intensity","queueSize":8,"type":0,"waitForMessage":false}],[["","amplitude"],{"blocking":false,"group":"","id":20,"name":"amplitude","queueSize":8,"type":0,"waitForMessage":false}],[["","depth"],{"blocking":false,"group":"","id":21,"name":"depth","queueSize":8,"type":0,"waitForMessage":false}],[["","phase"],{"blocking":false,"group":"","id":22,"name":"phase","queueSize":8,"type":0,"waitForMessage":false}]],"name":"ToF","properties":[185,4,185,11,0,0,0,1,190,0,0,190,0,0,129,44,1,4,1,188,0]}],[3,{"id":3,"ioInfo":[[["io","frames"],{"blocking":true,"group":"io","id":23,"name":"frames","queueSize":8,"type":3,"waitForMessage":false}],[["io","stream"],{"blocking":false,"group":"io","id":24,"name":"stream","queueSize":8,"type":0,"waitForMessage":false}]],"name":"Script","properties":[185,3,189,14,97,115,115,101,116,58,95,95,115,99,114,105,112,116,189,8,60,115,99,114,105,112,116,62,1]}],[4,{"id":4,"ioInfo":[[["inputs","video"],{"blocking":true,"group":"inputs","id":25,"name":"video","queueSize":8,"type":3,"waitForMessage":false}],[["inputs","tof"],{"blocking":true,"group":"inputs","id":26,"name":"tof","queueSize":8,"type":3,"waitForMessage":false}],[["","out"],{"blocking":false,"group":"","id":27,"name":"out","queueSize":8,"type":0,"waitForMessage":false}]],"name":"Sync","properties":[185,2,130,0,225,245,5,255]}],[5,{"id":5,"ioInfo":[[["","inputAlignTo"],{"blocking":false,"group":"","id":28,"name":"inputAlignTo","queueSize":1,"type":3,"waitForMessage":true}],[["","inputConfig"],{"blocking":false,"group":"","id":29,"name":"inputConfig","queueSize":4,"type":3,"waitForMessage":false}],[["","input"],{"blocking":false,"group":"","id":30,"name":"input","queueSize":4,"type":3,"waitForMessage":true}],[["","outputAligned"],{"blocking":false,"group":"","id":31,"name":"outputAligned","queueSize":8,"type":0,"waitForMessage":false}],[["","passthroughInput"],{"blocking":false,"group":"","id":32,"name":"passthroughInput","queueSize":8,"type":0,"waitForMessage":false}]],"name":"ImageAlign","properties":[185,8,185,1,0,4,0,0,188,0,255,1,2]}],[6,{"id":6,"ioInfo":[[["","out"],{"blocking":false,"group":"","id":33,"name":"out","queueSize":8,"type":0,"waitForMessage":false}]],"name":"SystemLogger","properties":[185,1,136,0,0,128,63]}],[7,{"id":7,"ioInfo":[[["","in"],{"blocking":true,"group":"","id":34,"name":"in","queueSize":8,"type":3,"waitForMessage":true}]],"name":"XLinkOut","properties":[185,3,136,0,0,128,191,189,3,114,103,98,0]}],[8,{"id":8,"ioInfo":[[["","in"],{"blocking":true,"group":"","id":35,"name":"in","queueSize":8,"type":3,"waitForMessage":true}]],"name":"XLinkOut","properties":[185,3,136,0,0,128,191,189,11,114,103,98,95,112,114,101,118,105,101,119,0]}],[9,{"id":9,"ioInfo":[[["","in"],{"blocking":true,"group":"","id":36,"name":"in","queueSize":8,"type":3,"waitForMessage":true}]],"name":"XLinkOut","properties":[185,3,136,0,0,128,191,189,5,103,114,111,117,112,0]}],[10,{"id":10,"ioInfo":[[["","in"],{"blocking":true,"group":"","id":37,"name":"in","queueSize":8,"type":3,"waitForMessage":true}]],"name":"XLinkOut","properties":[185,3,136,0,0,128,191,189,2,110,110,0]}],[11,{"id":11,"ioInfo":[[["","in"],{"blocking":true,"group":"","id":38,"name":"in","queueSize":8,"type":3,"waitForMessage":true}]],"name":"XLinkOut","properties":[185,3,136,0,0,128,191,189,3,115,121,115,0]}],[12,{"id":12,"ioInfo":[[["","out"],{"blocking":false,"group":"","id":39,"name":"out","queueSize":8,"type":0,"waitForMessage":false}]],"name":"XLinkIn","properties":[185,3,189,10,116,111,102,95,99,111,110,102,105,103,130,0,0,80,0,8]}]]} [14442C105195AECF00] [169.254.1.222] [1751543390.761] [host] [debug] Asset map dump: {"map":{"/node/3/__script":{"alignment":64,"offset":0,"size":607}}}
[2025-07-03 13:49:50.919] [depthai] [info] Logging disabled
[14442C105195AECF00] [169.254.1.222] [5.707] [Camera(0)] [info] WarpMeshSource: NONE [14442C105195AECF00] [169.254.1.222] [5.708] [ImageAlign(5)] [info] Init node ImageAlign
[14442C105195AECF00] [169.254.1.222] [5.710] [system] [info] ImageAlign shave buffer size '36864'B
[14442C105195AECF00] [169.254.1.222] [5.710] [system] [info] ImageAlign shave buffer size '37888'B
[14442C105195AECF00] [169.254.1.222] [5.710] [system] [info] ToF shave buffer size '80896'B
[14442C105195AECF00] [169.254.1.222] [5.710] [system] [info] SIPP (Signal Image Processing Pipeline) internal buffer size '18432'B, DMA buffer size: '16384'B
[14442C105195AECF00] [169.254.1.222] [5.745] [system] [info] ImageManip internal buffer size '233472'B, shave buffer size '34816'B
[14442C105195AECF00] [169.254.1.222] [7.703] [ToF(2)] [error] ERROR unexpected phase code: 0
[14442C105195AECF00] [169.254.1.222] [12.927] [ToF(2)] [error] ERROR unexpected phase code: 0
[14442C105195AECF00] [169.254.1.222] [12.948] [ToF(2)] [error] ERROR unexpected phase code: 0
[14442C105195AECF00] [169.254.1.222] [12.966] [ToF(2)] [error] ERROR unexpected phase code: 0
[14442C105195AECF00] [169.254.1.222] [13.001] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [13.001] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [13.001] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [13.029] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [13.029] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [13.029] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [13.111] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [13.111] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [13.111] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [13.130] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [13.130] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [13.130] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [13.211] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [13.211] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [13.211] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [13.229] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [13.229] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [13.229] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [13.310] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [13.311] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [13.311] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [13.329] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [13.329] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [13.329] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [13.411] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [13.411] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [13.411] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [13.429] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [13.429] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [13.429] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [13.511] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [13.511] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [13.511] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [13.527] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [13.527] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [13.527] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [13.610] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [13.611] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [13.611] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [13.629] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [13.629] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [13.629] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [13.710] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [13.711] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [13.711] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [13.729] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [13.729] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [13.729] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [13.811] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [13.811] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [13.811] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [13.829] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [13.829] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [13.829] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [13.911] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [13.911] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [13.911] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [13.929] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [13.929] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [13.929] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [14.011] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [14.011] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [14.011] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [14.027] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [14.027] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [14.027] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [14.111] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [14.111] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [14.111] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [14.127] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [14.127] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [14.127] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [14.210] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [14.211] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [14.211] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [14.229] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [14.229] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [14.229] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [14.310] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [14.311] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [14.311] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [14.329] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [14.329] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [14.329] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [14.410] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [14.411] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [14.411] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [14.427] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [14.427] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [14.427] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [14.510] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [14.511] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [14.511] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [14.527] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [14.527] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [14.527] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [14.610] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [14.611] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [14.611] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used. [14442C105195AECF00] [169.254.1.222] [14.627] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [14.627] [ToF(2)] [error] ERROR unexpected phase code: 7
The Script Node basically just checks on a falling edge and, if detected, forwards the alligned frame to the host.
The Problem is already happening in the ToF Node and/or ImageAllign Node, but I don't have a clue where to start looking.Even though the error messages suggests otherwise, the configuration should be ok, as it is, at least for some time, running just fine…
Hello there,
I already posted an issue on github (here), but as the engagment seems to be much higher in this Forum,
I'm trying to get help here too!I'm using one RGB camera and the ToF sensor of my OAK-D-SR-PoE.
The RGB camera is configured to output FSYNC signal for the ToF, on falling edge of the GPIO pin (M8 Connector, pin 7), a script node forwards a RGB image with the synchronized ToF data.This setup basically works when testing and produces good results.
However, sporadically, the ToF sensor breaks and produces the following error, where the actual phase code is not consistent (e.g. somtimes 7 etc):
ERROR unexpected phase code: 0
Orientation not supported! Only normal and 180 flip(not mirrored) can be used.
ERROR unexpected frequency code: 7
Is there a related Hardware Issue did I get something wrong in my pipeline?
Any help appreciated!Pipeline
ColorCamera.preview (13) -> XLinkOut.in (35)
ColorCamera.video (11) -> ImageAlign.inputAlignTo (28)
ToF.depth (21) -> ImageAlign.input (30)
ColorCamera.video (11) -> Sync.video (25)
ImageAlign.outputAligned (31) -> Sync.tof (26)
Camera.raw (6) -> ToF.input (18)
XLinkIn.out (39) -> ToF.inputConfig (17)
SystemLogger.out (33) -> XLinkOut.in (38)
Sync.out (27) -> Script.frames (23)
Script.stream (24) -> XLinkOut.in (36)
system log
[2025-07-02 11:18:42.340] [depthai] [debug] Python bindings - version: 2.30.0.0 from 2025-03-18 12:45:46 +0100 build: 2025-03-18 11:51:35 +0000
[2025-07-02 11:18:42.340] [depthai] [debug] Library information - version: 2.30.0, commit: e0f6b52d048ef7ceac2ecd44deb2e161dbb97699 from 2025-03-18 12:44:00 +0100, build: 2025-03-18 11:51:34 +0000, libusb enabled: true
[2025-07-02 11:18:42.343] [depthai] [debug] Initialize - finished
...
[2025-07-02 11:20:16.897] [depthai] [debug] Searching for booted device: DeviceInfo(name=169.254.1.222, mxid=14442C105195AECF00, X_LINK_BOOTLOADER, X_LINK_TCP_IP, X_LINK_MYRIAD_X, X_LINK_SUCCESS), name used as hint only
[2025-07-02 11:20:17.114] [depthai] [debug] Connected bootloader version 0.0.28 [14442C105195AECF00] [169.254.1.222] [1751448018.473] [host] [debug] Booting FW with Bootloader. Version 0.0.28, Time taken: 1358ms [2025-07-02 11:20:18.473] [depthai] [debug] DeviceBootloader about to be closed... [2025-07-02 11:20:18.473] [depthai] [debug] XLinkResetRemote of linkId: (17) [2025-07-02 11:20:18.868] [depthai] [debug] DeviceBootloader closed, 1430 [2025-07-02 11:20:18.873] [depthai] [debug] Searching for booted device: DeviceInfo(name=169.254.1.222, mxid=14442C105195AECF00, X_LINK_BOOTED, X_LINK_TCP_IP, X_LINK_MYRIAD_X, X_LINK_SUCCESS), name used as hint only
[14442C105195AECF00] [169.254.1.222] [7.238] [system] [info] Memory Usage - DDR: 0.12 / 333.26 MiB, CMX: 2.04 / 2.50 MiB, LeonOS Heap: 25.90 / 81.70 MiB, LeonRT Heap: 2.89 / 39.87 MiB / NOC ddr: 0 MB/s
[14442C105195AECF00] [169.254.1.222] [7.238] [system] [info] Temperatures - Average: 49.31C, CSS: 50.92C, MSS 48.25C, UPA: 49.37C, DSS: 48.70C [14442C105195AECF00] [169.254.1.222] [7.239] [system] [info] Cpu Usage - LeonOS 28.55%, LeonRT: 0.42%
[14442C105195AECF00] [169.254.1.222] [1751448025.242] [host] [debug] Schema dump: {"connections":{"node1Id":1,"node1Output":"preview","node1OutputGroup":"","node2Id":8,"node2Input":"in","node2InputGroup":""},{"node1Id":1,"node1Output":"video","node1OutputGroup":"","node2Id":5,"node2Input":"inputAlignTo","node2InputGroup":""},{"node1Id":2,"node1Output":"depth","node1OutputGroup":"","node2Id":5,"node2Input":"input","node2InputGroup":""},{"node1Id":1,"node1Output":"video","node1OutputGroup":"","node2Id":4,"node2Input":"video","node2InputGroup":"inputs"},{"node1Id":5,"node1Output":"outputAligned","node1OutputGroup":"","node2Id":4,"node2Input":"tof","node2InputGroup":"inputs"},{"node1Id":0,"node1Output":"raw","node1OutputGroup":"","node2Id":2,"node2Input":"input","node2InputGroup":""},{"node1Id":12,"node1Output":"out","node1OutputGroup":"","node2Id":2,"node2Input":"inputConfig","node2InputGroup":""},{"node1Id":6,"node1Output":"out","node1OutputGroup":"","node2Id":11,"node2Input":"in","node2InputGroup":""},{"node1Id":4,"node1Output":"out","node1OutputGroup":"","node2Id":3,"node2Input":"frames","node2InputGroup":"io"},{"node1Id":3,"node1Output":"stream","node1OutputGroup":"io","node2Id":9,"node2Input":"in","node2InputGroup":""}],"globalProperties":{"calibData":null,"cameraTuningBlobSize":null,"cameraTuningBlobUri":"","leonCssFrequencyHz":700000000.0,"leonMssFrequencyHz":700000000.0,"pipelineName":null,"pipelineVersion":null,"sippBufferSize":18432,"sippDmaBufferSize":16384,"xlinkChunkSize":0},"nodes":[[0,{"id":0,"ioInfo":[[["","inputConfig"],{"blocking":false,"group":"","id":1,"name":"inputConfig","queueSize":8,"type":3,"waitForMessage":false}],[["","raw"],{"blocking":false,"group":"","id":6,"name":"raw","queueSize":8,"type":0,"waitForMessage":false}],[["","still"],{"blocking":false,"group":"","id":7,"name":"still","queueSize":8,"type":0,"waitForMessage":false}],[["","inputControl"],{"blocking":true,"group":"","id":2,"name":"inputControl","queueSize":8,"type":3,"waitForMessage":false}],[["","video"],{"blocking":false,"group":"","id":3,"name":"video","queueSize":8,"type":0,"waitForMessage":false}],[["","isp"],{"blocking":false,"group":"","id":4,"name":"isp","queueSize":8,"type":0,"waitForMessage":false}],[["","preview"],{"blocking":false,"group":"","id":5,"name":"preview","queueSize":8,"type":0,"waitForMessage":false}],[["","frameEvent"],{"blocking":false,"group":"","id":8,"name":"frameEvent","queueSize":8,"type":0,"waitForMessage":false}]],"name":"Camera","properties":[185,35,185,32,0,3,0,136,0,0,0,0,0,0,185,3,0,0,0,185,5,0,0,0,0,0,185,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,185,3,0,0,0,185,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,186,0,0,189,0,255,0,1,0,129,44,1,129,44,1,255,255,255,255,255,255,136,0,0,160,65,0,136,0,0,128,191,136,0,0,128,191,1,185,4,0,0,0,0,255,3,3,4,4,4,255,189,0,0,0,190,32,32,190]}],[1,{"id":1,"ioInfo":[[["","inputConfig"],{"blocking":false,"group":"","id":9,"name":"inputConfig","queueSize":8,"type":3,"waitForMessage":false}],[["","raw"],{"blocking":false,"group":"","id":14,"name":"raw","queueSize":8,"type":0,"waitForMessage":false}],[["","still"],{"blocking":false,"group":"","id":15,"name":"still","queueSize":8,"type":0,"waitForMessage":false}],[["","inputControl"],{"blocking":true,"group":"","id":10,"name":"inputControl","queueSize":8,"type":3,"waitForMessage":false}],[["","video"],{"blocking":false,"group":"","id":11,"name":"video","queueSize":8,"type":0,"waitForMessage":false}],[["","isp"],{"blocking":false,"group":"","id":12,"name":"isp","queueSize":8,"type":0,"waitForMessage":false}],[["","preview"],{"blocking":false,"group":"","id":13,"name":"preview","queueSize":8,"type":0,"waitForMessage":false}],[["","frameEvent"],{"blocking":false,"group":"","id":16,"name":"frameEvent","queueSize":8,"type":0,"waitForMessage":false}]],"name":"ColorCamera","properties":[185,26,185,32,131,0,0,0,0,0,0,16,0,3,0,136,0,0,0,0,0,0,185,3,0,0,0,185,5,0,0,0,0,0,185,5,0,0,0,0,0,0,0,0,0,0,0,0,0,1,185,3,0,0,0,185,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,186,0,1,189,0,255,1,0,0,129,44,1,129,44,1,133,0,5,133,208,2,255,255,4,136,0,0,32,65,0,136,0,0,128,191,136,0,0,128,191,1,185,4,0,0,0,0,3,3,4,4,4,190]}],[2,{"id":2,"ioInfo":[[["","inputConfig"],{"blocking":false,"group":"","id":17,"name":"inputConfig","queueSize":4,"type":3,"waitForMessage":false}],[["","input"],{"blocking":true,"group":"","id":18,"name":"input","queueSize":8,"type":3,"waitForMessage":false}],[["","intensity"],{"blocking":false,"group":"","id":19,"name":"intensity","queueSize":8,"type":0,"waitForMessage":false}],[["","amplitude"],{"blocking":false,"group":"","id":20,"name":"amplitude","queueSize":8,"type":0,"waitForMessage":false}],[["","depth"],{"blocking":false,"group":"","id":21,"name":"depth","queueSize":8,"type":0,"waitForMessage":false}],[["","phase"],{"blocking":false,"group":"","id":22,"name":"phase","queueSize":8,"type":0,"waitForMessage":false}]],"name":"ToF","properties":[185,4,185,11,0,1,0,1,190,1,0,190,190,1,129,44,1,4,1,188,0]}],[3,{"id":3,"ioInfo":[[["io","frames"],{"blocking":true,"group":"io","id":23,"name":"frames","queueSize":8,"type":3,"waitForMessage":false}],[["io","stream"],{"blocking":false,"group":"io","id":24,"name":"stream","queueSize":8,"type":0,"waitForMessage":false}]],"name":"Script","properties":[185,3,189,14,97,115,115,101,116,58,95,95,115,99,114,105,112,116,189,8,60,115,99,114,105,112,116,62,1]}],[4,{"id":4,"ioInfo":[[["inputs","video"],{"blocking":true,"group":"inputs","id":25,"name":"video","queueSize":8,"type":3,"waitForMessage":false}],[["inputs","tof"],{"blocking":true,"group":"inputs","id":26,"name":"tof","queueSize":8,"type":3,"waitForMessage":false}],[["","out"],{"blocking":false,"group":"","id":27,"name":"out","queueSize":8,"type":0,"waitForMessage":false}]],"name":"Sync","properties":[185,2,130,0,225,245,5,255]}],[5,{"id":5,"ioInfo":[[["","inputAlignTo"],{"blocking":false,"group":"","id":28,"name":"inputAlignTo","queueSize":1,"type":3,"waitForMessage":true}],[["","inputConfig"],{"blocking":false,"group":"","id":29,"name":"inputConfig","queueSize":4,"type":3,"waitForMessage":false}],[["","input"],{"blocking":false,"group":"","id":30,"name":"input","queueSize":4,"type":3,"waitForMessage":true}],[["","outputAligned"],{"blocking":false,"group":"","id":31,"name":"outputAligned","queueSize":8,"type":0,"waitForMessage":false}],[["","passthroughInput"],{"blocking":false,"group":"","id":32,"name":"passthroughInput","queueSize":8,"type":0,"waitForMessage":false}]],"name":"ImageAlign","properties":[185,8,185,1,0,4,0,0,188,0,255,1,2]}],[6,{"id":6,"ioInfo":[[["","out"],{"blocking":false,"group":"","id":33,"name":"out","queueSize":8,"type":0,"waitForMessage":false}]],"name":"SystemLogger","properties":[185,1,136,0,0,128,63]}],[7,{"id":7,"ioInfo":[[["","in"],{"blocking":true,"group":"","id":34,"name":"in","queueSize":8,"type":3,"waitForMessage":true}]],"name":"XLinkOut","properties":[185,3,136,0,0,128,191,189,3,114,103,98,0]}],[8,{"id":8,"ioInfo":[[["","in"],{"blocking":true,"group":"","id":35,"name":"in","queueSize":8,"type":3,"waitForMessage":true}]],"name":"XLinkOut","properties":[185,3,136,0,0,128,191,189,11,114,103,98,95,112,114,101,118,105,101,119,0]}],[9,{"id":9,"ioInfo":[[["","in"],{"blocking":true,"group":"","id":36,"name":"in","queueSize":8,"type":3,"waitForMessage":true}]],"name":"XLinkOut","properties":[185,3,136,0,0,128,191,189,5,103,114,111,117,112,0]}],[10,{"id":10,"ioInfo":[[["","in"],{"blocking":true,"group":"","id":37,"name":"in","queueSize":8,"type":3,"waitForMessage":true}]],"name":"XLinkOut","properties":[185,3,136,0,0,128,191,189,2,110,110,0]}],[11,{"id":11,"ioInfo":[[["","in"],{"blocking":true,"group":"","id":38,"name":"in","queueSize":8,"type":3,"waitForMessage":true}]],"name":"XLinkOut","properties":[185,3,136,0,0,128,191,189,3,115,121,115,0]}],[12,{"id":12,"ioInfo":[[["","out"],{"blocking":false,"group":"","id":39,"name":"out","queueSize":8,"type":0,"waitForMessage":false}]],"name":"XLinkIn","properties":[185,3,189,10,116,111,102,95,99,111,110,102,105,103,130,0,0,80,0,8]}]]}
[14442C105195AECF00] [169.254.1.222] [1751448025.243] [host] [debug] Asset map dump: {"map":{"/node/3/__script":{"alignment":64,"offset":0,"size":528}}}
[2025-07-02 11:20:25.398] [depthai] [info] Logging disabled [14442C105195AECF00] [169.254.1.222] [7.414] [Camera(0)] [info] WarpMeshSource: NONE
[14442C105195AECF00] [169.254.1.222] [7.414] [ImageAlign(5)] [info] Init node ImageAlign
[14442C105195AECF00] [169.254.1.222] [7.417] [system] [info] ImageAlign shave buffer size '36864'B
[14442C105195AECF00] [169.254.1.222] [7.417] [system] [info] ImageAlign shave buffer size '37888'B
[14442C105195AECF00] [169.254.1.222] [7.417] [system] [info] ToF shave buffer size '80896'B
[14442C105195AECF00] [169.254.1.222] [7.417] [system] [info] SIPP (Signal Image Processing Pipeline) internal buffer size '18432'B, DMA buffer size: '16384'B
[14442C105195AECF00] [169.254.1.222] [7.452] [system] [info] ImageManip internal buffer size '233472'B, shave buffer size '34816'B
[14442C105195AECF00] [169.254.1.222] [7.452] [system] [info] ColorCamera allocated resources: no shaves; cmx slices: [13-15]
ImageManip allocated resources: shaves: [15-15] no cmx slices. ToF allocated resources: shaves: [11-11] no cmx slices. ImageAlign allocated resources: shaves: [12-13] no cmx slices.
[14442C105195AECF00] [169.254.1.222] [9.405] [ToF(2)] [error] ERROR unexpected phase code: 0
[14442C105195AECF00] [169.254.1.222] [9.405] [ToF(2)] [error] ERROR unexpected phase code: 0
[14442C105195AECF00] [169.254.1.222] [14.162] [ToF(2)] [error] ERROR unexpected phase code: 0
[14442C105195AECF00] [169.254.1.222] [14.162] [ToF(2)] [error] ERROR unexpected phase code: 0
[14442C105195AECF00] [169.254.1.222] [14.190] [ToF(2)] [error] ERROR unexpected phase code: 0
[14442C105195AECF00] [169.254.1.222] [14.190] [ToF(2)] [error] ERROR unexpected phase code: 0
[14442C105195AECF00] [169.254.1.222] [14.216] [ToF(2)] [error] ERROR unexpected phase code: 0
[14442C105195AECF00] [169.254.1.222] [14.216] [ToF(2)] [error] ERROR unexpected phase code: 0
[14442C105195AECF00] [169.254.1.222] [14.243] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [14.243] [ToF(2)] [error] ERROR unexpected phase code: 7
[14442C105195AECF00] [169.254.1.222] [14.243] [ToF(2)] [error] Orientation not supported! Only normal and 180 flip(not mirrored) can be used.
[14442C105195AECF00] [169.254.1.222] [14.243] [ToF(2)] [error] ERROR unexpected frequency code: 7
[14442C105195AECF00] [169.254.1.222] [14.243] [ToF(2)] [error] ERROR unexpected phase code: 7Hello there,
I'm currently try to setup the OAK-D SR PoE in a basic setup and am running into same issues,
maybe someone here can help me out.When running the following example, I do receive some image data, although there seems to be some missalignment.
Can someone point out what the problem might be, as the image seems good when using depthai-viewer.Thanks in advance!
depthai version 2.29.0.0
Bootloader 0.0.28if __name__ == '__main__': pipeline = dai.Pipeline() # First, we want the Color camera as the output cam_rgb = pipeline.createColorCamera() # 300x300 will be the preview frame size, available as 'preview' output of the node cam_rgb.setPreviewSize(300, 300) cam_rgb.setInterleaved(False) cam_rgb.setColorOrder(dai.ColorCameraProperties.ColorOrder.RGB) detection_nn = pipeline.createMobileNetDetectionNetwork() # Blob is the Neural Network file, compiled for MyriadX. # It contains both the definition and weights of the model # We're using a blobconverter tool to retrieve the MobileNetSSD blob # automatically from OpenVINO Model Zoo detection_nn.setBlobPath( blobconverter.from_zoo(name='mobilenet-ssd', shaves=6), ) # Next, we filter out the detections that are below a confidence threshold. # Confidence can be anywhere between <0..1> detection_nn.setConfidenceThreshold(0.5) # XLinkOut is a "way out" from the device. Any data you want to transfer # to host need to be send via XLink x_out_rgb = pipeline.createXLinkOut() x_out_rgb.setStreamName("rgb") x_out_nn = pipeline.createXLinkOut() x_out_nn.setStreamName("nn") cam_rgb.preview.link(x_out_rgb.input) cam_rgb.preview.link(detection_nn.input) detection_nn.out.link(x_out_nn.input) # Pipeline is now finished, and we need to find an available device to run # our pipeline. We are using context manager here that will dispose the # device after we stop using it with dai.Device(pipeline) as device: # From this point, the Device will be in "running" mode and will start # sending data via XLink # To consume the device results, we get two output queues from the # device, with stream names we assigned earlier q_rgb = device.getOutputQueue(name="rgb") q_nn = device.getOutputQueue("nn") # Here, some of the default values are defined. Frame will be an image # from "rgb" stream, detections will contain nn results frame = None detections = [] # Since the detections returned by nn have values from <0..1> range, # they need to be multiplied by frame width/height to receive the # actual position of the bounding box on the image def frameNorm(frame, bbox): normVals = np.full(len(bbox), frame.shape[0]) normVals[::2] = frame.shape[1] return (np.clip(np.array(bbox), 0, 1) * normVals).astype(int) while True: # we try to fetch the data from nn/rgb queues. tryGet will return # either the data packet or None if there isn't any in_rgb = q_rgb.get() in_nn = q_nn.get() if in_rgb is not None: # If the packet from RGB camera is present, we're retrieving # the frame in OpenCV format using getCvFrame frame = in_rgb.getCvFrame() # type: ignore cv2.imshow("preview", frame) if in_nn is not None: # when data from nn is received, we take the detections array # that contains mobilenet-ssd results detections = in_nn.detections # type: ignore if frame is not None: for detection in detections: # for each bounding box, we first normalize it to match # the frame size bbox = frameNorm( frame, ( detection.xmin, detection.ymin, detection.xmax, detection.ymax, ), ) # and then draw a rectangle on the frame to show the # actual result cv2.rectangle( frame, (bbox[0], bbox[1]), (bbox[2], bbox[3]), (255, 0, 0), 2, ) # After all the drawing is finished, we show the frame on the # screen cv2.imshow("preview", frame) cv2.imwrite("log\\test_frame.jpg", frame) # at any time, you can press "q" and exit the main loop, # therefore exiting the program itself if cv2.waitKey(1) == ord('q'): break