TWM653513U - System for inspecting graphic code quality - Google Patents

System for inspecting graphic code quality Download PDF

Info

Publication number
TWM653513U
TWM653513U TW112211733U TW112211733U TWM653513U TW M653513 U TWM653513 U TW M653513U TW 112211733 U TW112211733 U TW 112211733U TW 112211733 U TW112211733 U TW 112211733U TW M653513 U TWM653513 U TW M653513U
Authority
TW
Taiwan
Prior art keywords
graphic code
image
quality
code
graphic
Prior art date
Application number
TW112211733U
Other languages
Chinese (zh)
Inventor
劉丞偉
林志偉
沈威政
廖珗洲
Original Assignee
州巧科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 州巧科技股份有限公司 filed Critical 州巧科技股份有限公司
Priority to TW112211733U priority Critical patent/TWM653513U/en
Publication of TWM653513U publication Critical patent/TWM653513U/en

Links

Images

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

A system for inspecting a graphic code quantity is provided. The system includes a computer device, a machine station and a camera device. The machine station uses a fixture to fix a graphic code test object having a graphic code. The computer device drives a light source to provide a light and activates the camera device to take a picture of the test object so as to generate a graphic code image. After that, when the system obtains the graphic code image, a graphic-identification model is used to identify category of the graphic code and identify a quality level of the graphic code.

Description

圖形碼品質檢測系統Graphics code quality inspection system

說明書公開一種圖形碼品質檢測技術,特別是指運用深度學習方法辨識圖形碼分類後而根據圖形碼分類執行光學檢測的一種圖形碼品質檢測系統。 The specification discloses a graphic code quality detection technology, in particular, a graphic code quality detection system that uses a deep learning method to identify the graphic code classification and then performs optical detection based on the graphic code classification.

條碼(包括一維條碼、二維條碼,如QR(quick response code)碼等)常見用途是依據特定編碼格式寫入資訊,可提供使用者利用讀碼器讀取其中記載的資訊,如貨品編號、商品資訊、網頁位址與各種識別資訊。而條碼品質將影響讀取資料的正確性與可用性,但是條碼印刷過程經常會由於機械設備及外部環境之原因出現重印、漏印、錯印或印刷模糊等印刷不良的情況,並且印刷條碼的各種物品表面或紙張的品質也影響數據讀取的成敗。 The common use of barcodes (including one-dimensional barcodes, two-dimensional barcodes, such as QR (quick response code) codes, etc.) is to write information according to a specific coding format, so that users can use barcode readers to read the information recorded therein, such as product numbers, product information, web addresses, and various identification information. The quality of barcodes will affect the accuracy and availability of the read data. However, the barcode printing process often has poor printing such as reprinting, missing printing, wrong printing, or blurred printing due to mechanical equipment and external environment. In addition, the quality of the surface of various objects or paper on which the barcode is printed also affects the success or failure of data reading.

習知技術曾提出條碼檢測的技術,其中的機台包括基座、控制台、裝設於基座上之輸送機構及鄰近輸送機構設置之讀碼器,輸送機構利用其中驅動元件帶動檢測條碼帶,可使讀碼器依次讀取條碼帶上之單條碼之數據,之後根據讀取條碼的結果判斷條碼是否印刷不良,若根據讀取條碼產生的錯誤結果,即標記為印刷不良的條碼。 The prior art has proposed a barcode detection technology, wherein the machine includes a base, a control console, a conveyor mechanism installed on the base, and a barcode reader installed near the conveyor mechanism. The conveyor mechanism uses a driving element therein to drive the detection barcode tape, which enables the barcode reader to read the data of a single barcode on the barcode tape in sequence, and then judge whether the barcode is poorly printed based on the result of reading the barcode. If an error result is generated based on the reading of the barcode, it is marked as a poorly printed barcode.

為了確保條碼的品質,條碼印刷時需要有品質檢測過程,揭露 書提出一種運用深度學習方法的圖形碼品質檢測系統,其中運行的檢測方法適用一維條碼、二維條碼等各種可以圖形表示並掃碼識別其中資訊的圖形碼。 In order to ensure the quality of barcodes, a quality inspection process is required when barcodes are printed. The book proposes a graphic code quality inspection system using deep learning methods. The inspection method is applicable to various graphic codes such as one-dimensional barcodes and two-dimensional barcodes that can be represented graphically and scanned to identify information.

根據圖形碼品質檢測系統實施例,圖形碼品質檢測系統包括一電腦裝置、機台與攝影裝置,機台設有治具,用以固定具有圖形碼的圖形碼待測物,經電腦裝置驅動光源提供光線,啟動攝影裝置拍攝圖形碼待測物,得出一圖形碼檢測影像。經取得圖形碼檢測影像後,辨識圖形碼檢測影像以得出圖形碼的分類,以及分辨圖形碼的品質等級。 According to the embodiment of the graphic code quality detection system, the graphic code quality detection system includes a computer device, a machine and a photographic device. The machine is provided with a fixture for fixing a graphic code object to be tested having a graphic code. The computer device drives the light source to provide light, and the photographic device is activated to shoot the graphic code object to be tested to obtain a graphic code detection image. After obtaining the graphic code detection image, the graphic code detection image is identified to obtain the classification of the graphic code and distinguish the quality level of the graphic code.

