面向移動終端的條碼識別系統(tǒng)的研究與實現(xiàn)
發(fā)布時間:2018-05-21 19:08
本文選題:條碼識別 + 數(shù)字圖像處理 ; 參考:《電子科技大學》2015年碩士論文
【摘要】:條形碼技術(shù)自20世紀四五十年代發(fā)明以來,逐漸被廣泛應用在商業(yè)、醫(yī)療、機械制造業(yè)、金融業(yè)、物流倉儲等各行各業(yè)。近年來條碼技術(shù)的發(fā)展迅速,特別是二維碼的廣泛使用,條碼技術(shù)已經(jīng)逐漸深入人們的生活當中。目前,市場中已經(jīng)有成熟的條碼識別設(shè)備出售,但是有著價格昂貴、功能單一等缺點。隨著嵌入式硬件、軟件技術(shù)的發(fā)展,智能移動終端開始迅猛的發(fā)展,而其中智能手機是發(fā)展最迅速的一類。條形碼技術(shù)可以很方便的為智能終端提供數(shù)據(jù)傳輸?shù)闹С?配合智能終端多應用的特性,只需要搭載不同的應用,就可以將同一臺設(shè)備應用到大量不同的場景。為了將條碼技術(shù)與當前發(fā)展迅速的互聯(lián)網(wǎng)應用相結(jié)合,本文以面向移動智能終端的條碼識別系統(tǒng)為課題,主要研究了一、二維條碼的解碼方法,通過圖像處理的方式在條碼定位、去模糊、低解析度方面提高解碼效果;以智能移動終端技術(shù)作為基礎(chǔ),自行設(shè)計并實現(xiàn)了一款條碼識別系統(tǒng),該系統(tǒng)以嵌入式Linux和開源系統(tǒng)Android作為基礎(chǔ),搭載我們實現(xiàn)的解碼庫,可以運行多種不同的解碼應用,適用于各行各業(yè)的應用場景。主要研究分為四個部分。第一部分提出條碼識別系統(tǒng)的架構(gòu),分為解碼應用層、解碼中間件層和硬件層三個部分。應用層會根據(jù)不同的應用場景而實現(xiàn)不同的業(yè)務邏輯;解碼中間件為最重要的組成部分,其實現(xiàn)了對硬件的驅(qū)動,向應用層提供通用的接口,為應用層屏蔽具體硬件的操作。最后根據(jù)條碼識別的需要,選擇硬件器件,包括攝像頭模塊、照明燈、指示燈、蜂鳴器、按鍵等。第二部分為驅(qū)動程序的設(shè)計與實現(xiàn)。根據(jù)硬件連接的不同控制接口,分析Linux中GPIO、I2C、PWM、V4L2和SPI驅(qū)動框架,并實現(xiàn)對應硬件設(shè)備的驅(qū)動程序;實現(xiàn)一個抽象訪問層,為應用層提供硬件操作接口。第三部分為解碼算法的研究,解碼算法分為兩個部分,一是使用圖像處理的方法,從條碼圖案的定位、去模糊、低解析度、圖像旋轉(zhuǎn)幾個方面提高條碼圖像的質(zhì)量;二是根據(jù)每個類型條碼的編碼規(guī)范,通過對條碼圖像的識別,完成圖案內(nèi)容到字符內(nèi)容的轉(zhuǎn)換。第四部分為條碼識別系統(tǒng)的性能測試。通過多種不同角度的測試確定我們所實現(xiàn)的條碼識別系統(tǒng)的性能,并與當前市場上成熟的條碼識別設(shè)備進行對比。
[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
【參考文獻】
相關(guān)碩士學位論文 前1條
1 謝超;復雜背景下的條碼定位技術(shù)研究[D];浙江工業(yè)大學;2011年
,本文編號:1920394
本文鏈接:http://sikaile.net/guanlilunwen/wuliuguanlilunwen/1920394.html
最近更新
教材專著