随着互联网的普及,二维码已经渗透到人们生活的方方面面.针对二维码识别性能和效率较低的问题,提出了一款基于彩色光学识别的高维标签结构----彩码.彩码通过颜色和形状承载信息量,包含的信息量是二维码的几百倍,应用也比二维码更加广泛.共设计了两种方案来识别彩码:方案一通过采用轮廓提取与中心点排序算法,实现了彩码ID的输出;方案二则是在方案一的算法基础上进行优化和改进,增加聚类算法和抗干扰算法,解决了色块的偏移和彩码的杂点等问题.结果表明,提出的上述两种方案都顺利实现了对彩码信息的访问.
With the popularity of the Internet, the two-dimensional code has penetrated into all aspects of people's life. In view of the low performance and efficiency of two-dimensional code recognition a high-dimension tag structure based on color optical recognition--color code is proposed. Color code carries information by colors and shapes, and the information it contains in hundreds of times the information contained in the two-dimensional code, and its application is more extensive than that of two-dimensional code. Two schemes for identifying color codes are designed, scheme one realizes the output of color code ID by using contour extraction and central point sorting algorithm, while scheme two is, based on scheme one, to optimize and improve the algorithm, and adds clustering algorithm and anti-jamming algorithm for solving the color block migration, color code miscellaneous points and so on. The experiment results show that the above two proposed schemes could both successfully realize the access to color code information.