关于MilkDuo 256M摄像头问题

由于无法买到官方摄像头,购买了gc2053摄像头,使用官方教程时发现出现了如下报错,有没有大佬帮忙看下问题出在哪

enable online mode 1
vi init failed. s32Ret: 0xffffffff !
init vi fail
CVI_RTSP_SERVICE_CreateFromJsonFile fail -1
CVI_RTSP_SERVICE_CreateFromJsonFile[./cfg_64M.json]
[REMOTE] cvi_raw_dump_run,158: raw dump ready...
waiting for connect...

如果希望使用GC2053摄像头,需要按照以下步骤进行更改:

  1. 修改/mnt/data/sensor_cfg.ini文件中第八行,将name = GCORE_GC2083_MIPI_2M_30FPS_10BIT改为name = GCORE_GC2053_MIPI_2M_30FPS_10BIT
  2. 复制/mnt/system/lib/libsns_gc2083.so/mnt/system/lib/libsns_gc2053.so
  3. 对于opencv-mobile,需要在capcture-cvi.cpp中更新摄像头型号信息。这里提供了一个已修改并测试的opencv-mobile库,可以通过以下链接下载:https://drive.google.com/file/d/1TVudwXyBL4IPLZEridz3KbblRdfLxIwj/view?usp=sharing

Should you wish to utilize the GC2053 camera, it is necessary to undertake the following modifications:

  1. Please amend the eighth line within the /mnt/data/sensor_cfg.ini file, changing name = GCORE_GC2083_MIPI_2M_30FPS_10BIT to name = GCORE_GC2053_MIPI_2M_30FPS_10BIT.
  2. Copy the file /mnt/system/lib/libsns_gc2083.so to /mnt/system/lib/libsns_gc2053.so.
  3. For opencv-mobile, an update of the camera model information in capcture-cvi.cpp is required. Herein, a modified and tested version of the opencv-mobile library is provided for download via the following link: https://drive.google.com/file/d/1TVudwXyBL4IPLZEridz3KbblRdfLxIwj/view?usp=sharing.

您好,您给的链接里面是空的,可以麻烦您重新上传下吗

您好,按您的步骤,当我运行opencv进行VPSS 硬件加速测试时,出现了这个报错,能麻烦帮忙解决下吗?

opencv-mobile HW JPG decoder with cvi
opencv-mobile MIPI CSI camera with cvi
Segmentation fault

picture

请问使用的是什么固件呢?请使用1.0.8版本固件