TWI725329B - Two-dimensional code and two-dimensional code reading device - Google Patents
Two-dimensional code and two-dimensional code reading device Download PDFInfo
- Publication number
- TWI725329B TWI725329B TW107125117A TW107125117A TWI725329B TW I725329 B TWI725329 B TW I725329B TW 107125117 A TW107125117 A TW 107125117A TW 107125117 A TW107125117 A TW 107125117A TW I725329 B TWI725329 B TW I725329B
- Authority
- TW
- Taiwan
- Prior art keywords
- pattern
- aforementioned
- code area
- code
- grids
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Electromagnetism (AREA)
- General Health & Medical Sciences (AREA)
- Toxicology (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
於矩形狀的碼區域(10)所具有之四隅中的三隅,分別設置用以檢測出該碼區域(10)之位置的位置檢測圖案(11a~11c)。又,以沿著碼區域(10)之外側,且該碼區域(10)的外緣的至少一部分之方式配置特定圖案(21)的各圖案部(21a~21d)。In the three corners of the four corners of the rectangular code area (10), position detection patterns (11a-11c) for detecting the position of the code area (10) are respectively arranged. Moreover, each pattern part (21a-21d) of the specific pattern (21) is arrange|positioned along the outer side of the code area (10) and at least a part of the outer edge of this code area (10).
Description
本發明係關於二維碼及二維碼讀取裝置,尤其,關於將複數格子配置成矩陣狀所構成的二維碼,及讀取該二維碼的二維碼讀取裝置。The present invention relates to a two-dimensional code and a two-dimensional code reading device, in particular, to a two-dimensional code formed by arranging a plurality of grids in a matrix, and a two-dimensional code reading device for reading the two-dimensional code.
先前,提供各種將複數格子配置成矩陣狀所成的二維碼。讀取此種二維碼的讀取裝置(二維碼讀取機)係一般來說是取得包含該二維碼的畫像資料後,進行從該畫像資料中特定二維碼之區域(碼區域)的解析處理,並由該被特定的碼區域,依據畫像內容決定各格子的座標,根據各座標位置的畫像資訊來判別格子的顏色,進行解碼處理的構造者。作為關於此種二維碼的技術,例如公知專利文獻1所揭示的二維碼。 [先前技術文獻] [專利文獻]Previously, various two-dimensional codes were provided by arranging complex grids in a matrix. The reading device (two-dimensional code reader) that reads this type of two-dimensional code generally obtains the image data containing the two-dimensional code, and then specifies the area (code area) of the two-dimensional code from the image data. ) Analysis processing, and from the specified code area, the coordinate of each grid is determined based on the image content, the color of the grid is determined based on the image information at each coordinate position, and the constructor performs the decoding process. As a technique related to such a two-dimensional code, for example, a two-dimensional code disclosed in
[專利文獻1]日本專利第2938338號公報 [專利文獻2]日本特開平10-198754號公報[Patent Document 1] Japanese Patent No. 2938338 [Patent Document 2] Japanese Patent Laid-Open No. 10-198754
[發明所欲解決之課題][The problem to be solved by the invention]
在讀取二維碼時,必須特定攝像畫像中所佔之二維碼的碼區域及各格子的座標。如果是QR碼(註冊商標)的話,可藉由利用分別配置於矩形狀的碼區域之三隅的位置檢測圖案,從攝像畫像內特定碼區域的大概位置。另一方面,QR碼的狀況中,於碼區域有不存在位置檢測圖案的角,對於正確地特定碼區域來說,必須特定該角的位置。When reading a two-dimensional code, it is necessary to specify the code area of the two-dimensional code and the coordinates of each grid occupied in the photographed image. If it is a QR code (registered trademark), the approximate position of the code area can be specified from the captured image by using the position detection patterns arranged in the three corners of the rectangular code area. On the other hand, in the case of a QR code, there is a corner where the position detection pattern does not exist in the code area. In order to correctly specify the code area, the position of the corner must be specified.
作為具體之特定碼區域的方法,例如有專利文獻2所揭示的方法等,於碼區域的邊際部配置與背景色不同顏色的異色格子的話,可使用各種畫像處理方法來特定該異色格子,利用連結該異色格子的外緣,可正確地抽出矩形狀之碼區域的邊際部。作為將異常格子配置於該碼區域的邊際部的方法,在專利文獻1中,使用將亮色格子(白格子)與暗色格子(黑格子)配置於資料區域之後,藉由利用準備有複數種類的遮罩圖案中之一,替換一部分的格子,作為最佳配置圖案而採用白格子及黑格子的連續數較少者的方法。藉由該方法,於與背景鄰接的部分中亮色格子(白格子)及暗色格子(黑格子)難以連續,可良好地區別背景與碼區域(矩形區域)。As a specific method of identifying the code area, there is, for example, the method disclosed in Patent Document 2. If a different color grid with a different color from the background color is arranged at the margin of the code area, various image processing methods can be used to specify the different color grid. By connecting the outer edges of the different-colored grid, the marginal part of the rectangular code area can be accurately extracted. As a method of arranging abnormal grids in the marginal part of the code region, in
然而,所使用之遮罩圖案的種類有所限制,故根據儲存之資料的內容,有於與背景鄰接的部分接續亮色格子(白格子)及暗色格子(黑格子)的狀況。與背景色同色的格子接續於與背景鄰接的部分時,變得難以區別碼邊際與背景,有碼區域的檢測精度降低的狀況。又,與背景鄰接之部分的圖案係對應各個碼而不同,故附著污垢,或印刷模糊不清時,有難以判別其是否是正確的格子顏色的狀況,結果,造成無法正確特定碼區域的狀況。However, the types of mask patterns used are limited. Therefore, depending on the content of the stored data, there is a situation where light grids (white grids) and dark grids (black grids) are connected to the part adjacent to the background. When a grid of the same color as the background color is connected to a portion adjacent to the background, it becomes difficult to distinguish the code margin from the background, and the detection accuracy of the code area may be reduced. In addition, the pattern of the part adjacent to the background is different for each code. Therefore, when dirt is attached or the printing is blurred, it may be difficult to determine whether it is the correct grid color. As a result, the code area cannot be correctly specified. .
作為其他方法,例如像資料矩陣般,考量於矩形狀的碼區域的兩邊配置暗色格子接續成L字狀的特定圖案,於其他兩邊配置交互配置暗色格子及亮色格子所成的特定圖案的方法。如此,藉由特定圖案包圍矩形狀的碼區域的四邊的話,讀取時容易區別背景與碼區域,可易於正確地特定碼區域。然而,配置於碼區域內的複數格子中,需要多數分派給前述特定圖案的格子,故只好減少分派給成為讀取對象的資料的格子數,有可記錄的資料容量變少的問題。As another method, for example, like a data matrix, consider arranging a specific pattern formed by arranging dark grids followed by an L-shape on both sides of a rectangular code area, and arranging specific patterns formed by alternately arranging dark grids and bright grids on the other two sides. In this way, if the four sides of the rectangular code area are surrounded by the specific pattern, the background and the code area can be easily distinguished during reading, and the code area can be easily and accurately specified. However, most of the grids arranged in the code area need to be allocated to the grids of the aforementioned specific pattern. Therefore, the number of grids allocated to the data to be read has to be reduced, and there is a problem that the capacity of recordable data is reduced.
本發明係為了解決上述之課題所發明者,其目的係提供可不減少可記錄的資料容量,正確地特定碼區域的二維碼。 [用以解決課題之手段]The present invention is the inventor in order to solve the above-mentioned problems, and its purpose is to provide a two-dimensional code that can accurately specify the code area without reducing the data capacity that can be recorded. [Means to solve the problem]
為了達成前述目的,一樣態的發明是一種二維碼,係複數格子矩陣狀地排列於矩形狀的碼區域(10)內的二維碼(1,1a~1g),其特徵為: 於前述碼區域所具有之四隅中的三隅,分別設置用以檢測出該碼區域之位置的位置檢測圖案(11a~11c); 以沿著前述碼區域之外側,且該碼區域的外緣的至少一部分之方式配置特定圖案(21~28)。In order to achieve the foregoing purpose, the same invention is a two-dimensional code, which is a two-dimensional code (1, 1a~1g) arranged in a rectangular code area (10) in a lattice matrix, which is characterized by: as mentioned above The three corners of the four corners of the code area are respectively provided with position detection patterns (11a~11c) for detecting the position of the code area; is along the outer side of the aforementioned code area and at least a part of the outer edge of the code area The way to configure specific patterns (21~28).
在請求項1的發明中,於矩形狀的碼區域所具有之四隅中的三隅,分別設置用以檢測出該碼區域之位置的位置檢測圖案,且以沿著碼區域之外側,且為該碼區域的外緣的至少一部分之方式配置特定圖案。藉此,於對二維碼進行攝像的攝像畫像,特定圖案與其碼區域一起被攝像,所以,即使在二維碼被歪斜地攝像的狀況及污垢附著之狀態下攝像的狀況等,也可依據特定圖案與3個位置檢測圖案,正確地特定攝像畫像之碼區域。尤其,不需要對於特定圖案分派配置於碼區域內的格子,所以,可實現不減少可記錄的資料容量而可正確地特定碼區域的二維碼。In the invention of
作為理想的一例,特定圖案係以寬度為1格子分之方式構成。藉此,可抑制設置特定圖案所致之二維碼的面積增加。As an ideal example, the specific pattern is constituted so that the width is one division of a grid. Thereby, it is possible to suppress the increase in the area of the two-dimensional code caused by the setting of the specific pattern.
又,依據其他理想的範例,在特定圖案與碼區域的外緣之間設置所定寬度的餘裕。藉此,即使是一般的讀取裝置,也可容易將特定圖案辨識為與碼區域不同的背景等,故可像通常的二維碼般讀取以沿著碼區域的外緣之方式設置特定圖案的本發明之二維碼。In addition, according to other ideal examples, a margin of a predetermined width is provided between the specific pattern and the outer edge of the code area. As a result, even a general reading device can easily recognize the specific pattern as a background different from the code area, so it can be read like a normal two-dimensional code. The specific pattern is set along the outer edge of the code area. The patterned two-dimensional code of the present invention.
進而依據其他理想的範例,所定寬度的餘裕係以寬度為1格子分之方式構成。藉此,可抑制設置特定圖案及所定寬度的餘裕所致之二維碼的面積增加。Furthermore, according to other ideal examples, the margin of the predetermined width is formed in such a way that the width is 1 grid minute. Thereby, it is possible to suppress the increase in the area of the two-dimensional code caused by the provision of a specific pattern and a margin of a predetermined width.
進而依據理想的範例,特定圖案係排列同色的格子所構成,故於攝像畫像中容易辨識特定圖案本身。Furthermore, according to an ideal example, the specific pattern is formed by arranging grids of the same color, so it is easy to identify the specific pattern itself in the photographed image.
進而依據理想的範例,特定圖案係以鄰接之格子的顏色不同之方式排列複數格子所構成。因此,於攝像畫像中辨識出特定圖案時,可利用構成其特定圖案的格子的座標,容易辨識碼區域內的各格子的座標。Furthermore, according to an ideal example, the specific pattern is formed by arranging a plurality of grids in a way that the colors of adjacent grids are different. Therefore, when a specific pattern is recognized in the captured image, the coordinates of the grid constituting the specific pattern can be used to easily recognize the coordinates of each grid in the code area.
進而依據理想的範例,特定圖案係具備隔著碼區域對向之一對圖案部;該等一對圖案部係以相鄰之格子的顏色不同之方式複數格子排列成一列所分別構成。因此,於攝像畫像中辨識出特定圖案時,可利用構成其特定圖案的格子的座標,容易辨識碼區域內的各格子的座標。尤其,位於連結一方之圖案部中1個格子與位於與該1個格子對向的位置之另一方之圖案部的1個格子的線上之碼區域內的各格子,可辨識為被排列於相同列或相同行的格子。藉此,例如即使在碼區域被歪斜地攝像的狀況中,也可正確地辨識碼區域內之各格子的座標。Furthermore, according to an ideal example, the specific pattern is provided with a pair of pattern portions facing each other across the code area; the pair of pattern portions are formed by arranging a plurality of grids in a row in a manner that the colors of adjacent grids are different. Therefore, when a specific pattern is recognized in the captured image, the coordinates of the grid constituting the specific pattern can be used to easily recognize the coordinates of each grid in the code area. In particular, the grids located in the code area on the line connecting one grid in the pattern portion on one side and one grid in the pattern portion on the other side of the pattern portion opposite to the one grid can be recognized as being arranged in the same Columns or grids of the same row. With this, for example, even in a situation where the code area is captured obliquely, the coordinates of each grid in the code area can be accurately recognized.
進而依據理想的範例,特定圖案係具備分別沿著構成碼區域的未設置位置檢測圖案之剩下的隅之該碼區域的兩個外緣,相互正交之第1圖案部及第2圖案部。藉此,可根據第1圖案部與第2圖案部的交點來特定前述剩下之隅的位置,所以,即使該剩下之隅暗色格子較少的狀況及附著污垢的狀況,也可正確地特定碼區域。Furthermore, according to an ideal example, the specific pattern is provided with a first pattern portion and a second pattern portion that are orthogonal to each other along the two outer edges of the code area that constitute the remaining corners of the code area where the position detection pattern is not provided. . In this way, the position of the remaining corner can be specified based on the intersection of the first pattern portion and the second pattern portion. Therefore, even if the remaining corner has fewer dark grids and stains attached, the position can be accurately determined. Specific code area.
進而依據理想的範例,特定圖案係以包圍碼區域之方式形成為四角環狀,故可容易進行依據特定圖案之碼區域的特定。Furthermore, according to an ideal example, the specific pattern is formed into a four-corner ring by enclosing the code area, so the code area according to the specific pattern can be easily specified.
進而一具理想的範例,特定圖案係利用以包圍碼區域之方式將複數格子排列成一列而形成為四角環狀,複數格子中與位置檢測圖案對向之一部分的格子以同色的格子構成,剩下部分的格子分別以與鄰接的格子不同顏色構成。藉此,可根據以同色的格子構成之特定圖案的部分,特定位置檢測圖案的位置。又,也可根據位置檢測圖案的位置,特定以同色格子構成之特定圖案的部分。進而,在以異色格子構成之特定圖案的部分中,位於連接隔著碼區域對向之一對格子的線上之碼區域內的各格子,係可辨識為被排列於相同列或相同行的格子。藉此,例如即使在碼區域被歪斜地攝像的狀況中,也可正確地辨識碼區域內之各格子的座標。Furthermore, an ideal example is that a specific pattern is formed by arranging a plurality of grids in a row to enclose the code area to form a four-corner ring, and a part of the plurality of grids opposite to the position detection pattern is formed of grids of the same color. The grids in the lower part are formed in different colors from the adjacent grids. Thereby, the position of the pattern can be detected in a specific position based on the part of the specific pattern formed by grids of the same color. In addition, it is also possible to specify a part of a specific pattern formed by a grid of the same color based on the position of the position detection pattern. Furthermore, in the part of the specific pattern formed by the different-colored grids, the grids in the code area on the line connecting a pair of grids facing the code area can be recognized as grids arranged in the same row or row. . With this, for example, even in a situation where the code area is captured obliquely, the coordinates of each grid in the code area can be accurately recognized.
進而依據理想的範例,於碼區域內,與位置檢測圖案不同之的第1固定圖案由複數格子構成並配置;特定圖案係利用以包圍碼區域之方式將複數格子排列成一列而形成為四角環狀,且以投影第1固定圖案的中心之位置的格子與相鄰之格子的顏色不同之方式構成。藉此,即使在難以辨識第1固定圖案的攝像狀態下,也可根據特定圖案來特定第1固定圖案的位置。又,也可根據第1固定圖案的位置,特定特定圖案的位置。Furthermore, according to an ideal example, in the code area, the first fixed pattern that is different from the position detection pattern is composed and arranged by a plurality of grids; the specific pattern is formed by arranging the plurality of grids in a row to enclose the code area to form a four-corner ring The color of the grid projecting the center of the first fixed pattern is different from that of the adjacent grid. Thereby, even in the imaging state where it is difficult to recognize the first fixed pattern, the position of the first fixed pattern can be specified based on the specific pattern. In addition, the position of the specific pattern may be specified based on the position of the first fixed pattern.
進而依據理想的範例,於碼區域內,與位置檢測圖案不同之第2固定圖案由所定排列的複數格子構成並配置;特定圖案係利用以包圍碼區域之方式將複數格子排列成一列而形成為四角環狀,且以投影第2固定圖案之位置的複數格子成為所定排列之方式構成。藉此,即使在難以辨識第2固定圖案的攝像狀態下,也可根據特定圖案來特定第2固定圖案的位置及其排列。又,也可根據第2固定圖案的位置,特定特定圖案的位置。Furthermore, according to an ideal example, in the code area, the second fixed pattern, which is different from the position detection pattern, is composed of a predetermined arrangement of plural grids and arranged; the specific pattern is formed by arranging the plural grids in a row to enclose the code area. It has a four-corner ring shape, and is configured such that a plurality of grids projecting the position of the second fixed pattern are arranged in a predetermined arrangement. Thereby, even in an imaging state where it is difficult to recognize the second fixed pattern, the position and arrangement of the second fixed pattern can be specified based on the specific pattern. In addition, the position of the specific pattern may be specified based on the position of the second fixed pattern.
又,其他樣態的發明提供一種二維碼讀取裝置(30),係光學讀取複數格子矩陣狀地排列於矩形狀的碼區域(10)內的二維碼(1,1a~1g),其特徵為:該裝置係具備: 攝像手段(33),係可對前述二維碼進行攝像; 特定手段(40),係特定前述攝像手段的攝像畫像之前述碼區域的位置;及 解讀手段(40),係依據被前述特定手段特定的前述碼區域,解讀前述二維碼; 前述二維碼,係於前述碼區域所具有之四隅中的三隅,分別設置用以檢測出該碼區域之位置的位置檢測圖案(11a~11c),且以沿著前述碼區域之外側,且為該碼區域的外緣的至少一部分之方式配置特定圖案(21~28); 前述特定手段,係依據前述位置檢測圖案及前述特定圖案,特定前述攝像畫像之前述碼區域的位置。In addition, another aspect of the invention provides a two-dimensional code reading device (30), which optically reads a two-dimensional code (1, 1a~1g) arranged in a rectangular code area (10) in a lattice matrix. , Characterized in that: the device is equipped with: camera means (33), which can photograph the aforementioned two-dimensional code; specific means (40), which specifies the position of the aforementioned code area of the image taken by the aforementioned camera means; and an interpretation means (40), interpret the two-dimensional code based on the code area specified by the specific means; the two-dimensional code is located in the three corners of the four corners of the code area, and is set to detect the code area. The position detection pattern (11a-11c) of the position, and the specific pattern (21-28) is arranged along the outer side of the aforementioned code area and is at least a part of the outer edge of the code area; The aforementioned specific means is based on the aforementioned The position detection pattern and the aforementioned specific pattern specify the position of the aforementioned code area of the aforementioned captured image.
在該二維碼讀取裝置(30)中,於矩形狀的碼區域的三隅,分別設置用以檢測出該碼區域之位置的位置檢測圖案,且以沿著碼區域之外側,且為該碼區域的外緣的至少一部分之方式配置特定圖案的二維碼,成為二維碼讀取裝置的讀取對象。藉此,於對前述二維碼進行攝像的攝像畫像,特定圖案與其碼區域一起被攝像,所以,可藉由特定手段,依據特定圖案與3個位置檢測圖案,正確地特定攝像畫像之碼區域。尤其,不需要對於特定圖案分派配置於碼區域內的格子,所以,可實現不減少可記錄的資料容量而可正確地特定碼區域的二維碼。In the two-dimensional code reading device (30), the three corners of the rectangular code area are respectively provided with position detection patterns for detecting the position of the code area, and are located along the outer side of the code area and are The two-dimensional code with a specific pattern is arranged in at least a part of the outer edge of the code area, and becomes the reading target of the two-dimensional code reading device. In this way, in the captured image of the aforementioned two-dimensional code, the specific pattern and its code area are captured together. Therefore, the code area of the captured image can be accurately specified by a specific method based on the specific pattern and 3 position detection patterns. . In particular, it is not necessary to assign a grid arranged in the code area to a specific pattern. Therefore, a two-dimensional code that can accurately specify the code area without reducing the recordable data capacity can be realized.
再者,前述各括弧內的符號是表示與後述之實施形態所記載之具體手段的對應關係者。In addition, the symbols in the aforementioned parentheses indicate the correspondence with the specific means described in the embodiments described later.
[第1實施形態] 以下,針對具體實現本發明的二維碼及二維碼讀取裝置的第1實施形態,參照圖面來進行說明。[First Embodiment] Hereinafter, the first embodiment of a two-dimensional code and a two-dimensional code reading device that specifically implements the present invention will be described with reference to the drawings.
首先,參照圖1,說明本實施形態之二維碼(二維資訊碼)的構造。First, referring to FIG. 1, the structure of the two-dimensional code (two-dimensional information code) of this embodiment will be described.
本實施形態的二維碼1係如圖1所示,具有具有橫方向(X方向)及縱方向(Y方向)的矩形狀(更具體來說,作為一例為正方形狀)的碼區域10。於該碼區域10的內側,複數資訊顯示單位格子(以下,也單稱為格子)被排列成矩陣狀,以沿著該碼區域10之外側,且該碼區域10的外緣的至少一部分之方式配置特定圖案21所構成。各格子係色彩或濃度或亮度不同的複數種類的格子,各格子區域分別構成為正方形區域。As shown in FIG. 1, the two-
碼區域10具有四隅10a~10c及12,但是,於其三隅10a~10c,分別設置用以檢測出該碼區域10之位置的位置檢測圖案(Finder pattern)11a~11c,於剩下的隅12並未設置位置檢測圖案。因此,藉由該等四隅10a~10c及12,從背景BK界定碼區域10。於碼區域10,配置藉由複數格子記錄所希望之資料的資料記錄區域DR。未配置上述之位置檢測圖案的隅12也以使用來作為資料記錄區域DR的一部分之方式構成。又,於碼區域10內,雖未詳述,但設置藉由複數格子記錄錯誤訂正符號的錯誤訂正符號記錄區域EC。再者,在本實施形態中,碼區域10係利用與公知的QR碼相同手法構成,在圖1中,為了說明方便,除了位置檢測圖案11a~11c,以亮色格子(白格子)圖示各個格子。The
特定圖案21係如圖1所示,具有3個位置檢測圖案11a~11c及1個隅12中,橫方向(X方向)及縱方向(Y方向)中對向之兩個圖案彼此或圖案與隅的組合。因此,特定圖案21係具備以相互連結於橫方向中對向之兩個位置檢測圖案11a與位置檢測圖案11b之方式配置的圖案部21a、以相互連結於縱方向中對向之兩個位置檢測圖案11a與位置檢測圖案11c之方式配置的圖案部21b、以相互連結於橫方向中對向之位置檢測圖案11c與隅12之方式配置的圖案部21c、及進而以相互連結於縱方向中對向之位置檢測圖案11b與隅12之方式配置的圖案部21d。各圖案部21a~21d係以對於碼區域10的外緣無間隙地連接之方式配置,利用以相鄰之格子的顏色不同之方式將複數格子排列成一列,以其寬度成為1個格子分之方式構成。具體來說,各圖案部21a~21d係以亮色格子(白格子)與暗色格子(黑格子)沿著碼區域10的外緣,交互成為一列地排列之方式構成。The
如上述般構成特定圖案21,故在資訊碼讀取裝置30中,可藉由不僅3個位置檢測圖案11a~11c也利用特定圖案21,從攝像畫像正確地特定碼區域10。The
接著,針對具有作為可光學讀取本實施形態之二維碼1的二維資訊碼讀取裝置之功能的資訊碼讀取裝置30,使用圖2進行說明。Next, the information
本實施形態的資訊碼讀取裝置30係光學讀取二維碼1及條碼等的讀取裝置。如圖2所示,資訊碼讀取裝置30係於未圖示之殼體的內部收容電路部所成者,電路部主要具備照明光源31、受光感測器33、成像透鏡32等的光學系,與記憶體36、控制部40等的微型電腦(以下稱為「微電腦」)系。The information
光學系分為投光光學系與受光光學系。構成投光光學系的照明光源31係具有可讓照明光Lf發光之照明光源的功能者,例如由紅色的LED與設置於該LED的射出側的透鏡所構成。再者,在圖2中,概念性揭示朝向附二維碼1的讀取對象物R照射照明光Lf的範例。The optical system is divided into a light-projecting optical system and a light-receiving optical system. The
受光光學系係藉由受光感測器33、成像透鏡32、反射鏡(省略圖示)等所構成。受光感測器33係例如構成為將C-MOS或CCD等的固體攝像裝置即受光元件二維排列的區域感測器者,以對應受光之資訊碼的各格子(圖案)輸出因應反射光Lr之強度的電性訊號之方式構成。該受光感測器33係可對透過成像透鏡32射入之入射光進行受光地安裝於印刷配線板(省略圖示)。再者,受光感測器33可相當於可對二維碼1進行攝像的「攝像手段」之一例。The light-receiving optical system is composed of a light-receiving
成像透鏡32係具有作為將從外部透過讀取口(省略圖示)射入之入射光聚光,可將像成像於受光感測器33的受光面33a的成像光學系之功能者。在本實施形態中,從照明光源31照射之照明光Lf等在資訊碼反射之後,以成像透鏡32對該反射光Lr聚光,使碼像成像於受光感測器33的受光面33a。The
微電腦系係由放大電路34、A/D轉換電路35、記憶體36、位址產生電路37、同步訊號產生電路38、控制部40、操作部42、液晶顯示器43、蜂鳴器44、振動器45、發光部46、通訊介面48等所構成。該微電腦系係如其名稱般,以可具有作為微電腦(資訊處理裝置)之功能的控制部40及記憶體36為中心所構成者,可對包含藉由上述之光學系所攝像之二維碼1的資訊碼的畫像訊號,硬體性及軟體性地進行訊號處理者。又,控制部40也進行該資訊碼讀取裝置30的整體系統相關的控制。The microcomputer system consists of an
從光學系的受光感測器33輸出之畫像訊號(類比訊號)係利用輸入至放大電路34以所定增益放大之後,被輸入至A/D轉換電路35時,從類比訊號轉換成數位訊號。然後,被數位化的畫像訊號,亦即畫像資料(畫像資訊)被輸入至記憶體36時,則積存於畫像資料積存區域。再者,同步訊號產生電路38係構成為可產生對於受光感測器33及位址產生電路37的同步訊號,又,位址產生電路37係構成為可依據從該同步訊號產生電路38供給的同步訊號,產生儲存於記憶體36的畫像資料的儲存位址。The image signal (analog signal) output from the light-receiving
記憶體36係半導體記憶體裝置,例如RAM(DRAM、SRAM等)或ROM(EPROM、EEPROM等)相當於其。於該記憶體36中的RAM,構成為除了上述之畫像資料積存區域之外,也可確保控制部40利用於算術運算及邏輯運算等的各處理時之作業區域及讀取條件表。又,於ROM,預先儲存有可控制照明光源31、受光感測器33等之各硬體的系統程式等。又,於記憶體36,也記憶有可執行成為讀取對象之二維碼的特定圖案相關之資訊及後述之讀取處理的讀取用程式等。在此,作為二維碼的特定圖案相關的資訊,例如包含也包含了構成之格子的顏色之特定圖案的形狀及與各位置檢測圖案11a~11c的相對位置關係等。The
控制部40係可控制資訊碼讀取裝置30整體的微電腦,由CPU、系統匯流排、輸出入介面等所成者,可與記憶體36一起構成資訊處理裝置且具有資訊處理功能。該控制部40係構成為可透過內藏之輸出入介面而與各種輸出入機器(周邊裝置)連接,在本實施形態的狀況中,連接操作部42、液晶顯示器43、蜂鳴器44、振動器45、發光部46、通訊介面48等。The
操作部42係藉由複數鍵所構成,作為因應使用者的鍵操作以對於控制部40賦予操作訊號的構造,控制部40係以從操作部42接收操作訊號時,進行因應其操作訊號的動作之方式構成。液晶顯示器43係藉由公知的液晶顯示面板所構成,藉由控制部40控制顯示內容。蜂鳴器44係藉由公知的蜂鳴器所構成,以因應來自控制部40的操作訊號,產生所定聲音之方式構成。振動器45係藉由搭載於攜帶機器之公知的振動器所構成,以因應來自控制部40的驅動訊號,產生振動之方式構成。發光部46係例如LED,以因應來自控制部40的訊號而點燈之方式構成。通訊介面48係構成為用以進行與外部(例如主機裝置)之間的資料通訊的介面,作為與控制部40協力動作來進行通訊處理的構造。The
接著,針對讀取二維碼1時以資訊碼讀取裝置30的控制部40執行的讀取處理,參照圖3的流程圖來進行說明。Next, the reading process executed by the
在資訊碼讀取裝置30的讀取口朝向二維碼1之狀態下對於操作部42進行所定操作時,則開始控制部40所致之讀取處理。首先,進行步驟S101所示的攝像處理,依據從對來自二維碼1的反射光Lr受光的受光感測器33輸出之訊號,產生包含該二維碼1之攝像畫像的畫像資料。When a predetermined operation is performed on the
接著,進行步驟S103所示的特定圖案抽出處理。在此處理中,進行依據預先記憶於記憶體36之特定圖案21相關的資訊等,從如上所述般攝像的攝像畫像抽出特定圖案21的處理。在該處理中,從攝像畫像直接抽出特定圖案21亦可,由於預先決定特定圖案21與各位置檢測圖案11a~11c的位置關係,依據從攝像畫像所檢測出之各位置檢測圖案11a~11c的位置,從相同攝像畫像進行推定等來抽出特定圖案21亦可。Next, the specific pattern extraction process shown in step S103 is performed. In this process, a process of extracting the
然後,由於對具有特定圖案21的二維碼1進行攝像,從所攝像之攝像畫像抽出並辨識特定圖案21時(在步驟S105為Yes),進行步驟S107所示之利用特定圖案的碼區域特定處理。在此處理中,進行依據從相同攝像畫像抽出之各位置檢測圖案11a~11c與如上所述般抽出之特定圖案21,用以特定碼區域10的處理。具體來說,被抽出的特定圖案21之各圖案部21a~21d的內緣延伸的線交叉之4個交點分別對應碼區域10的四隅10a~10c、12的頂角,故依據各圖案部21a~21d,特定剩下的隅12並且確認除了該剩下的隅12之外的三隅10a~10c的頂角與各位置檢測圖案11a~11c的對應的頂角一致。再者,進行前述步驟S107的處理的控制部40可相當於「特定手段」之一例。Then, since the two-
另一方面,在從被攝像的攝像畫像未抽出特定圖案21時(步驟S105為No),則進行步驟S109所示之通常的碼區域特定處理,對不具有特定圖案21之通常的資訊碼進行攝像,進行從攝像畫像依據位置檢測圖案等,用以特定碼區域10的處理。On the other hand, when the
前述步驟S107或步驟S109的處理中,位置檢測圖案11a~11c等並未可抽出地攝像而碼區域10的特定失敗的話(步驟S111為No),進行前述步驟S101起的處理。In the processing of step S107 or step S109, if the
另一方面,前述步驟S105或步驟S107的處理中,碼區域10的特定成功時(步驟S111為Yes),則進行步驟S113所示的解碼處理。在此處理中,依據如上所述般特定之碼區域10內的各格子的排列,進行用以解碼(解讀)記錄於資料記錄區域之所定資料的處理。然後,該解碼處理成功時(步驟S115為Yes),則進行用以將藉由解碼處理所取得之所定資料輸出至外部的處理(步驟S117),結束本讀取處理。另一方面,解碼處理失敗時(步驟S115為No),則進行前述步驟S101起的處理。再者,進行前述步驟S113的處理的控制部40可相當於「解讀手段」之一例。On the other hand, in the processing of step S105 or step S107, when the identification of the
如以上說明般,在本實施形態的二維碼1中,於矩形狀的碼區域10的三隅10a~10c,分別設置用以檢測出該碼區域10之位置的位置檢測圖案11a~11c,且以沿著碼區域10之外側,且為該碼區域10的外緣的至少一部分之方式配置特定圖案21的各圖案部21a~21d。藉此,於對二維碼1進行攝像的攝像畫像,特定圖案21與其碼區域10一起被攝像,所以,即使在二維碼1被歪斜地攝像的狀況及污垢附著之狀態下攝像的狀況等,也可依據特定圖案21與3個位置檢測圖案11a~11c,正確地特定攝像畫像之碼區域10。尤其,不需要對於特定圖案21分派配置於碼區域10內的格子,所以,可實現不減少可記錄的資料容量而可正確地特定碼區域10的二維碼1。As described above, in the two-
然後,在本實施形態的資訊碼讀取裝置30中,於對二維碼1進行攝像的攝像畫像,特定圖案21與其碼區域10一起被攝像,所以,在利用控制部40進行的讀取處理中,可依據特定圖案21與3個位置檢測圖案11a~11c,正確地特定攝像畫像之碼區域10。Then, in the information
進而,特定圖案21的各圖案部21a~21d係以寬度為1格子分之方式構成。藉此,可抑制設置特定圖案21及各圖案部21a~21d所致之二維碼1的面積增加。Furthermore, each
尤其,在本實施形態中,圖案部21a與圖案部21c係隔著碼區域10具有作為一對圖案部的功能,圖案部21b與圖案部21d係隔著碼區域10具有作為一對圖案部的功能。然後,各圖案部21a~21d係以相鄰之格子的顏色不同之方式複數格子排列成一列所分別構成。因此,於攝像畫像中辨識出特定圖案21的各圖案部21a~21d時,可利用構成各圖案部21a~21d的格子的座標,容易辨識碼區域10內的各格子的座標。In particular, in this embodiment, the
亦即,在碼區域的緣部101a及緣部101b以相鄰之格子的顏色不同之方式構成,且碼區域的緣部101c及緣部101d以相鄰之格子的顏色相同之方式構成的資料矩陣100中,如圖6所例示,碼區域具有仰角、傾角般歪斜地被攝像時,有無法從各緣部101a~101d正確地求出碼區域內之格子的位置的狀況。具體來說,例如圖6所例示般,求出從碼區域的上邊數起第n行之各格子的y座標時,緣部101b側的格子座標(點Ao等)可依據該緣部101b之格子的座標決定,但是,緣部101d側(點Bo等)的格子座標因為該緣部101d之格子間的邊際無法辦別而難以正確求出。此種狀況中,也考量依據將緣部101d基於格子數來分割成n:m的位置,求出緣部101d側(點Bo等)的格子座標的方法,但是,因為仰角、傾角所致之台形歪斜及透鏡的畸變(Distortion)等,有分割成n:m的位置本身變得不正確,無法正確求出格子座標的狀況。同樣地,即使在求出各格子的x座標(橫方向X的位置座標)的狀況中,緣部101a側的格子座標也可依據該緣部101a之格子的座標來決定,但是,緣部101c側的格子座標因為該緣部101c之格子間的邊際無法判別而難以正確求出。That is, the
相對於此,如本案發明,將各圖案部21a~21d以相鄰之格子的顏色不同之方式構成,可解決前述問題。亦即,位於連結一方之圖案部中1個格子與位於與該1個格子對向的位置之另一方之圖案部的1個格子的線上之碼區域內的各格子,可辨識為被排列於相同列或相同行的格子。藉此,如圖4所例示,即使碼區域10歪斜地被攝像,求出從碼區域10的上邊數來第n行之各格子的y座標(縱方向Y的位置座標)的狀況中,圖案部21b側的格子座標(點A等)也可依據相當於該圖案部21b的第n行之格子的座標來決定,圖案部21d側的格子座標(點B等)也可依據相當於該圖案部21d的第n行之格子的座標來決定。同樣地,圖案部21a側的格子座標可依據該圖案部21a之格子的座標來決定,圖案部21c側的格子座標可依據該圖案部21c之格子的座標來決定。因此,可依據各圖案部21a~21d,正確地辨識碼區域10內之各格子的座標。
On the other hand, as in the present invention, the
進而,即使碼區域10的一部分未被攝像的狀況中,也可藉由利用特定圖案21之格子的座標,正確地辨識被攝像之部分的碼區域10內之各格子的座標之後進行錯誤訂正。例如圖5所例示般,即使碼區域10的一部分未被攝像的狀況中,也可藉由利用圖案部21b之格子的座標及圖案部21d之格子的座標,正確地辨識被攝像之部分的碼區域10內之各格子的座標之後進行錯誤訂正。
Furthermore, even if a part of the
藉此,相較於不設置特定圖案21的狀況,可抑制依據被誤認之座標的錯誤訂正,故即使在碼區域10的一部分欠缺等的狀況中,也可提升可正確地進行錯誤訂正的可能性,可提升解碼成功率。再者,在不歪斜地攝像的狀況及歪斜較少地攝像的狀況,不利用連結一方的圖案部中1個格子與位於與該1個格子對向的位置之另一方的圖案部中1個格子的線,依據圖案部之格子的座標,決定位於該格子的附近之碼區域10內的格子的座標亦可。
As a result, compared with the situation where the
又,在本實施形態中,特定圖案21係具備分
別沿著構成碼區域10的未設置位置檢測圖案11a~11c之剩下的隅12之該碼區域10的兩個外緣,相互正交之作為第1圖案部及第2圖案部的圖案部21c及圖案部21d。藉此,可根據圖案部21c的內緣延長的線與圖案部21d的內緣延長的線之交點來特定前述剩下之隅12的位置,所以,即使該剩下之隅12的暗色格子較少的狀況及附著污垢的狀況中,也可正確地特定碼區域10。
In addition, in this embodiment, the
再者,作為具有特定剩下之隅12的位置的第1圖案部及第2圖案部的特定圖案,並不限定於採用上述之特定圖案21,採用分別沿著構成剩下之隅12的該碼區域10的兩個外緣,且相互正交的第1圖案部及第2圖案部亦可。具體來說,作為本實施形態的第1變形例,例如像圖7所例示之二維碼1a的特定圖案22,可採用分別沿著構成剩下之隅12的該碼區域10的兩個外緣,且相互正交的第1圖案部22a及第2圖案部22b。即使如此,例如圖8所例示般,即使在剩下之隅12附著污垢等D的狀況中,也根據圖案部22a的內緣延長的線L1與圖案部22b的內緣延長的線L2之交點,特定前述剩下之隅12的位置,可正確地特定碼區域10。
Furthermore, as the specific patterns of the first pattern portion and the second pattern portion that specify the positions of the remaining
作為本實施形態的第2變形例,在特定圖案與碼區域的外緣之間設置所定寬度的餘裕亦可。在此,所定寬度係指橫方向(X方向)之碼區域的外緣與特定圖案之間的距離,及縱方向(Y方向)之碼區域的外緣與特定圖案之間的距離。具體來說,如圖9所例示的二維碼1b,在特定圖案23的各圖案部23a~23d與碼區域10的外緣之間,利
用與亮色格子相同顏色設置寬度成為1格子分之所定寬度的餘裕M。
As a second modification of this embodiment, a margin of a predetermined width may be provided between the specific pattern and the outer edge of the code area. Here, the predetermined width refers to the distance between the outer edge of the code area in the horizontal direction (X direction) and the specific pattern, and the distance between the outer edge of the code area in the vertical direction (Y direction) and the specific pattern. Specifically, the two-
於二維碼中,有作為規格要求碼區域的周圍具有一定寬度的空白區域者。在如圖1所示之二維碼1的構造中,特定圖案21的各圖案部21a~21d以無間隙地連接於碼區域10的外緣之方式配置,故在一般的讀取裝置中,有因為特定圖案21而無法讀取的狀況。
In the two-dimensional code, there is a blank area with a certain width around the code area required by the specification. In the structure of the two-
因此,如圖9所例示的二維碼1b,利用在各圖案部23a~23d與碼區域10的外緣之間設置所定寬度的餘裕M,即使是一般的讀取裝置,也可容易將特定圖案23辨識為與碼區域10不同的背景等。因此,可將以沿著碼區域10的外緣之方式設置特定圖案23的二維碼1b,如通常的二維碼般讀取。
Therefore, the two-
尤其,所定寬度的餘裕M係以寬度成為1格子分之方式構成,故可抑制設置特定圖案23及所定寬度的餘裕M所致之二維碼1b的面積增加。又,所定寬度的餘裕M的寬度係因應作為規格所要求之空白區域的寬度來變更亦可。
In particular, the margin M of the predetermined width is configured such that the width becomes 1 grid part, so it is possible to suppress the increase in the area of the two-
接著,針對本第2實施形態的二維碼,參照圖10進行說明。 Next, the two-dimensional code of the second embodiment will be described with reference to FIG. 10.
在本第2實施形態中,主要是特定圖案以包圍碼區域10之方式形成為四角環狀之處與前述第1實施形
態不同。具體來說,如圖10所示之二維碼1c的特定圖案24,利用以隔著所定寬度的餘裕M包圍碼區域10之方式將複數格子排列成一列,且以相鄰之格子的顏色不同之方式排列以形成四角環狀。
In the second embodiment, the specific pattern is mainly formed in a quadrangular ring to surround the
如此,特定圖案24係以包圍碼區域10之方式形成為四角環狀,故可容易進行依據特定圖案24之碼區域10的特定。尤其,特定圖案24係以相鄰之格子的顏色不同之方式排列,故如使用圖4所說明般,利用構成其特定圖案24之格子的座標,可容易辨識碼區域10內之各格子的座標。
In this way, the
作為第2實施形態的第1變形例,如圖11所示之二維碼1d的特定圖案25,利用以隔著所定寬度的餘裕M包圍碼區域10之方式將同色的格子排列成一列,以形成四角環狀亦可。即使如此,也可容易進行依據以包圍碼區域10之方式形成為四角環狀的特定圖案25之碼區域10的特定。尤其,特定圖案25係排列同色的格子所構成,故於攝像畫像中容易辨識特定圖案25本身。
As a first modification of the second embodiment, the
作為第2實施形態的第2變形例,如圖12所示之二維碼1e的特定圖案26,由複數格子中與位置檢測圖案11a~11c對向之一部分的格子所構成的圖案部26a以同色的格子構成,由殘餘部分的格子所構成的圖案部26b分別以與旁邊的格子不同之顏色構成亦可。藉此,可根據以同色的格子構成之圖案部26a,特定位置檢測圖案11a~11c的位置。又,也可根據位置檢測圖案11a~11c的位置,特定圖案部26a。進而,在以異色格子構成之圖案部26b中,位於連接隔著碼區域10對向之一對格子的線上之碼區域10內的各格子,係可辨識為被排列於相同列或相同行的格子。藉此,例如即使在碼區域10被歪斜地攝像的狀況中,也可正確地辨識碼區域10內之各格子的座標。As a second modification of the second embodiment, the
[第3實施形態] 接著,針對本第3實施形態的二維碼,參照圖13進行說明。[Third embodiment] Next, the two-dimensional code of the third embodiment will be described with reference to FIG. 13.
在本第3實施形態中,主要是因應配置於碼區域10內之固定圖案的形狀,變更構成特定圖案之格子的排列之處,與前述第2實施形態不同。具體來說,如圖13所示之二維碼1f,於碼區域10內,作為與各位置檢測圖案11a~11c不同的第1固定圖案,配置6個校準圖案13a~13f,以隔著所定寬度的餘裕M包圍碼區域10之方式配置四角環狀的特定圖案27。各校準圖案13a~13f係發揮與QR碼(註冊商標)的校準圖案相同功能者,且利用校準圖案,用以針對被包圍之區域內的格子進行歪斜修正等者。各校準圖案13a~13f係相同形狀,且以於x座標中,校準圖案13a、13c、13e相同,校準圖案13d、13f相同,於y座標中,校準圖案13b~13d相同,校準圖案13e、13f相同之方式分別進行配置。In this third embodiment, the arrangement of the grids constituting the specific pattern is mainly changed in accordance with the shape of the fixed pattern arranged in the
本實施形態的特定圖案27係利用以包圍碼區域10之方式將複數格子排列成一列而形成為四角環狀,且以投影各校準圖案13a~13f的中心之位置的格子與相鄰之格子的顏色不同之方式構成。具體來說,在特定圖案27的圖案部27a及圖案部27c中,以投影構成校準圖案13b的中心位置的格子之位置的格子、投影構成校準圖案13a、13c、13e的中心位置的格子之位置的格子、投影構成校準圖案13d、13f的中心位置的格子之位置的格子分別成為亮色格子,其以外成為暗色格子之方式構成。又,在特定圖案27的圖案部27b及圖案部27d中,以投影構成校準圖案13a的中心位置的格子之位置的格子、投影構成校準圖案13b~13d的中心位置的格子之位置的格子、投影構成校準圖案13e、13f的中心位置的格子之位置的格子分別成為亮色格子,其以外成為暗色格子之方式構成。The
藉此,例如即使是難以辨識各校準圖案13a~13f之任一的攝像狀態,也可根據特定圖案27特定其校準圖案的位置。又,也可利用檢測出成為投影構成各校準圖案13a~13f之中心位置的格子之位置的亮色格子與其兩鄰的暗色格子,特定特定圖案的位置。進而,特定圖案27的亮色格子係可如校準圖案般發揮功能,故例如可修正以特定圖案27的兩個亮色格子與各校準圖案13a~13f的兩者包圍之區域內的格子的歪斜。也就是說,藉由利用特定圖案27的亮色格子部分,也可藉由碼區域10內之各校準圖案13a~13f,修正配置於外側的格子的歪斜。Thereby, even if it is difficult to recognize the imaging state of any one of the
[第4實施形態] [Fourth Embodiment]
接著,針對本第4實施形態的二維碼,參照圖14進行說明。 Next, the two-dimensional code of the fourth embodiment will be described with reference to FIG. 14.
在本第4實施形態中,主要是以在與配置於碼區域10內之校準圖案不同的第2固定圖案以所定排列構成時,投影該第2固定圖案之位置的複數格子成為前述所定排列之方式構成特定圖案之處,與前述第3實施形態不同。
In the fourth embodiment, when the second fixed pattern which is different from the calibration pattern arranged in the
具體來說,例如圖14所示之二維碼1g般,在於碼區域10內作為第2固定圖案,以所定排列配置兩個時序圖案14a、14b時,特定圖案28係以由投影時序圖案14a之位置的複數格子所成的圖案部28a,由投影時序圖案14b之位置的複數格子所成的圖案部28b分別成為前述所定排列之方式構成。
Specifically, for example, as shown in the two-
藉此,即使於碼區域10內難以辨識時序圖案14a、14b的攝像狀態,也可根據特定圖案28的圖案部28a、28b特定時序圖案14a、14b的位置及其排列。又,也可利用在投影時序圖案14a、14b的目標檢測出相同排列的格子,特定特定圖案28的圖案部28a、28b的位置。尤其,藉由利用碼區域10內的時序圖案14a、14b與碼區域10外的圖案部28a、28b雙方,如圖4中所說明般,即使二維碼1g歪斜地被攝像的狀況中,也可正確地辨識碼區域10內之各格子的座標。
Thereby, even if it is difficult to recognize the imaging state of the
進而,即使二維碼1g的一部分如圖15所例示般欠缺地被攝像的狀況中,也可藉由利用圖案部28b之格
子的座標及時序圖案14b之格子的座標,如利用圖5所述般,正確地辨識被攝像之部分的碼區域10內之各格子的座標之後進行錯誤訂正。藉此,相較於不設置特定圖案28的狀況,可抑制依據被誤認之座標的錯誤訂正,故即使在碼區域10的一部分欠缺等的狀況中,也可提升可正確地進行錯誤訂正的可能性,可提升解碼成功率。
Furthermore, even in a situation where a part of the two-
再者,本發明並不是限定於前述各實施形態及變形例者,例如如以下所述具體化亦可。 In addition, the present invention is not limited to the aforementioned embodiments and modifications, and may be embodied as described below, for example.
(1)本發明的特定圖案並不限定於如上述之特定圖案21~28般構成,例如利用實線等、格子以外的形狀,藉由以沿著碼區域10之外側,且該碼區域10的外緣的至少一部分之方式配置,構成為可特定碼區域10的位置的形狀即可。又,排列同色的格子以所定形狀構成特定圖案時,可於攝像畫像中容易辨識特定圖案本身。又,以相鄰之格子的顏色不同之方式排列複數格子,以所定形狀構成特定圖案時,利用構成其特定圖案之格子的座標,可容易辨識碼區域10內之各格子的座標。
(1) The specific pattern of the present invention is not limited to the above-mentioned specific patterns 21-28. For example, solid lines and other shapes other than grids are used to extend along the outer side of the
(2)碼區域10及特定圖案21~28並不限於藉由亮色格子(白格子)及暗色格子(黑格子)構成,藉由複數種類之顏色的格子構成亦可。又,碼區域10並不限於形成為正方形狀,形成為長方形狀亦可。
(2) The
(3)如上述般構成的二維碼1、1a~1g係即使顯示於用紙等的所定顯示媒體,也可藉由使用資訊碼讀取裝置30讀取來發揮前述效果。此時,二維碼1、1a~1g並不限定於以對於所定顯示媒體,3個位置檢測圖案11a~11c中之一(11c)成為下方之方式顯示,例如像圖16所示之顯示媒體50般,以3個位置檢測圖案11a~11c中兩個(11a,11b)成為下方之方式顯示亦可。於碼區域10中未設置位置檢測圖案11a~11c的剩下之隅12側,配置記錄應讀取之資料的資料記錄區域,利用以兩個位置檢測圖案成為下方之方式配置,資料記錄區域以成為上方之方式配置。利用如此以資料記錄區域成為上方之方式配置而顯示於固定物等,即使構成二維碼的碼區域中的下方因為移動於固定物等之前的移動體等被隱藏的狀況中,資料記錄區域也難以被隱藏,相較於以3個位置檢測圖案中兩個成為上方之方式配置的狀況,可提升記錄於二維碼之資料的讀取成功率。(3) Even if the two-
(4)本發明的二維碼讀取裝置並不限定於適用於如上所述般構成的資訊碼讀取裝置30,例如被安裝用以讀取二維碼1、1a~1g等的所定應用程式的手機或智慧型手機等的攜帶終端採用亦可,被固定型的資訊終端等採用亦可。(4) The two-dimensional code reading device of the present invention is not limited to being applied to the information
1‧‧‧二維碼(二維資訊碼)1a‧‧‧二維碼(二維資訊碼)1b‧‧‧二維碼(二維資訊碼)1c‧‧‧二維碼(二維資訊碼)1d‧‧‧二維碼(二維資訊碼)1e‧‧‧二維碼(二維資訊碼)1f‧‧‧二維碼(二維資訊碼)1g‧‧‧二維碼(二維資訊碼)10‧‧‧碼區域10a‧‧‧三隅10b‧‧‧三隅10c‧‧‧三隅11a‧‧‧位置檢測圖案11b‧‧‧位置檢測圖案11c‧‧‧位置檢測圖案12‧‧‧剩下的隅13a‧‧‧校準圖案(第1固定圖案)13b‧‧‧校準圖案(第1固定圖案)13c‧‧‧校準圖案(第1固定圖案)13d‧‧‧校準圖案(第1固定圖案)13e‧‧‧校準圖案(第1固定圖案)13f‧‧‧校準圖案(第1固定圖案)14a‧‧‧時序圖案(第2固定圖案)14b‧‧‧時序圖案(第2固定圖案)21‧‧‧特定圖案21a‧‧‧圖案部21b‧‧‧圖案部21c‧‧‧圖案部21d‧‧‧圖案部22‧‧‧特定圖案23‧‧‧特定圖案24‧‧‧特定圖案25‧‧‧特定圖案26‧‧‧特定圖案27‧‧‧特定圖案28‧‧‧特定圖案30‧‧‧資訊碼讀取裝置(二維資訊碼讀取裝置)31‧‧‧照明光源32‧‧‧成像透鏡33‧‧‧受光感測器(攝像手段)33a‧‧‧受光面34‧‧‧放大電路35‧‧‧A/D轉換電路36‧‧‧記憶體37‧‧‧位址產生電路38‧‧‧同步訊號產生電路40‧‧‧控制部(特定手段,解讀手段)42‧‧‧操作部43‧‧‧液晶顯示器44‧‧‧蜂鳴器45‧‧‧振動器46‧‧‧發光部48‧‧‧通訊介面100‧‧‧資料矩陣101a‧‧‧緣部101b‧‧‧緣部101c‧‧‧緣部101d‧‧‧緣部BK‧‧‧背景M‧‧‧餘裕1‧‧‧Two-dimensional code (two-dimensional information code) 1a‧‧‧ two-dimensional code (two-dimensional information code) 1b‧‧‧ two-dimensional code (two-dimensional information code) 1c‧‧‧ two-dimensional code (two-dimensional information Code) 1d‧‧‧Two-dimensional code (two-dimensional information code) 1e‧‧‧Two-dimensional code (two-dimensional information code) 1f‧‧‧Two-dimensional code (two-dimensional information code) 1g‧‧‧Two-dimensional code (two (Dimensional information code) 10‧‧‧Code area 10a‧‧‧Mitsuyu 10b‧‧‧Mitsuyu 10c‧‧‧Sanyu11a‧‧‧Position detection pattern 11b‧‧‧Position detection pattern 11c‧‧‧Position detection pattern 12‧‧‧ Remaining corner 13a‧‧‧calibration pattern (1st fixed pattern) 13b‧‧‧calibration pattern (1st fixed pattern) 13c‧‧‧calibration pattern (1st fixed pattern) 13d‧‧‧calibration pattern (1st fixed pattern) Pattern) 13e‧‧‧Calibration pattern (1st fixed pattern) 13f‧‧‧Calibration pattern (1st fixed pattern) 14a‧‧‧ Timing pattern (2nd fixed pattern) 14b‧‧‧ Timing pattern (2nd fixed pattern) 21‧‧‧Specified pattern 21a‧‧‧Pattern part 21b‧‧‧Pattern part 21c‧‧‧Pattern part 21d‧‧‧Pattern part 22‧‧‧Specific pattern 23‧‧‧Specific pattern 24‧‧‧Specific pattern 25‧ ‧‧Specific pattern 26‧‧‧Specific pattern 27‧‧‧Specific pattern 28‧‧‧Specific pattern 30‧‧‧Information code reading device (two-dimensional information code reading device) 31‧‧‧Illumination light source 32‧‧‧ Imaging lens 33‧‧‧Receiving sensor (camera means) 33a‧‧‧Receiving surface 34‧‧‧Amplifying circuit 35‧‧‧A/D conversion circuit 36‧‧‧Memory 37‧‧‧Address generating circuit 38 ‧‧‧Synchronization signal generating circuit 40‧‧‧Control part (specific means, interpretation means) 42‧‧‧Operation part 43‧‧‧LCD display 44‧‧‧Buzzer 45‧‧‧Vibrator 46‧‧‧Light Part 48‧‧‧Communication interface 100‧‧‧Data matrix 101a‧‧‧Edge 101b‧‧‧Edge 101c‧‧Edge 101d‧‧‧Edge BK‧‧‧Background M‧‧‧Leave aside
於添附圖面中, [圖1]揭示第1實施形態之二維碼的說明圖。 [圖2]概略例示讀取第1實施形態之二維碼的資訊碼讀取裝置的區塊圖。 [圖3]例示以資訊碼讀取裝置的控制部進行之讀取處理的流程的流程圖。 [圖4]揭示第1實施形態之二維碼歪斜地被攝像之狀態的說明圖。 [圖5]說明以圖1的二維碼之碼區域的一部分欠缺之方式攝像的狀態的說明圖。 [圖6]揭示先前之二維碼歪斜地被攝像之狀態的說明圖。 [圖7]揭示第1實施形態的第1變形例之二維碼的說明圖。 [圖8]揭示圖7的二維碼附著污垢等被攝像之狀態的說明圖。 [圖9]揭示第1實施形態的第2變形例之二維碼的說明圖。 [圖10]揭示第2實施形態之二維碼的說明圖。 [圖11]揭示第2實施形態的第1變形例之二維碼的說明圖。 [圖12]揭示第2實施形態的第2變形例之二維碼的說明圖。 [圖13]揭示第3實施形態之二維碼的說明圖。 [圖14]揭示第4實施形態之二維碼的說明圖。 [圖15]說明以圖14的二維碼之碼區域的一部分欠缺之方式攝像的狀態的說明圖。 [圖16]揭示以3個位置檢測圖案中兩個成為下方之方式顯示圖14的二維碼的顯示媒體的說明圖。In the attached drawings, [FIG. 1] shows an explanatory diagram of the two-dimensional code of the first embodiment. [FIG. 2] A block diagram schematically illustrating an information code reading device for reading the two-dimensional code of the first embodiment. [FIG. 3] A flowchart illustrating the flow of the reading process performed by the control unit of the information code reading device. [Fig. 4] An explanatory diagram showing the state where the two-dimensional code of the first embodiment is captured skewedly. [Fig. 5] An explanatory diagram illustrating the state of shooting with a part of the code area of the two-dimensional code shown in Fig. 1 missing. [Figure 6] An explanatory diagram showing the state where the previous two-dimensional code was taken skewedly. [FIG. 7] An explanatory diagram showing the two-dimensional code of the first modification of the first embodiment. [Fig. 8] An explanatory diagram showing the state where the two-dimensional code of Fig. 7 adheres to dirt, etc., being captured. [FIG. 9] An explanatory diagram showing a two-dimensional code of a second modification of the first embodiment. [Fig. 10] An explanatory diagram showing the two-dimensional code of the second embodiment. [FIG. 11] An explanatory diagram showing the two-dimensional code of the first modification of the second embodiment. [FIG. 12] An explanatory diagram showing the two-dimensional code of the second modification of the second embodiment. [Figure 13] An explanatory diagram showing the two-dimensional code of the third embodiment. [Figure 14] An explanatory diagram showing the two-dimensional code of the fourth embodiment. [FIG. 15] An explanatory diagram for explaining the state of imaging with a part of the code area of the two-dimensional code of FIG. 14 missing. [FIG. 16] An explanatory diagram showing a display medium that displays the two-dimensional code of FIG. 14 in such a way that two of the three position detection patterns are positioned below.
1‧‧‧二維碼 1‧‧‧QR code
10‧‧‧碼區域 10‧‧‧Code area
10a‧‧‧三隅 10a‧‧‧Misumi
10b‧‧‧三隅 10b‧‧‧Misumi
10c‧‧‧三隅 10c‧‧‧Misumi
11a‧‧‧位置檢測圖案 11a‧‧‧Position detection pattern
11b‧‧‧位置檢測圖案 11b‧‧‧Position detection pattern
11c‧‧‧位置檢測圖案 11c‧‧‧Position detection pattern
12‧‧‧剩下的隅 12‧‧‧Remaining corner
21‧‧‧特定圖案 21‧‧‧Specific patterns
21a‧‧‧圖案部 21a‧‧‧Pattern Department
21b‧‧‧圖案部 21b‧‧‧Pattern Department
21c‧‧‧圖案部 21c‧‧‧Pattern Department
21d‧‧‧圖案部 21d‧‧‧Pattern Department
BK‧‧‧背景 BK‧‧‧Background
DR‧‧‧資料記錄區域 DR‧‧‧Data recording area
EC‧‧‧錯誤訂正符號記錄區域 EC‧‧‧Error correction symbol record area
Claims (19)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017140625A JP2019021165A (en) | 2017-07-20 | 2017-07-20 | Two-dimensional code and two-dimensional code reading device |
JP2017-140625 | 2017-07-20 |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201921283A TW201921283A (en) | 2019-06-01 |
TWI725329B true TWI725329B (en) | 2021-04-21 |
Family
ID=65015150
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW107125117A TWI725329B (en) | 2017-07-20 | 2018-07-20 | Two-dimensional code and two-dimensional code reading device |
Country Status (4)
Country | Link |
---|---|
JP (1) | JP2019021165A (en) |
CN (1) | CN110945530B (en) |
TW (1) | TWI725329B (en) |
WO (1) | WO2019017433A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7415399B2 (en) * | 2019-09-30 | 2024-01-17 | 株式会社デンソーウェーブ | Information code, information code medium, information code generation method, and information code reading device |
WO2024014217A1 (en) * | 2022-07-11 | 2024-01-18 | テルモ株式会社 | Two-dimensional code display object, two-dimensional code display object group, medical tool, program, information processing method, and information processing device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5726435A (en) * | 1994-03-14 | 1998-03-10 | Nippondenso Co., Ltd. | Optically readable two-dimensional code and method and apparatus using the same |
US20120145779A1 (en) * | 2009-04-08 | 2012-06-14 | Continental Teves Ag & Co. Ohg | Two-dimensional symbol code and method for reading the symbol code |
CN105190650A (en) * | 2012-12-19 | 2015-12-23 | 电装波动株式会社 | Information code, information code generation method, information code reader device, and information code usage system |
US20160275443A1 (en) * | 2012-11-13 | 2016-09-22 | Kyodo Printing Co., Ltd. | Two-dimensional code, system for creation of two-dimensional code, and analysis program |
US20170039463A1 (en) * | 2014-05-14 | 2017-02-09 | Kyodo Printing Co., Ltd. | Two-dimensional code, two-dimensional-code analysis system, and two-dimensional-code generation system |
TWI574209B (en) * | 2014-05-14 | 2017-03-11 | Kyodo Printing Co Ltd | Two - dimensional code, two - dimensional code of the analytical system |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2938338B2 (en) * | 1994-03-14 | 1999-08-23 | 株式会社デンソー | Two-dimensional code |
JP2001167222A (en) * | 1999-09-29 | 2001-06-22 | Denso Corp | Error correcting method, method and device for reading two-dimensional code and recording medium |
RU2009100923A (en) * | 2006-06-14 | 2010-07-20 | Веритек, Инк. (Us) | MULTIDIMENSIONAL SYMBOLS AND RELATED WAYS |
JP5136302B2 (en) * | 2008-03-27 | 2013-02-06 | 株式会社デンソーウェーブ | Two-dimensional code, two-dimensional code generation method, computer-readable program for displaying two-dimensional code, authentication method using two-dimensional code, and information providing method using two-dimensional code |
JP2018101164A (en) * | 2015-04-16 | 2018-06-28 | 健三 山梨 | Two-dimensional code, two-dimensional code record carrier, two-dimensional code reading method, two-dimensional code reading program and two-dimensional code reading device |
CN105095936B (en) * | 2015-07-22 | 2018-01-16 | 黄鹤南 | A kind of two-dimensional image code and its generation method and system based on Information hiding |
-
2017
- 2017-07-20 JP JP2017140625A patent/JP2019021165A/en active Pending
-
2018
- 2018-07-19 CN CN201880047757.2A patent/CN110945530B/en active Active
- 2018-07-19 WO PCT/JP2018/027096 patent/WO2019017433A1/en active Application Filing
- 2018-07-20 TW TW107125117A patent/TWI725329B/en active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5726435A (en) * | 1994-03-14 | 1998-03-10 | Nippondenso Co., Ltd. | Optically readable two-dimensional code and method and apparatus using the same |
US20120145779A1 (en) * | 2009-04-08 | 2012-06-14 | Continental Teves Ag & Co. Ohg | Two-dimensional symbol code and method for reading the symbol code |
US20160275443A1 (en) * | 2012-11-13 | 2016-09-22 | Kyodo Printing Co., Ltd. | Two-dimensional code, system for creation of two-dimensional code, and analysis program |
CN105190650A (en) * | 2012-12-19 | 2015-12-23 | 电装波动株式会社 | Information code, information code generation method, information code reader device, and information code usage system |
US20170039463A1 (en) * | 2014-05-14 | 2017-02-09 | Kyodo Printing Co., Ltd. | Two-dimensional code, two-dimensional-code analysis system, and two-dimensional-code generation system |
CN106462786A (en) * | 2014-05-14 | 2017-02-22 | 共同印刷株式会社 | Two-dimensional code, two-dimensional-code analysis system, and two-dimensional-code generation system |
TWI574209B (en) * | 2014-05-14 | 2017-03-11 | Kyodo Printing Co Ltd | Two - dimensional code, two - dimensional code of the analytical system |
Also Published As
Publication number | Publication date |
---|---|
CN110945530A (en) | 2020-03-31 |
CN110945530B (en) | 2024-01-16 |
TW201921283A (en) | 2019-06-01 |
JP2019021165A (en) | 2019-02-07 |
WO2019017433A1 (en) | 2019-01-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8330726B2 (en) | Position detection apparatus using area image sensor | |
JP3458737B2 (en) | Reading method of two-dimensional code and recording medium | |
TWI619079B (en) | Information code, information code generation method, information code reading device, and information code utilization system | |
JP2008537813A (en) | System and method for processing paper | |
TWI725329B (en) | Two-dimensional code and two-dimensional code reading device | |
JP5720623B2 (en) | Two-dimensional code reader | |
CN109657513B (en) | Two-dimensional code | |
JP7167553B2 (en) | Two-dimensional code | |
US11449699B2 (en) | Information code reading system | |
JP6908357B2 (en) | Position identification device and position identification method | |
WO2013015146A1 (en) | Object detection device and information acquisition device | |
JP7286612B2 (en) | Operation detection device and operation detection method | |
JP6645393B2 (en) | Optical information reader | |
JP7415399B2 (en) | Information code, information code medium, information code generation method, and information code reading device | |
CA2374484A1 (en) | Data recording medium and code reader | |
JP2996243B1 (en) | Two-dimensional code reading method, two-dimensional code reading device, and recording medium | |
JP7091898B2 (en) | Code reader and code reader | |
CN109827759B (en) | Defect detection method and device applied to optical module | |
JP2013131058A (en) | Two-dimensional code, recording device, position specification device, and device and program for identification | |
JP7213734B2 (en) | Information processing device and program | |
JP2017084262A (en) | Code reader | |
JP2005275599A (en) | Handwriting output device, handwriting output method, and program | |
JP5218281B2 (en) | Information code reader | |
JP3272207B2 (en) | Drawing paper | |
KR101385771B1 (en) | Method for Reading Code Indicated on Display Panel, Reader Executing the Method Therein, Electronic Device Equipped with Display |