透過您的圖書館登入
IP:52.14.238.102
  • 學位論文

Code39解碼系統設計

System Design for Code39 Decoders

指導教授 : 王鵬華
若您是本文的作者,可授權文章由華藝線上圖書館中協助推廣。

摘要


一維條碼是將寬度不等的黑條和空白所組成的,按照編碼的規則來排列,變成一個圖形的識別元。而一維條碼廣泛應用於商品流通、圖書及郵政管理,銀行系統等許多得領域裡。在論文中,我們探討的是一維條碼的解碼,我們提出一個在複雜環境下可以定位條碼的演算法,但是要定位到一維條碼的位置,先要瞭解條碼的特性,可以利用邊緣檢測方法來尋找條碼的位置,以及用濾波器來濾除一些不必要的雜訊,來更精準的定位到條碼,而後條碼切割是根據條碼定位後將一列資訊取出,條碼切割的方法必須搭配條碼的特性,Code39條碼中前後各佔一塊白色的靜止區,能準確找到前後的靜止區塊就能提取條碼的資訊;在解碼的演算法中,我們所測試條碼的樣本為Code39,因為Code39條碼是可變動長度,所以是一個未知碼字長度和寬度的條碼。在此我們利用區域性的二值化而得到每一個寬度資訊,將得到後的每一個字元寬度作寬度定義,再搭配Code39的解碼樣本來作解碼。我們測試500組的樣本,以及利用DTK解碼軟體進行比較,當條碼在光照不均勻的情況下,在我們的演算法中可以達到滿高的解碼成功率,主要的原因是利用一個可調式的閥值,而得到相對的寬度資訊進行解碼,而當在條碼的最小寬度為2以上時,我們的演算法能解碼無誤。

關鍵字

39碼 一維條碼

並列摘要


The one-dimensional barcode is composed of different width of black and space, according to the coding rule. The one-dimensional barcode widely applies in the circulation of commodities, the management of books and postal delivery, the banking system. In this thesis, we discuss the method of decoding the one-dimensional barcodes. We propose a method of locating barcodes in images with complex background. The method of segmenting the barcode from a row is proposed. It is necessary for segmenting a barcode to use the characteristics of barcodes. The target symbology is Code39. Characteristics of Code39 are the unknown number of digits and unknown bar widths. We use local binarization and pattern matching for decoding. We implement the proposed method in both off-line test and real-time realization for validation. Under the off-line environment, we take barcode images by digital camera. We take 500 images that are divided into 5 sets and we compare the decoding result with DTK decoder.

並列關鍵字

Code 39 1-D barcode

參考文獻


[1] (2000) Online barcode generator. [Online]. Available:
[2] (2010) Free online barcode generator. [Online]. Available:
[4] D. Chai and F. Hock, “Locating and decoding ean-13 barcodes from images captured
[5] A. Tropf and D. Chai, “Locating 1-d bar codes in dct-domain,” in Acoustics, Speech
ference on, vol. 2, may 2006, p. II.

延伸閱讀


國際替代計量