電腦裝置中以軟體與硬體協作實作功能模組,其中包括影像擷取模組,具有照相裝置(包括鏡頭、感光元件與其他電子元件)以及光源,用以拍攝圖形碼以產生圖形碼檢測影像;一深度學習模組,運用深度神經網路學習多種分類的圖形碼以訓練圖形辨識模型,圖形辨識模型用以辨識及分類該圖形碼;以及一光學檢測模組,根據圖形碼的分類執行對應此分類的圖形碼品質檢測流程。 The computer device uses software and hardware to implement functional modules, including an image capture module with a camera (including a lens, a photosensitive element and other electronic components) and a light source to capture graphics to generate graphics detection images; a deep learning module that uses a deep neural network to learn graphics of multiple classifications to train a graphics recognition model, and the graphics recognition model is used to recognize and classify the graphics; and an optical detection module that executes a graphics quality detection process corresponding to the classification of the graphics.

如此,在系統所運行的圖形碼品質檢測方法中,經影像擷取模組取得圖形碼檢測影像後,以圖形辨識模型辨識圖形碼檢測影像,可得出圖形碼的分類,以及以光學檢測模組根據圖形碼的分類檢測圖形碼檢測影像,分辨圖形碼的品質等級。 Thus, in the image quality detection method operated by the system, after the image acquisition module obtains the image of the image detection, the image recognition model is used to identify the image of the image detection, and the classification of the image code can be obtained. The optical detection module detects the image of the image detection according to the classification of the image code to distinguish the quality level of the image code.

進一步地,所述圖形碼的分類係包括多種以圖形表示的一維以及二維圖形碼。如此,於深度學習模組訓練圖形辨識模型的過程中,取得多種圖形碼的影像資料,並區分為運用於深度神經網路的訓練集,以及用於驗證圖形辨識模型的驗證集。 Furthermore, the classification of the graphic codes includes a variety of one-dimensional and two-dimensional graphic codes represented by graphics. Thus, in the process of training the graphic recognition model by the deep learning module, image data of a variety of graphic codes are obtained and divided into a training set used for the deep neural network and a verification set used to verify the graphic recognition model.

深度學習模組可運用一殘差網路學習多種不同尺寸、顏色以及具有折損的圖形碼影像,以監督式學習方法對各種圖形碼訓練出圖形辨識模型。 The deep learning module can use a residual network to learn a variety of graphics images of different sizes, colors, and distortions, and use supervised learning methods to train image recognition models for various graphics.

較佳地,圖形碼的分類為國際標準化組織(ISO)所規範的分類,使所述的圖形辨識模型辨識圖形碼檢測影像時,會得出符合國際標準化組織所規範的圖形碼的分類,再以光學檢測模組根據此國際標準化組織所規範的品質項目進行品質檢測,得出圖形碼的多項品質等級。 Preferably, the classification of the graphic code is the classification specified by the International Organization for Standardization (ISO), so that when the graphic recognition model recognizes the graphic code detection image, it will obtain the classification of the graphic code that meets the standards of the International Organization for Standardization. The optical detection module then performs quality detection based on the quality items specified by the International Organization for Standardization to obtain multiple quality levels of the graphic code.

當產生檢測結果,可以顯示模組顯示圖形碼的多項品質等級,特別是符合國際標準化組織規範的多項品質等級。 When the test results are generated, the module can display multiple quality levels of the graphic code, especially multiple quality levels that meet the standards of the International Organization for Standardization.

進一步地,所述檢測結果可通過電訊號、警示燈或電腦裝置的電腦螢幕回覆圖形碼是否符合品質規範的結果,而電腦螢幕可顯示一圖形使用者介面,其中區分為圖形碼影像預覽區、品質等級顯示區以及用以顯示圖形碼的多項品質等級的品質參數顯示區。 Furthermore, the detection result can be fed back via an electrical signal, a warning light or a computer screen of a computer device to indicate whether the graphic code meets the quality standard, and the computer screen can display a graphical user interface, which is divided into a graphic code image preview area, a quality level display area and a quality parameter display area for displaying multiple quality levels of the graphic code.

所述品質參數顯示區顯示的品質參數項目可包括解碼、軸向不一致性、網格不一致性、符號對比、調制比、反射幅度、固有圖形毀損、未使用的糾錯以及整體標誌等。 The quality parameter items displayed in the quality parameter display area may include decoding, axial inconsistency, grid inconsistency, symbol contrast, modulation ratio, reflection amplitude, inherent pattern damage, unused error correction and overall logo, etc.

為使能更進一步瞭解本新型的特徵及技術內容,請參閱以下有關本新型的詳細說明與圖式,然而所提供的圖式僅用於提供參考與說明,並非用來對本新型加以限制。 To further understand the features and technical contents of this new model, please refer to the following detailed description and drawings of this new model. However, the drawings provided are only used for reference and description and are not used to limit this new model.

