Closed ZHEQIUSHUI closed 2 years ago
reboot and try again, error from camera module
reboot and try again, error from camera module
i reboot many times,
python3 use camera and display is good
Maybe check the libmaix_cam library first and maixPy3 is working properly? Must it happen?
需要模仿camera的example同时打开两个cam,就会正常出图
libmaix_cam_t* cam = libmaix_cam_create(0, res_w, res_h, 1, 0);
if(!cam)
{
printf("create cam fail\n");
}
libmaix_cam_t* cam1 = libmaix_cam_create(1, 256, 160, 1, 0);
if(!cam1)
{
printf("create cam1 fail\n");
}
记得要destory
if(cam)
libmaix_cam_destroy(&cam);
if(cam1)
libmaix_cam_destroy(&cam1);