Pedestrian Example in V2 image of milkv duo s

I executed the suggested command for pedestrian detection in this board and got the following error output. I am using the precompiled executable included in the V2 latest image. The basic camera-test.sh works fine so its not an issue with the hardware. Any ideas? Thanks in advance.

[root@milkv-duo]~# /mnt/system/usr/bin/ai/sample_vi_od mobiledetv2-pedestrian /mnt/cvimodel/mobiledetv2-pedestrian-d0-ls-448.cvi
model
[SAMPLE_COMM_SNS_ParseIni]-2219: Parse /mnt/data/sensor_cfg.ini
[parse_source_devnum]-1812: devNum =  1
[parse_sensor_name]-1893: sensor =  GCORE_GC2083_MIPI_2M_30FPS_10BIT
[parse_sensor_busid]-1922: bus_id =  3
[parse_sensor_i2caddr]-1933: sns_i2c_addr =  37
[parse_sensor_mipidev]-1944: mipi_dev =  0
[parse_sensor_laneid]-1955: Lane_id =  2, 0, 1, -1, -1
[parse_sensor_pnswap]-1966: pn_swap =  0, 0, 0,  0,  0
MMF Version:6b03c2762-64bit
Create VBPool[0], size: (3110400 * 3) = 9331200 bytes
Create VBPool[1], size: (3110400 * 3) = 9331200 bytes
Create VBPool[2], size: (2359296 * 1) = 2359296 bytes
Total memory of VB pool: 21021696 bytes
Initialize SYS and VB
Initialize VI
ISP Vipipe(0) Allocate pa(0x9680e000) va(0x0x3fc1957000) size(311584)
stSnsrMode.u16Width 1920 stSnsrMode.u16Height 1080 30.000000 wdrMode 0 pstSnsObj 0x3fc240e3e8
[SAMPLE_COMM_VI_StartMIPI]-494: sensor 0 stDevAttr.devno 0
awbInit ver 6.9@2021500
0 R:1400 B:3100 CT:2850
1 R:1500 B:2500 CT:3900
2 R:2300 B:1600 CT:6500
Golden 1024 1024 1024
WB Quadratic:0
isWdr:0
ViPipe:0,===GC2083 1080P 30fps 10bit LINE Init OK!===
********************************************************************************
cvi_bin_isp message
gerritId:      NULL           commitId:      6b03c2762
md5:           1b6dd6bec5dfd417b8d1136b9ca0aa67
sensorNum      1
sensorName0    2083

PQBIN message
gerritId:      80171          commitId:      5c9d8fc5d
md5:           ba5a510e093ad42db6788e6c2d13169e
sensorNum      3
sensorName0    2053

author:        wanqiang.he    desc:          思博慧CV1812H_GC2083_RGB_mode_V1.0.0
createTime:    2023-08-04 16:48:08version:       V1.1
tool Version:       v3.0.5.24           mode:
********************************************************************************
sensorName(0) mismatch, mwSns:2083 != pqBinSns:2053
19700101 00:04:54.251 0367 E isp AF_GetAttr:574 pstFocusMpiAttr is NULL
JSON_READ_ERR:NOT_EXIST 71(L) lblc

JSON_READ_ERR:NOT_EXIST 71(L) lblcLut

JSON_READ_ERR:NOT_EXIST 71(L) clut_hsl

JSON_READ_ERR:DATA_TYPE 77(L) vc_motion.MotionThreshold

JSON_READ_ERR:NOT_EXIST 71(L) teaisp_bnr

JSON_READ_ERR:NOT_EXIST 71(L) teaisp_bnr_np

JSON_READ_ERR:NOT_EXIST 71(L) AWBAttrEx.u16MultiLSThr

JSON_READ_ERR:NOT_EXIST 71(L) AWBAttrEx.u16CALumaDiff

JSON_READ_ERR:NOT_EXIST 71(L) AWBAttrEx.u16CAAdjustRatio

JSON_READ_ERR:NOT_EXIST 71(L) AWBAttrEx.stInterference

JSON_READ_ERR:NOT_EXIST 71(L) FocusAttr

19700101 00:04:54.592 0367 E isp AF_SetAttr:558 pstFocusMpiAttr is NULL
[SAMPLE_COMM_ISP_Thread]-390: ISP Dev 0 running!
Initialize VPSS
---------VPSS[0]---------
Input size: (1920x1080)
Input format: (19)
VPSS physical device number: 1
Src Frame Rate: -1
Dst Frame Rate: -1
    --------CHN[0]-------
    Output size: (1920x1080)
    Depth: 1
    Do normalization: 0
        Src Frame Rate: -1
        Dst Frame Rate: -1
    ----------------------
    --------CHN[1]-------
    Output size: (1920x1080)
    Depth: 1
    Do normalization: 0
        Src Frame Rate: -1
        Dst Frame Rate: -1
    ----------------------
------------------------
Bind VI with VPSS Grp(0), Chn(0)
Attach VBPool(0) to VPSS Grp(0) Chn(0)
Attach VBPool(1) to VPSS Grp(0) Chn(1)
Initialize VENC
venc codec: h264
venc frame size: 1920x1080
Initialize RTSP
rtsp://127.0.1.1/h264
prio:0
found not named tensor:box16
found not named tensor:box32
found not named tensor:box4
found not named tensor:box64
found not named tensor:box8
found not named tensor:class16
found not named tensor:class32
found not named tensor:class4
found not named tensor:class64
found not named tensor:class8
parse bbox tensor name:box16,stride:16
parse bbox tensor name:box32,stride:32
parse bbox tensor name:box4,stride:4
parse bbox tensor name:box64,stride:64
parse bbox tensor name:box8,stride:8
parse class tensor name:class16,stride:16
parse class tensor name:class32,stride:32
parse class tensor name:class4,stride:4
parse class tensor name:class64,stride:64
parse class tensor name:class8,stride:8
minlevel:2,maxlevel:6
Enter TDL thread
Enter encoder thread
CVI_VPSS_GetChnFrame failed with 0xc006800e
Exit TDL thread
CVI_VPSS_GetChnFrame chn0 failed with 0xc006800e
Exit encoder thread
destroy middleware
19700101 00:04:56.802 0367 E isp isp_3aLib_exit:621 type 2 registered awb lib can't init
ISP Vipipe(0) Free pa(0x9680e000) va(0x0x3fc1957000)
stop VPSS (0)
1 Like

I spent a couple of hours on this, but unfortunately, I can’t offer a solution. I also tried with an OV5647 camera—same behavior as with the GC2083 camera. The camera-test.sh script runs flawlessly on both, but none of the other object detection examples work. So, it’s probably an issue with the V2 image (I haven’t tried V1, as everything else works perfectly on the board with image V2).

1 Like