10:圖形碼待測物 10: Graphic code object to be tested

100:治具 100: Fixture

101:光源 101: Light source

103:攝影裝置 103:Photographic equipment

105:電腦裝置 105:Computer equipment

201:影像擷取模組 201: Image capture module

203:圖形辨識模型 203:Graphic Recognition Model

205:深度學習模組 205: Deep Learning Module

207:光學檢測模組 207: Optical detection module

209:顯示模組 209: Display module

50:圖形使用者介面 50: Graphical User Interface

501:圖形碼影像預覽區 501: Graphics image preview area

503:操作按鈕 503: Operation button

505:品質等級顯示區 505: Quality level display area

507:品質參數顯示區 507: Quality parameter display area

40:影像圖表 40: Image chart

步驟S301~S309:圖形碼品質檢測流程 Steps S301~S309: Graphics code quality inspection process

圖1顯示品質檢測系統的硬體設置實施例示意圖;圖2顯示圖形碼品質檢測系統中功能模組實施例圖;圖3顯示圖形碼品質檢測方法實施例流程圖;圖4顯示各式圖形碼種類的例圖;以及圖5顯示圖形碼品質檢測系統執行檢測的使用者介面實施例示意圖。 Figure 1 shows a schematic diagram of a hardware configuration implementation example of a quality detection system; Figure 2 shows a diagram of a functional module implementation example of a graphic code quality detection system; Figure 3 shows a flowchart of a graphic code quality detection method implementation example; Figure 4 shows examples of various types of graphic codes; and Figure 5 shows a schematic diagram of a user interface implementation example of a graphic code quality detection system performing detection.

以下是通過特定的具體實施例來說明本創作的實施方式,本領域技術人員可由本說明書所公開的內容瞭解本創作的優點與效果。本創作可通過其他不同的具體實施例加以施行或應用,本說明書中的各項細節也可基於不同觀點與應用,在不悖離本創作的構思下進行各種修改與變更。另外,本創作的附圖僅為簡單示意說明,並非依實際尺寸的描繪,事先聲明。以下的實施方式將進一步詳細說明本創作的相關技術內容,但所公開的內容並非用以限制本創作的保護範圍。 The following is a specific implementation example to illustrate the implementation of this creation. Technical personnel in this field can understand the advantages and effects of this creation from the content disclosed in this manual. This creation can be implemented or applied through other different specific implementation examples. The details in this manual can also be modified and changed based on different viewpoints and applications without deviating from the concept of this creation. In addition, the attached figures of this creation are only for simple schematic illustration and are not depicted according to actual size. Please note in advance. The following implementation method will further explain the relevant technical content of this creation in detail, but the disclosed content is not used to limit the scope of protection of this creation.

應當可以理解的是,雖然本文中可能會使用到“第一”、“第二”、“第三”等術語來描述各種元件或者信號,但這些元件或者信號不應受這些術語的限制。這些術語主要是用以區分一元件與另一元件,或者一信號與另一信號。另外,本文中所使用的術語“或”,應視實際情況可能包括相關聯的列出項目中的任一個或者多個的組合。 It should be understood that although the terms "first", "second", "third" and so on may be used in this article to describe various components or signals, these components or signals should not be limited by these terms. These terms are mainly used to distinguish one component from another component, or one signal from another signal. In addition, the term "or" used in this article may include any one or more combinations of the related listed items depending on the actual situation.

揭露書提出一種圖形碼品質檢測系統,其中採用深度學習技術,運用深度學習網路學習多樣種類的圖形碼影像,包括一維條碼與二維條碼等以圖形表示而可以通過掃碼得出其中資訊的圖形碼,通過深度學習網路訓練得出的模型能準確分類圖形碼並進行品質檢測,所述圖形碼品質包括機械設備與環境因素產生重印、漏印、錯印、印刷模糊與紙張損壞等不良狀況,並且,在一實施方式中,圖形碼品質檢測系統還進一步根據國際標準化組織(International Organization for Standardization,ISO)(如ISO/IEC15415)所規範的品質項目進行品質檢測。 The disclosure document proposes a graphic code quality detection system, which adopts deep learning technology and uses a deep learning network to learn various types of graphic code images, including one-dimensional barcodes and two-dimensional barcodes, which are represented by graphics and can obtain information by scanning. The model trained by the deep learning network can accurately classify the graphics code and perform quality detection. The graphic code quality includes the bad conditions such as reprinting, missing printing, wrong printing, blurred printing and paper damage caused by mechanical equipment and environmental factors. In addition, in one embodiment, the graphic code quality detection system further performs quality detection according to the quality items specified by the International Organization for Standardization (ISO) (such as ISO/IEC15415).

圖1顯示揭露書所提出的圖形碼品質檢測系統的硬體設置實施例示意圖,圖中顯示範例僅用於示例,並不用於限制圖形碼品質檢測系統的 實施方式。 FIG1 is a schematic diagram showing a hardware configuration implementation example of the image code quality detection system proposed in the disclosure. The example shown in the figure is for illustrative purposes only and is not intended to limit the implementation method of the image code quality detection system.

