MaJC
March 29, 2024, 1:55pm
1
由于无法买到官方摄像头,购买了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...
ericz
March 29, 2024, 3:35pm
2
如果希望使用GC2053摄像头,需要按照以下步骤进行更改:
修改/mnt/data/sensor_cfg.ini
文件中第八行,将name = GCORE_GC2083_MIPI_2M_30FPS_10BIT
改为name = GCORE_GC2053_MIPI_2M_30FPS_10BIT
。
复制/mnt/system/lib/libsns_gc2083.so
为/mnt/system/lib/libsns_gc2053.so
。
对于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:
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
.
Copy the file /mnt/system/lib/libsns_gc2083.so
to /mnt/system/lib/libsns_gc2053.so
.
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 .
MaJC
March 30, 2024, 10:06am
3
您好,您给的链接里面是空的,可以麻烦您重新上传下吗
MaJC
April 2, 2024, 2:05pm
5
您好,按您的步骤,当我运行opencv进行VPSS 硬件加速测试时,出现了这个报错,能麻烦帮忙解决下吗?
opencv-mobile HW JPG decoder with cvi
opencv-mobile MIPI CSI camera with cvi
Segmentation fault