报错[warning] Neural network inference was performed on socket ‘RGB’, depth frame is aligned to socket

报错提示:
[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)

其他常见报错:
请查看


OAK中国
| OpenCV AI Kit在中国区的官方代理商和技术服务商
| 追踪AI技术和产品新动态

戳「+关注」获取最新资讯↗↗

你可能感兴趣的:(OAK常见报错,OAK相机,depthai)