圖中顯示圖形碼品質檢測系統提供一機台,機台設有治具100,用以固定圖形碼待測物10,圖形碼待測物10可為印刷在特定材質表面的圖形碼影像,進行光學檢測時,電腦裝置105作為主控電腦,連接攝影裝置103,驅動光源101提供光線,啟動攝影裝置103拍攝圖形碼待測物10,得出圖形碼檢測影像。 The figure shows that the graphic code quality inspection system provides a machine, which is equipped with a fixture 100 for fixing the graphic code object 10 to be tested. The graphic code object 10 can be a graphic code image printed on the surface of a specific material. When performing optical inspection, the computer device 105 serves as a main control computer, connected to the camera device 103, drives the light source 101 to provide light, and activates the camera device 103 to shoot the graphic code object 10 to obtain the graphic code inspection image.

電腦裝置105表示各種形式運行圖形碼品質檢測方法的系統,其中可以軟體與硬體協作實作各種運行圖形碼品質檢測的功能模組,可參考圖2所示圖形碼品質檢測系統中功能模組實施例圖。 Computer device 105 represents a system for running various forms of image code quality detection methods, in which software and hardware can collaborate to implement various functional modules for running image code quality detection. Please refer to the functional module implementation example diagram in the image code quality detection system shown in Figure 2.

根據圖形碼品質檢測系統的實施例,其中主要元件包括以軟體與硬體協作實現的影像擷取模組201,影像擷取模組201的組成包括照相裝置,如圖1的攝影裝置103,可知包括各種未示於圖中的鏡頭、感光元件與其他電子元件,以及如圖1所示的光源101,用以拍攝圖形碼待測物上印刷的一圖形碼以產生圖形碼檢測影像。 According to the embodiment of the graphic code quality detection system, the main components include an image capture module 201 implemented by software and hardware. The image capture module 201 includes a camera device, such as the camera device 103 in FIG. 1, which includes various lenses, photosensitive elements and other electronic components not shown in the figure, and a light source 101 as shown in FIG. 1, which is used to capture a graphic code printed on a graphic code to be tested to generate a graphic code detection image.

圖形碼品質檢測系統提出一深度學習模組205,其中以電腦系統中的處理器執行深度學習演算法,運用深度神經網路學習多種分類的圖形碼以訓練一圖形辨識模型203,圖形辨識模型203主要用以辨識及分類圖形碼。進一步地,深度學習模組205可自影像擷取模組201取得大量不同分類的圖形碼影像,並區分為運用於深度神經網路的訓練集(training dataset),以及用於驗證圖形辨識模型的驗證集(validation dataset)。 The image code quality detection system proposes a deep learning module 205, in which a processor in a computer system executes a deep learning algorithm and uses a deep neural network to learn multiple types of image codes to train an image recognition model 203. The image recognition model 203 is mainly used to recognize and classify image codes. Furthermore, the deep learning module 205 can obtain a large number of image code images of different categories from the image capture module 201, and divide them into a training dataset for the deep neural network and a validation dataset for verifying the image recognition model.

根據實施例,深度學習模組205所取得不同分類的圖形碼影像可是在國際標準化組織(ISO)規範下的多種以圖形表示的一維以及二維圖形碼的分類。因此,在深度學習模組205訓練圖形辨識模型203的過程中,是將國際標準化組織所規範的多種圖形碼的影像資料區分為運所述訓練集與驗證 集。 According to the embodiment, the different classifications of the graphic code images obtained by the deep learning module 205 can be classifications of various one-dimensional and two-dimensional graphic codes represented by graphics under the International Organization for Standardization (ISO) standards. Therefore, in the process of the deep learning module 205 training the graphic recognition model 203, the image data of various graphic codes specified by the International Organization for Standardization are divided into the training set and the verification set.

深度學習模組205運用深度學習法學習圖形碼品質檢測系統所提供在國際標準化組織規範下產生多種不同尺寸、顏色以及具有折損的圖形碼影像形成的訓練集,其中以監督式學習(supervised learning)方法針對訓練集中的影像進行特徵學習(feature learning),通過深度學習取得各種分類的圖形碼影像中每個畫素的特徵值,通過畫素特徵值建立關聯性,並進行篩選與分類,訓練出圖形辨識模型203。 The deep learning module 205 uses deep learning to learn the training set of graphic code images of various sizes, colors and with damages provided by the graphic code quality detection system under the standards of the International Organization for Standardization. The supervised learning method is used to perform feature learning on the images in the training set. The feature value of each pixel in the graphic code images of various categories is obtained through deep learning. The correlation is established through the pixel feature values, and screening and classification are performed to train the graphic recognition model 203.

