面向移动终端的条码识别系统的研究与实现
发布时间:2018-05-21 19:08
本文选题:条码识别 + 数字图像处理 ; 参考:《电子科技大学》2015年硕士论文
【摘要】:条形码技术自20世纪四五十年代发明以来,逐渐被广泛应用在商业、医疗、机械制造业、金融业、物流仓储等各行各业。近年来条码技术的发展迅速,特别是二维码的广泛使用,条码技术已经逐渐深入人们的生活当中。目前,市场中已经有成熟的条码识别设备出售,但是有着价格昂贵、功能单一等缺点。随着嵌入式硬件、软件技术的发展,智能移动终端开始迅猛的发展,而其中智能手机是发展最迅速的一类。条形码技术可以很方便的为智能终端提供数据传输的支持,配合智能终端多应用的特性,只需要搭载不同的应用,就可以将同一台设备应用到大量不同的场景。为了将条码技术与当前发展迅速的互联网应用相结合,本文以面向移动智能终端的条码识别系统为课题,主要研究了一、二维条码的解码方法,通过图像处理的方式在条码定位、去模糊、低解析度方面提高解码效果;以智能移动终端技术作为基础,自行设计并实现了一款条码识别系统,该系统以嵌入式Linux和开源系统Android作为基础,搭载我们实现的解码库,可以运行多种不同的解码应用,适用于各行各业的应用场景。主要研究分为四个部分。第一部分提出条码识别系统的架构,分为解码应用层、解码中间件层和硬件层三个部分。应用层会根据不同的应用场景而实现不同的业务逻辑;解码中间件为最重要的组成部分,其实现了对硬件的驱动,向应用层提供通用的接口,为应用层屏蔽具体硬件的操作。最后根据条码识别的需要,选择硬件器件,包括摄像头模块、照明灯、指示灯、蜂鸣器、按键等。第二部分为驱动程序的设计与实现。根据硬件连接的不同控制接口,分析Linux中GPIO、I2C、PWM、V4L2和SPI驱动框架,并实现对应硬件设备的驱动程序;实现一个抽象访问层,为应用层提供硬件操作接口。第三部分为解码算法的研究,解码算法分为两个部分,一是使用图像处理的方法,从条码图案的定位、去模糊、低解析度、图像旋转几个方面提高条码图像的质量;二是根据每个类型条码的编码规范,通过对条码图像的识别,完成图案内容到字符内容的转换。第四部分为条码识别系统的性能测试。通过多种不同角度的测试确定我们所实现的条码识别系统的性能,并与当前市场上成熟的条码识别设备进行对比。
[Abstract]:Bar code technology has been widely used in commercial, medical, mechanical, financial, logistics and warehousing industries since it was invented in the 1940s and 1950s. In recent years, bar code technology has developed rapidly, especially in the widely use of two-dimensional code, bar code technology has gradually penetrated into people's lives. At present, there are mature barcode recognition equipment sold in the market, but it has the disadvantages of high price and single function. With the development of embedded hardware and software technology, smart mobile terminal is developing rapidly, and smart phone is the most rapid development. Bar code technology can easily provide data transmission support for intelligent terminals. With the multi-application characteristics of intelligent terminals, the same device can be applied to a large number of different scenarios only with different applications. In order to combine bar code technology with the rapid development of Internet application, this paper mainly studies the decoding method of one and two dimension bar code, which is based on the bar code recognition system for mobile intelligent terminal. A bar code recognition system is designed and implemented on the basis of intelligent mobile terminal technology, which improves decoding effect by image processing in bar code location, deblurring and low resolution. Based on embedded Linux and open source system Android, the system can run a variety of different decoding applications and can be used in various application scenarios. The main research is divided into four parts. In the first part, the structure of bar code recognition system is proposed, which is divided into three parts: decoding application layer, decoding middleware layer and hardware layer. The application layer will realize different business logic according to different application scenarios, decoding middleware is the most important component, it realizes the drive of the hardware, provides the general interface to the application layer, and shields the operation of the specific hardware for the application layer. Finally, according to the need of bar code recognition, hardware devices are selected, including camera module, illumination lamp, indicator lamp, buzzer, key and so on. The second part is the design and implementation of the driver. According to the different control interfaces of the hardware connection, this paper analyzes the GPIOO I _ 2C _ (2C) PWMN V4L2 and SPI driver framework in Linux, and implements the driver program of the corresponding hardware device, and implements an abstract access layer to provide the hardware operation interface for the application layer. The third part is the research of decoding algorithm. The decoding algorithm is divided into two parts. One is using the method of image processing to improve the quality of barcode image from the aspects of bar code pattern location, deblurring, low resolution and image rotation. Secondly, according to the coding specification of each type of bar code, the transformation from pattern content to character content is accomplished by the recognition of bar code image. The fourth part is the performance test of bar code recognition system. The performance of the barcode recognition system is determined by testing from different angles, and compared with the current mature barcode recognition equipment in the market.
【学位授予单位】:电子科技大学
【学位级别】:硕士
【学位授予年份】:2015
【分类号】:TP391.44
【参考文献】
相关硕士学位论文 前1条
1 谢超;复杂背景下的条码定位技术研究[D];浙江工业大学;2011年
,本文编号:1920394
本文链接:https://www.wllwen.com/guanlilunwen/wuliuguanlilunwen/1920394.html