没找到二维数组的方式,使用伪二维数组(其实是一维向量)
RegionAlignment_ROI1:=[724.615, 1571.03, 841.724, 1903] RegionText_ROI1:=[986, 1436, 1282, 1834] row1s_pos_ROI1:=[1020.86,1022.64,1067.99,1068.32,1117.23,1115.65,1165.96,1212.42] column1s_pos_ROI1:=[1482,1660,1475.65,1654.45,1474.1,1651.31,1475.16,1475.16] row2s_pos_ROI1:=[1052.75,1053.75,1103.04,1103.76,1152.27,1153.06,1201,1249.44] column2s_pos_ROI1:=[1525,1700,1525,1715,1525,1732,1554,1554] *集合读取的内容 InputTuple_ROI1.at(0):=RegionAlignment_ROI1 InputTuple_ROI1.at(1):=RegionText_ROI1 InputTuple_ROI1.at(2):=row1s_pos_ROI1 InputTuple_ROI1.at(3):=column1s_pos_ROI1 InputTuple_ROI1.at(4):=row2s_pos_ROI1 InputTuple_ROI1.at(5):=column2s_pos_ROI1
若把InputTuple_ROI1当做函数的输入参数,注意转1维向量
标签:InputTuple,pos,halcon,1525,二维,ROI1,数组 From: https://www.cnblogs.com/xixixing/p/17119004.html