基于国密SM2加解密的视频流的运动的多条码识别算法研究
Multi-Bar Code Recognition Algorithm Based on SM2 Encryption and Decryption of the Motion of the Video Stream
DOI: 10.12677/CSA.2016.61007, PDF, HTML, XML, 下载: 2,340  浏览: 5,466  国家科技经费支持
作者: 王春才:长春理工大学,计算机科学技术学院,吉林 长春;孙媛媛:长春市万易科技有限公司,工程研究中心,吉林 长春;李哲:吉林真才信息技术有限公司,软件产品研发部,吉林 长春
关键词: 条码定位条码识别国密加解密模板匹配一维条码Barcode Location Barcode Recognition Country Administration Announce SM2 Encryption and Decryption Template Match One-Dimension Barcode
摘要: 从整幅图像中圈定条码区域和基于运动的多条码识别即是去除运动造成的模糊一直以来是国内的难点,如何快速有效对条码进行定位与识别。本文研究了基于国密SM2加解密的视频流的运动的多条码识别技术。首先探讨了运动图像去模糊技术,一维条码的定位分割技术,即在条码中分割出单行码字符号的图像,本文主要采用模板匹配方法对条码进行定位分割,采用8个方向的模板对条码进行匹配;其次由于运动条码会存在扭曲,需要进行矫正、进行识别,根据条码的识别原理译码,统计各黑白模块宽度,获取条空序列,然后查找码字表获得码字序列,由于一维条码存储信息量少,需要查询数据库进行关联获得条码的产地、日期等可以追溯到的敏感信息,采用国密的SM2对敏感信息加密,最后在追溯查询阶段对敏感信息进行解密识别出条码。实验结果表明,该识别算法具有优秀的性能,显著地提高了条码的识别率,在产品入库阶段满足了实际使用的要求。
Abstract: The delineation of the bar code from the whole image area and the bar code identification based on multi-movement, i.e. the removal of the blur by the motion, is a difficulty on how to quickly and effectively find the barcode for recognition and location. In this paper, we studied the multi-bar code recognition technology based on the SM2 encryption and decryption of the motion of the video stream. First of all, the paper discusses the motion image deblurring techniques, positioning the one-dimensional bar code segmentation technology—the segmentation of single row codeword in the bar code symbols. This paper mainly uses the method of template matching to locate barcode segmentation and adopts 8-direction template for barcode matching. Secondly there will be distortions of bar code due to the movement, and there is a need to be corrected and be identified, with the decoding according to the principle of identification, the statistics of width of black and white modules, getting empty sequences, and the foundation of the codeword table for the codeword sequence. Because the amount of information stored in the barcode is lacking, we need to query the database to obtain related barcode origin, the date and the information which can be traced back, use the country’s dense SM2 encrypting sensitive information, and identify the bar code at the end of the encryption of sensitive information in the back stage. Experimental results show that the recognition algorithm has excellent performance, significantly improves the recog-nition rate of the bar code, and meets the requirements of the actual use in the product storage stage. 
文章引用:王春才, 孙媛媛, 李哲. 基于国密SM2加解密的视频流的运动的多条码识别算法研究[J]. 计算机科学与应用, 2016, 6(1): 58-64. http://dx.doi.org/10.12677/CSA.2016.61007

参考文献

[1] 张闯. 条码识别技术研究及其在产品流水线上的应用[D]: [硕士学位论文]. 上海: 东华大学, 2013: 1-6.
[2] Joseph, E. and Pavlidis, T. (1991) Wave Form Recognition with Application to Bar Codes. 1991 IEEE In-ternational Conference on Decision Aiding for Complex Systems, Charlottesville, 13-16 October 1991, 129-134.
[3] 张宁. 基于摄像方式的二维条码识别算法的研究[D]: [硕士学位论文]. 南京: 南京理工大学, 2013: 1-63.
[4] 雷海军, 林毅锋, 罗小江, 沈伟鹏. 电表图像中多条码的定位与识别[J]. 湖南工程学院学报(自然科学版), 2014, 24(3): 1-4.
[5] 闫锡鹏. 快递邮件分拣条形码图像分析[D]: [硕士学位论文]. 上海: 华东理工大学, 2014.
[6] Fowlkes, C., Belongie, S., Chung, F., et al. (2004) Spectral Grouping Using the Nystrêm Method. IEEE Transactions on Pattern Analysis and Machine Intelligence, 26, 214-255.
http://dx.doi.org/10.1109/TPAMI.2004.1262185
[7] Ersahin, K., Cumming, I.G. and Yedlinm, J. (2010) Classification of Polarimetric SAR Data Using Spectral Graph Segmentation and Partitioning. IEEE Transactions on Geoscience and Remote Sensing, 48, 164-174.
http://dx.doi.org/10.1109/TGRS.2009.2024303
[8] Anfinsen, S.N., Jenssen, R. and Eltoft, T. (2009) Spectral Clustering of Polarimetric SAR Data with Wish Art-Derived Distance Measures. http://earth.esa.int/workshops/polin-sar2007 /papers/140_anfinsen.pdf
[9] 吴昕生, 邓军. 利用提取边缘线的方法定位条形码[J]. 计算机应用学报, 2010, 30(5): 1246-1250.
[10] Yang, J., Peng, Y.N. and Lin, S.M. (2001) Similarity between Two Scattering Matrices. Electronics Letters, 37, 193- 194.
http://dx.doi.org/10.1049/el:20010104
[11] 国家密码管理局. SM2椭圆曲线公钥密码算法[Z]. 国家密码管理局, 2010: 1-30.
[12] 赵春平. Openssl编程手册[M]. 无锡: 江南计算技术研究所: 1-60.