+86-18555129021
contact@oakchina.cn

【16】[warning] Neural network inference was performed on socket ‘RGB’, depth frame is aligned to socket ‘RIGHT’.

【16】[warning] Neural network inference was performed on socket ‘RGB’, depth frame is aligned to socket ‘RIGHT’.

报错提示:

[warning] Neural network inference was performed on socket ‘RGB’, depth frame is aligned to socket ‘RIGHT’. Bounding box mapping will not be correct, and will load to erroneus spatial value. Align depth map to socket ‘RGB’ using ‘setDepthAlign’.

解决方法:

设置stereo.setDepthAlign(dai.CameraBoardSocket.RGB)