要形成提供至深度神經網路的訓練集,根據國際標準化組織規範下各分類的圖形碼產生訓練集,可參考圖4所示產生各分類(如範例所示Code 128、Code 39、Code 93、EAN-13、QR以及DotCode)訓練集,分別建立分類圖形辨識模型,之後再整合得出圖形辨識模型203。 To form a training set for the deep neural network, a training set is generated according to the graphic codes of each category under the International Organization for Standardization standard. For example, FIG. 4 shows a training set of each category (such as Code 128, Code 39, Code 93, EAN-13, QR, and DotCode). A graphic recognition model of each category is established, and then the graphic recognition model 203 is obtained by integrating the training sets.

進一步地,還以各圖形碼分類產生的驗證集反覆驗證圖形辨識模型203的辨識結果,以調整圖形辨識模型203中的運作參數,建立能精準辨識圖形碼分類的圖形辨識模型203。 Furthermore, the recognition results of the graphic recognition model 203 are repeatedly verified with the verification sets generated by each graphic code classification to adjust the operating parameters in the graphic recognition model 203 and establish a graphic recognition model 203 that can accurately recognize the graphic code classification.

在此一提的是,在深度神經網路訓練模型的過程中,隨著層數增加,梯度可能變小,導致所要訓練的模型無法有效學習,因此可運用一種殘差網路(Residual Network,ResNet),殘差網路(ResNet)的一種深度卷積神經網路,其中能學習到經由深度學習法得到的影像特徵與原本輸入圖形碼的影像之間的差異,即所述殘差,通過學習輸出與輸入影像之間的差異可降低訓練模型的複雜度,更能有效學習各種分類的圖形碼影像特徵。 It is worth mentioning that in the process of training a deep neural network model, as the number of layers increases, the gradient may become smaller, resulting in the inability to effectively learn the model to be trained. Therefore, a residual network (Residual Network, ResNet) can be used. The residual network (ResNet) is a deep convolutional neural network that can learn the difference between the image features obtained by deep learning and the image of the original input graphic code, that is, the residual. By learning the difference between the output and input images, the complexity of the training model can be reduced, and various types of graphic code image features can be effectively learned.

圖形碼品質檢測系統包括光學檢測模組207,光學檢測模組207能根據經由圖形辨識模型203辨識得出的圖形碼的分類執行對應的圖形碼品質檢測流程。根據實施例,圖形碼品質檢測系統運用光學取像原理產出圖形碼檢測影像,運用萬用型的圖形辨識模型203根據已定義的多種圖形碼分類進 行辨識,以檢測出圖形碼的各項品質等級,並且可以是根據國際標準化組織所規範的品質等級。 The graphic code quality detection system includes an optical detection module 207, which can execute the corresponding graphic code quality detection process according to the classification of the graphic code identified by the graphic recognition model 203. According to the embodiment, the graphic code quality detection system uses the optical imaging principle to produce a graphic code detection image, and uses the universal graphic recognition model 203 to perform recognition according to the defined multiple graphic code classifications to detect various quality levels of the graphic code, and the quality levels can be based on the quality levels specified by the International Organization for Standardization.

最後,由圖形碼品質檢測系統的顯示模組209通過使用者介面顯示檢測結果。舉例來說,檢測結果可通過電訊號、警示燈與電腦裝置的電腦螢幕等介面回覆圖形碼是否符合品質規範的結果。在一實施例中,顯示模組209提供一顯示介面,可以圖形化圖表的方式將圖形碼的多項品質等級的檢測結果顯示在顯示介面上。 Finally, the display module 209 of the image code quality detection system displays the detection result through the user interface. For example, the detection result can reply whether the image code meets the quality specification through interfaces such as electrical signals, warning lights, and computer screens of computer devices. In one embodiment, the display module 209 provides a display interface, which can display the detection results of multiple quality levels of the image code on the display interface in the form of graphical charts.

圖3顯示以上述圖形碼品質檢測系統中多個功能模組所實踐的檢測方法實施例流程圖。 FIG3 shows a flow chart of an embodiment of the detection method implemented by multiple functional modules in the above-mentioned graphic code quality detection system.

一開始,以影像擷取模組拍攝印刷於特定材質表面上的圖形碼,得出圖形碼檢測影像(步驟S301),接著以運用深度神經網路學習多種分類的圖形碼而訓練得出的圖形辨識模型辨識及分類圖形碼檢測影像,得出圖形碼的分類(步驟S303)。 Initially, the image capture module is used to capture the graphic code printed on the surface of a specific material to obtain a graphic code detection image (step S301). Then, the graphic recognition model trained by using a deep neural network to learn multiple types of graphic codes is used to recognize and classify the graphic code detection image to obtain the classification of the graphic code (step S303).

