自條碼發明以來,大幅地改善了人們的生活習慣,在現今社會中隨處可見到條碼的蹤影。條碼使用簡單的一組黑白相間條紋符號做為儲存的訊號,減少輸入資料的大量人力與時間,並廣泛應用在商品管理、倉儲、物流、圖書管理等領域。 一般的條碼系統所使用的掃描器是以一帶有輔助光源的光罩式或雷射式掃描器為主要解碼工具,不僅成本較為高昂,也必須在一定的距離下才能掃描。為了降低掃描器的成本及增加其可用範圍,已有一些人研究以一般的數位相機、攝影機等做為條碼影像擷取的工具,進而利用影像處理的方法進行條碼辨識。但從相關的文獻中可發現大部分的辨識方法皆以辨識條碼本體為主,並且當條碼不完整或是髒汙、破損的情況下便無法成功辨識。因此本論文在嵌入式系統的基礎上,以數位相機做為條碼影像擷取工具,並開發新的辨識方法,除了辨識條碼主體外,亦同時辨識條碼的數字,發揮影像處理的優點,提高辨識的正確率。最後提出一個比對方法,當條碼不完整或破損的情況下,能夠利用交叉比對得到正確的辨識結果。
Since the invention of barcode has been significantly improved people's living habits. Nowadays, we can see barcodes across everywhere. Barcodes use a set of simple black-and-white stripes as a symbol of the storage signal. It can reduce a great deal of manpower and time for inputting the data, and widely used in commodity management, warehousing, logistics, library management and other fields. General barcode system uses a CCD or a laser scanner with a light source as the main decoding tool. It is not only more expensive, but also a certain distance to scan. In order to reduce costs of the scanner and increase the application, there have been some people capture barcode images by digital cameras or digital video recorders, and decode the barcode by methods of image processing. However, from related literatures, we can find most of the barcode identification methods are required to identify the main body, and when the barcode is incomplete or dirt, the case of damage will not be able to identify success. Therefore, in the embedded system, we use a digital camera as a barcode capture tool, and develop new barcode recognition methods. In addition to recognize the main barcode, we also recognize the number of barcode at the same time. Exert advantages of image processing to improve the correct rate of identification. At last, we propose a method of comparison, when the barcode is incomplete or damaged, it can make use of cross-reference to get the correct results.