嘉楠云平台训练出来的K230模型同时给两个摄像头使用出现问题

Viewed 142

云平台训练好的det_video文件中只定义了两个sensor摄像头CSI1,CSI2,
相当于CSI1,CSI2两个都绑定绑定通道0的输出到vo(一个x=0, y=240,一个x=400, y=240)。一个摄像头rgb888p_img从它的通道2获取用来AI推理的图像,另一个rgb888p_img2从它的通道1获取用来AI推理的图像结果报错
Traceback (most recent call last):
File "", line 349, in
File "", line 191, in detection
File "media/media.py", line 181, in init
RuntimeError: MediaManager, vb config failed(-1610317806), at now please reboot the board to fix it.
MPY: soft reboot
CanMV v1.2.2(based on Micropython e00a144) on 2024-12-18; k230_canmv_01studio with K230

代码链接https://blog.csdn.net/2201_75423240/article/details/145939002?sharetype=blogdetail&sharerId=145939002&sharerefer=PC&sharesource=2201_75423240&spm=1011.2480.3001.8118

3 Answers

没看出什么问题,你要不去掉一个sensor.run()试试?

去掉一个也不能用。IDE上显示这样

我认为是你的display输出有问题,两个sensor同时输出到ide

是这样的,两个senser如果不限制分辨率的话是没法同时在ide上显示的,或者用LT9611显示,默认1920x1080模式可以同时显示