再以光學檢測方法根據所辨識得出的圖形碼分類進行對應的圖形碼品質檢測流程(步驟S305)。其中,根據實施例之一,當得出圖形碼的分類後,所述光學檢測模組可掃瞄圖形碼檢測影像得出一反射率曲線,其中方法之一是以掃瞄反射率曲線(Scan Reflectance Profile,SRP)為檢測基礎,對應的檢測方法更符合2000年國際標準化組織(ISO/IEC15416)所規範的條碼品質等級,這是一個通用的印刷線性條碼建立的質量標準。 Then, the corresponding code quality detection process (step S305) is performed according to the classification of the identified code using an optical detection method. According to one embodiment, after the classification of the code is obtained, the optical detection module can scan the code detection image to obtain a reflectivity curve. One of the methods is to use the Scan Reflectance Profile (SRP) as the detection basis. The corresponding detection method is more in line with the barcode quality level specified by the International Organization for Standardization (ISO/IEC15416) in 2000, which is a universal quality standard for printed linear barcodes.

接著,再根據國際標準化組織所規範的品質項目進行品質檢測,之後通過檢測圖形碼檢測影像而得出圖形碼的品質等級(步驟S307),再產生並輸出檢測結果(步驟S309),顯示的檢測結果可通過電訊號、警示燈與電腦螢幕等介面回覆圖形碼是否符合品質規範。 Next, quality inspection is performed according to the quality items specified by the International Organization for Standardization. The quality level of the code is obtained by inspecting the code inspection image (step S307). The inspection result is then generated and output (step S309). The displayed inspection result can be used to respond to whether the code meets the quality specifications through interfaces such as electrical signals, warning lights, and computer screens.

根據上述實施例所述,圖形碼的分類可包括國際標準化組織所 規範的以圖形表示的維以及二維的多種圖形碼,可接著參考圖4所示各式圖形碼種類的例圖。 According to the above-mentioned embodiment, the classification of graphic codes may include various graphic codes of one dimension and two dimensions specified by the International Organization for Standardization. The example diagram of various types of graphic codes shown in FIG. 4 may be referred to next.

圖4顯示為國際標準化組織所規範的多種圖形碼的影像圖表40,常見圖形碼可分為多個分類(如15類),圖中僅列舉部分範例,包括Code 128、Code 39、Code 93、EAN-13、QR以及DotCode。根據圖示範例,在深度學習訓練所述圖形辨識模型的過程中,取得如圖中所示國際標準化組織所規範的多種圖形碼的影像資料,並區分為運用於深度神經網路的訓練集與驗證集。 FIG4 shows an image chart 40 of various graphic codes specified by the International Organization for Standardization. Common graphic codes can be divided into multiple categories (e.g., 15 categories). The figure only lists some examples, including Code 128, Code 39, Code 93, EAN-13, QR, and DotCode. According to the illustrated example, in the process of deep learning training the graphic recognition model, image data of various graphic codes specified by the International Organization for Standardization as shown in the figure are obtained and divided into a training set and a verification set for use in a deep neural network.

完成圖形碼辨識後,可得出符合國際標準化組織所規範的圖形碼的分類,接著以光學檢測方法根據國際標準化組織所規範的品質項目進行品質檢測,得出圖形碼的多項品質等級。最後可以顯示器顯示經檢測結果,檢測結果可參考圖5所示圖形碼品質檢測系統執行檢測的使用者介面實施例示意圖。 After the image code recognition is completed, the classification of the image code that meets the standards of the International Organization for Standardization can be obtained. Then, the quality test is performed according to the quality items specified by the International Organization for Standardization using an optical test method to obtain multiple quality levels of the image code. Finally, the test results can be displayed on a display. The test results can refer to the user interface implementation example of the image code quality test system performing the test shown in Figure 5.

圖5所示為電腦螢幕上顯示的圖形使用者介面50,其中根據顯示內容可區分為圖形碼影像預覽區501、品質等級顯示區505(此例顯示品質等級為A)與以圖表方式顯示圖形碼的多項品質等級的品質參數顯示區507。 FIG. 5 shows a graphical user interface 50 displayed on a computer screen, which can be divided into a graphic code image preview area 501, a quality level display area 505 (in this example, the quality level is A), and a quality parameter display area 507 that displays multiple quality levels of the graphic code in a graphical manner.

圖形使用者介面50可以運行在系統的控制電腦上,通過圖形使用者介面50還提供操作按鈕503,如圖所示的配置、待機、拍照與退出等功能按鈕,讓操作員可以運用執行檢測。其中品質參數顯示區507可以顯示如下表1所示圖形碼品質檢測系統採用檢測的ISO品質參數實施例。 The graphical user interface 50 can be run on the control computer of the system. The graphical user interface 50 also provides operation buttons 503, such as configuration, standby, photo taking and exit function buttons as shown in the figure, so that the operator can use them to perform the test. The quality parameter display area 507 can display the ISO quality parameter embodiment of the graphic code quality detection system as shown in Table 1 below.

Figure 112211733-A0305-02-0010-1
Figure 112211733-A0305-02-0010-1
Figure 112211733-A0305-02-0011-2
Figure 112211733-A0305-02-0011-2

表1顯示ISO15415品質參數,其中項目包括解碼、軸向不一致性(axial non-uniformity)、網格不一致性(grid non-uniformity)、符號對比(symbol contrast)、調制比(modulation)、反射幅度(reflectance margin)、固有圖形毀損(fixed pattern damage)、未使用的糾錯(unused error correction)以及整體標誌。通過此圖表讓使用者可以一目了然地確認圖形碼的品質等級,在大量檢測的過程中提供方便的查閱方式。 Table 1 shows the ISO15415 quality parameters, including decoding, axial non-uniformity, grid non-uniformity, symbol contrast, modulation, reflectance margin, fixed pattern damage, unused error correction, and overall marking. This chart allows users to confirm the quality level of the graphic code at a glance, providing a convenient way to check during large-scale testing.

綜上所述,根據上述圖形碼品質檢測系統的實施例,系統通過電腦系統執行的運用深度學習方法學習各種圖形碼的特徵,建立分類模型,可對檢測中的圖形碼進行分類,並能進一步判斷圖形碼品質,特別是可以對照國際標準化組織(ISO)所規範的品質標準進行檢測。 In summary, according to the above-mentioned embodiment of the graphic code quality detection system, the system uses a deep learning method to learn the characteristics of various graphic codes through a computer system, establishes a classification model, and can classify the graphic codes under detection, and can further judge the quality of the graphic codes, especially the quality standards specified by the International Organization for Standardization (ISO) can be used for detection.

以上所公開的內容僅為本新型的優選可行實施例,並非因此侷限本新型的申請專利範圍,所以凡是運用本新型說明書及圖式內容所做的等效技術變化,均包含於本新型的申請專利範圍內。 The above disclosed contents are only the preferred feasible embodiments of the present invention, and do not limit the scope of the patent application of the present invention. Therefore, all equivalent technical changes made by using the contents of the specification and drawings of the present invention are included in the scope of the patent application of the present invention.

10:圖形碼待測物 10: Graphic code object to be tested

100:治具 100: Fixture

101:光源 101: Light source

103:攝影裝置 103:Photographic equipment

105:電腦裝置 105:Computer equipment

Claims (10)

一種圖形碼品質檢測系統,包括:一電腦裝置;以及一攝影裝置,連接該電腦裝置,經該電腦裝置驅動一光源提供光線,啟動該攝影裝置拍攝以一機台的一治具固定的一圖形碼待測物,得出一圖形碼檢測影像;其中,於該圖形碼品質檢測系統中,經取得該圖形碼檢測影像後,辨識該圖形碼檢測影像以得出該圖形碼待測物的一圖形碼的分類,以及分辨該圖形碼的品質等級。 A graphic code quality detection system includes: a computer device; and a camera connected to the computer device, the computer device drives a light source to provide light, and the camera is activated to shoot a graphic code object fixed by a fixture of a machine to obtain a graphic code detection image; wherein, in the graphic code quality detection system, after obtaining the graphic code detection image, the graphic code detection image is identified to obtain a classification of a graphic code of the graphic code object to be tested, and to distinguish the quality level of the graphic code. 如請求項1所述的圖形碼品質檢測系統,其中,於該電腦裝置中,其中以軟體與硬體協作實作功能模組包括:一影像擷取模組,經拍攝該圖形碼以產生該圖形碼檢測影像;一深度學習模組,運用一深度神經網路學習多種分類的圖形碼以訓練一圖形辨識模型,用以辨識及分類該圖形碼;以及一光學檢測模組,根據該圖形碼的分類執行對應該分類的一圖形碼品質檢測流程,以分辨該圖形碼的品質等級。 The image code quality detection system as described in claim 1, wherein, in the computer device, the functional modules implemented by software and hardware collaboration include: an image capture module, which generates the image code detection image by photographing the image code; a deep learning module, which uses a deep neural network to learn multiple classifications of image codes to train an image recognition model for recognizing and classifying the image code; and an optical detection module, which executes an image code quality detection process corresponding to the classification according to the classification of the image code to distinguish the quality level of the image code. 如請求項2所述的圖形碼品質檢測系統,其中該圖形碼的分類係包括多種以圖形表示的一維以及二維圖形碼。 A graphic code quality detection system as described in claim 2, wherein the classification of the graphic code includes a variety of one-dimensional and two-dimensional graphic codes represented by graphics. 如請求項3所述的圖形碼品質檢測系統,其中,於該深度學習模組訓練該圖形辨識模型的過程中,取得該多種圖形碼的影像資料,並區分為運用於該深度神經網路的一訓練集,以及用於驗證該圖形辨識模型的一驗證集。 As described in claim 3, the image quality detection system, wherein, in the process of the deep learning module training the image recognition model, the image data of the multiple image codes are obtained and divided into a training set used for the deep neural network and a verification set used to verify the image recognition model. 如請求項4所述的圖形碼品質檢測系統,其中該深度學習模組運用一殘差網路學習該圖形碼品質檢測系統所提供多種不同尺寸、顏色以及具有折損的圖形碼影像,以監督式學習 方法對各種圖形碼訓練出該圖形辨識模型。 As described in claim 4, the deep learning module uses a residual network to learn a variety of different sizes, colors and damaged code images provided by the graphic code quality detection system, and uses a supervised learning method to train the graphic recognition model for various graphics. 如請求項2所述的圖形碼品質檢測系統,其中以該圖形辨識模型辨識該圖形碼檢測影像得出符合一國際標準化組織所規範的該圖形碼的分類,再以該光學檢測模組根據該國際標準化組織所規範的品質項目進行品質檢測,得出該圖形碼的多項品質等級。 As described in claim 2, the graphic code quality detection system, wherein the graphic recognition model is used to identify the graphic code detection image to obtain the classification of the graphic code that complies with the standards of an international standardization organization, and then the optical detection module is used to perform quality detection according to the quality items specified by the international standardization organization to obtain multiple quality levels of the graphic code. 如請求項6所述的圖形碼品質檢測系統,其中還包括一顯示模組,用於顯示經該光學檢測模組產生的一檢測結果,該檢測結果以一圖表顯示該圖形碼的多項品質等級。 The graphic code quality detection system as described in claim 6 further includes a display module for displaying a detection result generated by the optical detection module, wherein the detection result displays multiple quality levels of the graphic code in a graph. 如請求項7所述的圖形碼品質檢測系統,其中該檢測結果通過電訊號、警示燈或該電腦裝置的一電腦螢幕回覆該圖形碼是否符合品質規範的結果。 A graphic code quality detection system as described in claim 7, wherein the detection result returns whether the graphic code meets the quality standard through an electrical signal, a warning light or a computer screen of the computer device. 如請求項8所述的圖形碼品質檢測系統,其中該電腦螢幕顯示一圖形使用者介面,其中區分為一圖形碼影像預覽區、一品質等級顯示區以及用以顯示該圖形碼的該多項品質等級的一品質參數顯示區。 A graphic code quality detection system as described in claim 8, wherein the computer screen displays a graphical user interface, which is divided into a graphic code image preview area, a quality level display area, and a quality parameter display area for displaying the multiple quality levels of the graphic code. 如請求項9所述的圖形碼品質檢測系統,其中該品質參數顯示區顯示的品質參數項目包括解碼、軸向不一致性、網格不一致性、符號對比、調制比、反射幅度、固有圖形毀損、未使用的糾錯以及整體標誌。A graphic code quality detection system as described in claim 9, wherein the quality parameter items displayed in the quality parameter display area include decoding, axial inconsistency, grid inconsistency, symbol contrast, modulation ratio, reflection amplitude, inherent graphic damage, unused error and overall flag.
TW112211733U 2023-10-31 2023-10-31 System for inspecting graphic code quality TWM653513U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW112211733U TWM653513U (en) 2023-10-31 2023-10-31 System for inspecting graphic code quality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW112211733U TWM653513U (en) 2023-10-31 2023-10-31 System for inspecting graphic code quality

Publications (1)

Publication Number Publication Date
TWM653513U true TWM653513U (en) 2024-04-01

Family

ID=91619196

Family Applications (1)

Application Number Title Priority Date Filing Date
TW112211733U TWM653513U (en) 2023-10-31 2023-10-31 System for inspecting graphic code quality

Country Status (1)

Country Link
TW (1) TWM653513U (en)

Similar Documents

Publication Publication Date Title
JP7087397B2 (en) Substrate defect inspection equipment, substrate defect inspection method and storage medium
JP6955211B2 (en) Identification device, identification method and program
US8600165B2 (en) Optical mark classification system and method
JP2019109562A (en) Form type learning system and image processing apparatus
JP6981352B2 (en) Inspection management system, inspection management device and inspection management method
TWI225927B (en) Defect inspection system
Mahalingam et al. Pcb-metal: A pcb image dataset for advanced computer vision machine learning component analysis
US11727553B2 (en) Vision analysis and validation system for improved inspection in robotic assembly
KR102108956B1 (en) Apparatus for Performing Inspection of Machine Vision and Driving Method Thereof, and Computer Readable Recording Medium
CN106415608B (en) Method and system for verifying identity of printed item
CN110659661A (en) Flaw classification marking system and flaw classification marking method
CN112292687A (en) Tag data processing system
JP7293842B2 (en) Generation method, program, generation device, output device and transmission device
Sanz et al. Machine-vision techniques for inspection of printed wiring boards and thick-film circuits
CN105830091A (en) Systems and methods for generating composite images of long documents using mobile video data
US20130148912A1 (en) Band-based patch selection with a dynamic grid
KR101748768B1 (en) Image generating method and apparatus for machine vision test, method and apparatus for simulating machine vision test, and machine vision testing system
Alaei et al. Document Image Quality Assessment: A Survey
Jingyi et al. Image processing for enhanced omr answer matching precision
TWM653513U (en) System for inspecting graphic code quality
Perry et al. Digimarc MediaBridge: the birth of a consumer product from concept to commercial application
JP2020047151A (en) Image forming apparatus, inspection object collation apparatus, inspection object collation system, and inspection object collation method
US20210227086A1 (en) Information processing device, information processing system and computer readable medium
KR20220101654A (en) Offline troubleshooting and development for automated visual inspection stations
TWM600842U (en) Integrated system for rapid defect detection of sheet materials