TWI725329B - Two-dimensional code and two-dimensional code reading device - Google Patents

Two-dimensional code and two-dimensional code reading device Download PDF

Info

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
Application number
TW107125117A
Other languages
Chinese (zh)
Other versions
TW201921283A (en
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 日商電裝威福股份有限公司
Publication of TW201921283A publication Critical patent/TW201921283A/en
Application granted granted Critical
Publication of TWI725329B publication Critical patent/TWI725329B/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods 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

二維碼及二維碼讀取裝置Two-dimensional code and two-dimensional code reading device

本發明係關於二維碼及二維碼讀取裝置,尤其,關於將複數格子配置成矩陣狀所構成的二維碼,及讀取該二維碼的二維碼讀取裝置。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 Patent Document 1 is known. [Prior Technical Document] [Patent Document]

[專利文獻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 Patent Document 1, after arranging bright-colored grids (white grids) and dark-colored grids (black grids) in the data area, multiple types of grids are prepared by using In one of the mask patterns, a part of the grid is replaced, and the method of using the less continuous number of white grids and black grids as the optimal arrangement pattern. With this method, it is difficult for the light-colored grid (white grid) and the dark-colored grid (black grid) to be continuous in the portion adjacent to the background, and the background and the code region (rectangular region) can be distinguished well.

然而,所使用之遮罩圖案的種類有所限制,故根據儲存之資料的內容,有於與背景鄰接的部分接續亮色格子(白格子)及暗色格子(黑格子)的狀況。與背景色同色的格子接續於與背景鄰接的部分時,變得難以區別碼邊際與背景,有碼區域的檢測精度降低的狀況。又,與背景鄰接之部分的圖案係對應各個碼而不同,故附著污垢,或印刷模糊不清時,有難以判別其是否是正確的格子顏色的狀況,結果,造成無法正確特定碼區域的狀況。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 claim 1, the three corners of the four 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 outside of the code area and are A specific pattern is arranged in at least a part of the outer edge of the code area. In this way, in the captured image of the two-dimensional code, the specific pattern is captured along with the code area. Therefore, even when the two-dimensional code is captured obliquely and the state of dirt is attached, it can be based on The specific pattern and 3 position detection patterns can accurately specify the code area of the captured image. 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.

作為理想的一例,特定圖案係以寬度為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-dimensional code 1 of the present embodiment has a rectangular (more specifically, a square shape) code area 10 having a horizontal direction (X direction) and a vertical direction (Y direction). On the inner side of the code area 10, plural information display unit grids (hereinafter, also simply referred to as grids) are arranged in a matrix to extend along the outer side of the code area 10 and at least a part of the outer edge of the code area 10 The pattern is configured by a specific pattern 21. Each grid is a plurality of types of grids different in color, density, or brightness, and each grid area is configured as a square area.

碼區域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 code area 10 has four corners 10a~10c and 12, but the three corners 10a~10c are respectively provided with position detection patterns (Finder patterns) 11a~11c for detecting the position of the code area 10, and the remaining corners 12 No position detection pattern is set. Therefore, by these four corners 10a-10c and 12, the code area 10 is defined from the background BK. In the code area 10, a data recording area DR for recording desired data by a plurality of grids is arranged. The corner 12 that is not provided with the above-mentioned position detection pattern is also configured to be used as a part of the data recording area DR. Also, in the code area 10, although not described in detail, an error correction symbol recording area EC in which error correction symbols are recorded by a plurality of grids is provided. Furthermore, in the present embodiment, the code area 10 is constructed using the same technique as the well-known QR code. In FIG. 1, for the convenience of explanation, except for the position detection patterns 11a-11c, each is shown in bright-colored grids (white grids). lattice.

特定圖案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 specific pattern 21 is shown in FIG. 1, and has three position detection patterns 11a-11c and one corner 12. In the horizontal direction (X direction) and the vertical direction (Y direction), the two patterns facing each other or the pattern and Yu's combination. Therefore, the specific pattern 21 is provided with a pattern portion 21a arranged to connect two position detection patterns 11a and 11b facing each other in the horizontal direction, and two position detection patterns facing each other in the vertical direction. The pattern portion 21b arranged in the manner of the pattern 11a and the position detection pattern 11c, the pattern portion 21c arranged in such a manner that the position detection patterns 11c and the corner 12 facing each other in the horizontal direction are connected to each other, and the pattern portion 21c is arranged to be connected to each other in the vertical direction. The pattern portion 21d arranged in the manner of the pattern 11b and the corner 12 is detected in the direction of the position. The pattern parts 21a-21d are arranged in such a way that they are connected to the outer edge of the code area 10 without gaps, and the plural grids are arranged in a row in such a way that the colors of adjacent grids are different, and the width becomes one grid division. Way of composition. Specifically, each of the pattern portions 21a-21d is configured in such a manner that bright-colored grids (white grids) and dark-colored grids (black grids) are alternately arranged in a row along the outer edge of the code region 10.

如上述般構成特定圖案21,故在資訊碼讀取裝置30中,可藉由不僅3個位置檢測圖案11a~11c也利用特定圖案21,從攝像畫像正確地特定碼區域10。The specific pattern 21 is configured as described above. Therefore, in the information code reading device 30, not only the three position detection patterns 11a to 11c but also the specific pattern 21 can be used to accurately specify the code area 10 from the captured image.

接著,針對具有作為可光學讀取本實施形態之二維碼1的二維資訊碼讀取裝置之功能的資訊碼讀取裝置30,使用圖2進行說明。Next, the information code reading device 30 having a function as a two-dimensional information code reading device capable of optically reading the two-dimensional code 1 of this embodiment will be described with reference to FIG. 2.

本實施形態的資訊碼讀取裝置30係光學讀取二維碼1及條碼等的讀取裝置。如圖2所示,資訊碼讀取裝置30係於未圖示之殼體的內部收容電路部所成者,電路部主要具備照明光源31、受光感測器33、成像透鏡32等的光學系,與記憶體36、控制部40等的微型電腦(以下稱為「微電腦」)系。The information code reading device 30 of this embodiment is a reading device that optically reads the two-dimensional code 1 and barcodes. As shown in FIG. 2, the information code reading device 30 is formed by accommodating a circuit part inside a casing not shown. The circuit part mainly includes an optical system such as an illuminating light source 31, a light receiving sensor 33, an imaging lens 32, etc. , And a microcomputer (hereinafter referred to as "microcomputer") such as the memory 36 and the control unit 40.

光學系分為投光光學系與受光光學系。構成投光光學系的照明光源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 illumination light source 31 constituting the projection optical system has a function of an illumination light source capable of emitting the illumination light Lf, and is composed of, for example, a red LED and a lens provided on the emission side of the LED. Furthermore, in FIG. 2, an example in which the illumination light Lf is irradiated toward the reading target R with the two-dimensional code 1 is conceptually disclosed.

受光光學系係藉由受光感測器33、成像透鏡32、反射鏡(省略圖示)等所構成。受光感測器33係例如構成為將C-MOS或CCD等的固體攝像裝置即受光元件二維排列的區域感測器者,以對應受光之資訊碼的各格子(圖案)輸出因應反射光Lr之強度的電性訊號之方式構成。該受光感測器33係可對透過成像透鏡32射入之入射光進行受光地安裝於印刷配線板(省略圖示)。再者,受光感測器33可相當於可對二維碼1進行攝像的「攝像手段」之一例。The light-receiving optical system is composed of a light-receiving sensor 33, an imaging lens 32, a mirror (not shown), and the like. The light-receiving sensor 33 is, for example, a solid-state imaging device such as a C-MOS or CCD, that is, an area sensor in which light-receiving elements are two-dimensionally arranged, and output corresponding reflected light Lr in each grid (pattern) corresponding to the received information code The intensity of the electrical signal is constituted by the way. The light-receiving sensor 33 is mounted on a printed wiring board (not shown in the figure) so as to be able to receive incident light incident through the imaging lens 32. Furthermore, the light-receiving sensor 33 may be equivalent to an example of the “imaging means” capable of imaging the two-dimensional code 1.

成像透鏡32係具有作為將從外部透過讀取口(省略圖示)射入之入射光聚光,可將像成像於受光感測器33的受光面33a的成像光學系之功能者。在本實施形態中,從照明光源31照射之照明光Lf等在資訊碼反射之後,以成像透鏡32對該反射光Lr聚光,使碼像成像於受光感測器33的受光面33a。The imaging lens 32 has a function as an imaging optical system that collects incident light from the outside through a reading port (not shown) and can form an image on the light-receiving surface 33a of the light-receiving sensor 33. In this embodiment, after the information code is reflected by the illumination light Lf etc. irradiated from the illumination light source 31, the reflected light Lr is condensed by the imaging lens 32 to form the code image on the light receiving surface 33a of the light receiving sensor 33.

微電腦系係由放大電路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 amplifier circuit 34, an A/D conversion circuit 35, a memory 36, an address generation circuit 37, a synchronization signal generation circuit 38, a control unit 40, an operation unit 42, a liquid crystal display 43, a buzzer 44, and a vibrator 45. The light emitting unit 46, the communication interface 48 and the like are constituted. The microcomputer is, as its name suggests, it is composed of a control unit 40 and a memory 36 that can function as a microcomputer (information processing device), and can be configured to include a two-dimensional code captured by the above-mentioned optical system. The image signal of the information code, hardware and software for signal processing. In addition, the control unit 40 also performs control related to the entire system of the information code reading device 30.

從光學系的受光感測器33輸出之畫像訊號(類比訊號)係利用輸入至放大電路34以所定增益放大之後,被輸入至A/D轉換電路35時,從類比訊號轉換成數位訊號。然後,被數位化的畫像訊號,亦即畫像資料(畫像資訊)被輸入至記憶體36時,則積存於畫像資料積存區域。再者,同步訊號產生電路38係構成為可產生對於受光感測器33及位址產生電路37的同步訊號,又,位址產生電路37係構成為可依據從該同步訊號產生電路38供給的同步訊號,產生儲存於記憶體36的畫像資料的儲存位址。The image signal (analog signal) output from the light-receiving sensor 33 of the optical system is input to the amplifying circuit 34 and amplified with a predetermined gain, and when it is input to the A/D conversion circuit 35, it is converted from an analog signal to a digital signal. Then, when the digitized image signal, that is, the image data (image information) is input to the memory 36, it is accumulated in the image data accumulation area. Furthermore, the synchronization signal generating circuit 38 is configured to generate a synchronization signal to the light-receiving sensor 33 and the address generating circuit 37, and the address generating circuit 37 is configured to be capable of being supplied from the synchronization signal generating circuit 38 The synchronization signal generates the storage address of the image data stored in the memory 36.

記憶體36係半導體記憶體裝置,例如RAM(DRAM、SRAM等)或ROM(EPROM、EEPROM等)相當於其。於該記憶體36中的RAM,構成為除了上述之畫像資料積存區域之外,也可確保控制部40利用於算術運算及邏輯運算等的各處理時之作業區域及讀取條件表。又,於ROM,預先儲存有可控制照明光源31、受光感測器33等之各硬體的系統程式等。又,於記憶體36,也記憶有可執行成為讀取對象之二維碼的特定圖案相關之資訊及後述之讀取處理的讀取用程式等。在此,作為二維碼的特定圖案相關的資訊,例如包含也包含了構成之格子的顏色之特定圖案的形狀及與各位置檢測圖案11a~11c的相對位置關係等。The memory 36 is a semiconductor memory device, for example, RAM (DRAM, SRAM, etc.) or ROM (EPROM, EEPROM, etc.) corresponds to it. The RAM in the memory 36 is configured such that in addition to the above-mentioned image data accumulation area, the control unit 40 can also secure a work area and a reading condition table for each processing such as arithmetic operation and logical operation. In addition, in the ROM, a system program that can control each hardware of the illumination light source 31, the light receiving sensor 33, and the like is stored in advance. In addition, the memory 36 also stores information related to a specific pattern of the two-dimensional code to be read, a reading program that can be used for the reading process described later, and the like. Here, the information related to the specific pattern of the two-dimensional code includes, for example, the shape of the specific pattern that also includes the color of the grid of the structure and the relative positional relationship with each of the position detection patterns 11a to 11c.

控制部40係可控制資訊碼讀取裝置30整體的微電腦,由CPU、系統匯流排、輸出入介面等所成者,可與記憶體36一起構成資訊處理裝置且具有資訊處理功能。該控制部40係構成為可透過內藏之輸出入介面而與各種輸出入機器(周邊裝置)連接,在本實施形態的狀況中,連接操作部42、液晶顯示器43、蜂鳴器44、振動器45、發光部46、通訊介面48等。The control unit 40 is a microcomputer that can control the entire information code reading device 30. It is composed of a CPU, a system bus, an I/O interface, etc., and can form an information processing device together with the memory 36 and has an information processing function. The control unit 40 is configured to be connected to various input/output devices (peripheral devices) through a built-in input/output interface. In the case of this embodiment, the operation unit 42, the liquid crystal display 43, the buzzer 44, and the vibration are connected. The device 45, the light emitting unit 46, the communication interface 48 and so on.

操作部42係藉由複數鍵所構成,作為因應使用者的鍵操作以對於控制部40賦予操作訊號的構造,控制部40係以從操作部42接收操作訊號時,進行因應其操作訊號的動作之方式構成。液晶顯示器43係藉由公知的液晶顯示面板所構成,藉由控制部40控制顯示內容。蜂鳴器44係藉由公知的蜂鳴器所構成,以因應來自控制部40的操作訊號,產生所定聲音之方式構成。振動器45係藉由搭載於攜帶機器之公知的振動器所構成,以因應來自控制部40的驅動訊號,產生振動之方式構成。發光部46係例如LED,以因應來自控制部40的訊號而點燈之方式構成。通訊介面48係構成為用以進行與外部(例如主機裝置)之間的資料通訊的介面,作為與控制部40協力動作來進行通訊處理的構造。The operation unit 42 is composed of a plurality of keys, and is a structure for giving operation signals to the control unit 40 in response to the user's key operations. When the control unit 40 receives the operation signals from the operation unit 42, it performs actions in response to the operation signals. The way to constitute. The liquid crystal display 43 is composed of a well-known liquid crystal display panel, and the display content is controlled by the control unit 40. The buzzer 44 is composed of a known buzzer, and is configured to generate a predetermined sound in response to an operation signal from the control unit 40. The vibrator 45 is composed of a well-known vibrator mounted on a portable device, and is configured to generate vibration in response to a driving signal from the control unit 40. The light emitting unit 46 is, for example, an LED, and is configured to light up in response to a signal from the control unit 40. The communication interface 48 is configured as an interface for data communication with the outside (for example, a host device), as a structure for performing communication processing in cooperation with the control unit 40.

接著,針對讀取二維碼1時以資訊碼讀取裝置30的控制部40執行的讀取處理,參照圖3的流程圖來進行說明。Next, the reading process executed by the control unit 40 of the information code reading device 30 when reading the two-dimensional code 1 will be described with reference to the flowchart of FIG. 3.

在資訊碼讀取裝置30的讀取口朝向二維碼1之狀態下對於操作部42進行所定操作時,則開始控制部40所致之讀取處理。首先,進行步驟S101所示的攝像處理,依據從對來自二維碼1的反射光Lr受光的受光感測器33輸出之訊號,產生包含該二維碼1之攝像畫像的畫像資料。When a predetermined operation is performed on the operation unit 42 with the reading port of the information code reading device 30 facing the two-dimensional code 1, the reading process by the control unit 40 is started. First, the imaging process shown in step S101 is performed to generate image data including the captured image of the two-dimensional code 1 based on the signal output from the light-receiving sensor 33 that receives the reflected light Lr from the two-dimensional code 1.

接著,進行步驟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 specific pattern 21 from the captured image captured as described above is performed based on information about the specific pattern 21 stored in the memory 36 in advance, and the like. In this process, the specific pattern 21 may be directly extracted from the captured image. Since the positional relationship between the specific pattern 21 and each position detection pattern 11a-11c is determined in advance, it is based on the position detection patterns 11a-11c detected from the captured image. The position may be estimated from the same captured image and the specific pattern 21 may be extracted.

然後,由於對具有特定圖案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-dimensional code 1 with the specific pattern 21 is captured, when the specific pattern 21 is extracted and recognized from the captured image (Yes in step S105), the code area identification using the specific pattern shown in step S107 is performed deal with. In this processing, processing for identifying the code area 10 based on the position detection patterns 11a to 11c extracted from the same captured image and the specific pattern 21 extracted as described above is performed. Specifically, the four intersections at which the lines extending from the inner edges of the respective pattern portions 21a-21d of the extracted specific pattern 21 intersect correspond to the corners of the four corners 10a-10c and 12 of the code area 10. Therefore, according to each pattern portion 21a ~21d, specify the remaining corner 12 and confirm that the vertex angles of the three corners 10a to 10c other than the remaining corner 12 coincide with the corresponding vertex angles of the position detection patterns 11a to 11c. In addition, the control unit 40 that performs the processing of the aforementioned step S107 may correspond to an example of the "specified means".

另一方面,在從被攝像的攝像畫像未抽出特定圖案21時(步驟S105為No),則進行步驟S109所示之通常的碼區域特定處理,對不具有特定圖案21之通常的資訊碼進行攝像,進行從攝像畫像依據位置檢測圖案等,用以特定碼區域10的處理。On the other hand, when the specific pattern 21 is not extracted from the captured image (step S105: No), the normal code area identification process shown in step S109 is performed, and the normal information code without the specific pattern 21 is performed In imaging, a process for identifying the code area 10 is performed by detecting a pattern from the captured image based on a position, and the like.

前述步驟S107或步驟S109的處理中,位置檢測圖案11a~11c等並未可抽出地攝像而碼區域10的特定失敗的話(步驟S111為No),進行前述步驟S101起的處理。In the processing of step S107 or step S109, if the position detection patterns 11a to 11c, etc. are not extracted and the identification of the code area 10 fails (No in step S111), the processing from step S101 is performed.

另一方面,前述步驟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 code area 10 is successful (Yes in step S111), the decoding processing shown in step S113 is performed. In this processing, processing for decoding (deciphering) the predetermined data recorded in the data recording area is performed based on the arrangement of the respective grids in the code area 10 specified as described above. Then, when the decoding process is successful (Yes in step S115), a process for outputting the predetermined data obtained by the decoding process to the outside is performed (step S117), and the reading process is ended. On the other hand, when the decoding process fails (No in step S115), the process from step S101 is performed. Furthermore, the control unit 40 that performs the processing of the aforementioned step S113 may correspond to an example of the "interpretation means".

如以上說明般,在本實施形態的二維碼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-dimensional code 1 of this embodiment, the three corners 10a to 10c of the rectangular code area 10 are respectively provided with position detection patterns 11a to 11c for detecting the position of the code area 10, and The pattern portions 21 a to 21 d of the specific pattern 21 are arranged along the outer side of the code area 10 and are at least a part of the outer edge of the code area 10. In this way, in the captured image of the two-dimensional code 1, the specific pattern 21 is captured together with the code area 10. Therefore, even in the situation where the two-dimensional code 1 is captured obliquely or when dirt is attached, etc. , The code area 10 of the captured image can also be correctly specified based on the specific pattern 21 and the three position detection patterns 11a-11c. In particular, it is not necessary to assign the grids arranged in the code area 10 to the specific pattern 21, and therefore, it is possible to realize the two-dimensional code 1 that can accurately specify the code area 10 without reducing the recordable data capacity.

然後,在本實施形態的資訊碼讀取裝置30中,於對二維碼1進行攝像的攝像畫像,特定圖案21與其碼區域10一起被攝像,所以,在利用控制部40進行的讀取處理中,可依據特定圖案21與3個位置檢測圖案11a~11c,正確地特定攝像畫像之碼區域10。Then, in the information code reading device 30 of the present embodiment, in the captured image of the two-dimensional code 1, the specific pattern 21 is captured together with the code area 10. Therefore, in the reading process performed by the control unit 40 According to the specific pattern 21 and the three position detection patterns 11a~11c, the code area 10 of the captured image can be correctly specified.

進而,特定圖案21的各圖案部21a~21d係以寬度為1格子分之方式構成。藉此,可抑制設置特定圖案21及各圖案部21a~21d所致之二維碼1的面積增加。Furthermore, each pattern part 21a-21d of the specific pattern 21 is comprised so that the width may become 1 division of a grid. Thereby, it is possible to suppress an increase in the area of the two-dimensional code 1 due to the provision of the specific pattern 21 and the respective pattern portions 21a to 21d.

尤其,在本實施形態中,圖案部21a與圖案部21c係隔著碼區域10具有作為一對圖案部的功能,圖案部21b與圖案部21d係隔著碼區域10具有作為一對圖案部的功能。然後,各圖案部21a~21d係以相鄰之格子的顏色不同之方式複數格子排列成一列所分別構成。因此,於攝像畫像中辨識出特定圖案21的各圖案部21a~21d時,可利用構成各圖案部21a~21d的格子的座標,容易辨識碼區域10內的各格子的座標。In particular, in this embodiment, the pattern portion 21a and the pattern portion 21c function as a pair of pattern portions via the code area 10, and the pattern portion 21b and the pattern portion 21d have functions as a pair of pattern portions via the code area 10. Features. Then, each pattern portion 21a-21d is configured by arranging a plurality of grids in a row such that the colors of adjacent grids are different. Therefore, when the pattern portions 21a to 21d of the specific pattern 21 are recognized in the captured image, the coordinates of the grids constituting the pattern portions 21a to 21d can be used to easily recognize the coordinates of the grids in the code area 10.

亦即,在碼區域的緣部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 edge part 101a and edge part 101b of the code area are constructed in such a way that the colors of adjacent grids are different, and the edge part 101c and the edge part 101d of the code area are constructed in such a way that the colors of adjacent grids are the same. In the matrix 100, as illustrated in FIG. 6, when the code area is imaged with an elevation angle and a skew like an inclination angle, there is a situation in which the positions of the grids in the code area cannot be accurately obtained from the respective edge portions 101a to 101d. Specifically, for example, as illustrated in FIG. 6, when the y coordinate of each grid in the nth row from the top of the code area is obtained, the grid coordinates (point Ao, etc.) on the side of the edge 101b can be based on the The coordinates of the grid are determined, but the grid coordinates on the side of the edge 101d (point Bo, etc.) are difficult to obtain accurately because the margin between the grids of the edge 101d cannot be distinguished. In this situation, the method of dividing the edge 101d into n:m positions based on the number of grids is also considered to obtain the grid coordinates on the side of the edge 101d (point Bo, etc.). However, it is due to the elevation angle and the inclination angle. There is a situation where the position of the division into n:m becomes incorrect, such as mesa skew and lens distortion (Distortion), and the grid coordinates cannot be accurately obtained. Similarly, even in a situation where the x coordinates (position coordinates in the lateral direction X) of each grid are obtained, the grid coordinates on the side of the edge 101a can be determined based on the coordinates of the grid on the edge 101a, but the edge 101c The grid coordinates on the side are difficult to obtain accurately because the margin between the grids of the edge 101c cannot be distinguished.

相對於此,如本案發明,將各圖案部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 pattern parts 21a to 21d are configured in such a way that the colors of adjacent grids are different, and the aforementioned problem can be solved. That is, 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 Grids in the same column or row. As a result, as illustrated in FIG. 4, even if the code area 10 is taken skewedly, the y coordinate (position coordinate in the vertical direction Y) of each grid in the nth row from the top of the code area 10 is obtained. The grid coordinates (point A, etc.) on the side of the portion 21b can also be determined based on the coordinates of the grid corresponding to the nth row of the pattern portion 21b, and the grid coordinates (point B, etc.) on the side of the pattern portion 21d can also be determined based on the grid coordinates (point B, etc.) corresponding to the pattern. The coordinates of the grid in the nth row of the part 21d are determined. Similarly, the grid coordinates on the side of the pattern portion 21a can be determined based on the coordinates of the grid on the pattern portion 21a, and the grid coordinates on the side of the pattern portion 21c can be determined based on the coordinates of the grid on the pattern portion 21c. Therefore, the coordinates of each grid in the code area 10 can be accurately recognized based on the respective pattern portions 21a-21d.

進而,即使碼區域10的一部分未被攝像的狀況中,也可藉由利用特定圖案21之格子的座標,正確地辨識被攝像之部分的碼區域10內之各格子的座標之後進行錯誤訂正。例如圖5所例示般,即使碼區域10的一部分未被攝像的狀況中,也可藉由利用圖案部21b之格子的座標及圖案部21d之格子的座標,正確地辨識被攝像之部分的碼區域10內之各格子的座標之後進行錯誤訂正。 Furthermore, even if a part of the code area 10 is not captured, the coordinates of the grids in the specific pattern 21 can be used to correctly recognize the coordinates of the grids in the code area 10 of the captured portion and then perform error correction. For example, as illustrated in FIG. 5, even if a part of the code area 10 is not captured, the code of the captured part can be accurately recognized by using the coordinates of the grid of the pattern part 21b and the coordinates of the grid of the pattern part 21d. The coordinates of each grid in area 10 are then corrected for errors.

藉此,相較於不設置特定圖案21的狀況,可抑制依據被誤認之座標的錯誤訂正,故即使在碼區域10的一部分欠缺等的狀況中,也可提升可正確地進行錯誤訂正的可能性,可提升解碼成功率。再者,在不歪斜地攝像的狀況及歪斜較少地攝像的狀況,不利用連結一方的圖案部中1個格子與位於與該1個格子對向的位置之另一方的圖案部中1個格子的線,依據圖案部之格子的座標,決定位於該格子的附近之碼區域10內的格子的座標亦可。 As a result, compared with the situation where the specific pattern 21 is not provided, the error correction based on the misrecognized coordinates can be suppressed. Therefore, even in a situation where a part of the code area 10 is missing, etc., the possibility of correct error correction can be improved. It can improve the decoding success rate. In addition, in situations where the image is captured without skew and where the image is captured with less skew, one of the grids in one of the pattern parts and the other pattern part located opposite to the one grid are not used. The line of the grid may determine the coordinates of the grid located in the code area 10 near the grid based on the coordinates of the grid of the pattern part.

又,在本實施形態中,特定圖案21係具備分 別沿著構成碼區域10的未設置位置檢測圖案11a~11c之剩下的隅12之該碼區域10的兩個外緣,相互正交之作為第1圖案部及第2圖案部的圖案部21c及圖案部21d。藉此,可根據圖案部21c的內緣延長的線與圖案部21d的內緣延長的線之交點來特定前述剩下之隅12的位置,所以,即使該剩下之隅12的暗色格子較少的狀況及附著污垢的狀況中,也可正確地特定碼區域10。 In addition, in this embodiment, the specific pattern 21 has points Do not follow the two outer edges of the code area 10 along the remaining corners 12 of the code area 10 where the position detection patterns 11a-11c are not provided, and the two outer edges of the code area 10 are orthogonal to each other as the first pattern portion and the second pattern portion. 21c and pattern part 21d. Thereby, the position of the aforementioned remaining corner 12 can be specified according to the intersection of the line extending from the inner edge of the pattern portion 21c and the line extending from the inner edge of the pattern portion 21d. Therefore, even if the dark grid of the remaining corner 12 is relatively The code area 10 can be accurately specified even in a few situations and in situations where dirt is attached.

再者,作為具有特定剩下之隅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 corners 12, it is not limited to the above-mentioned specific patterns 21, and the respective patterns along the remaining corners 12 are used. The two outer edges of the code area 10 may have a first pattern portion and a second pattern portion that are orthogonal to each other. Specifically, as a first modification of this embodiment, for example, the specific pattern 22 of the two-dimensional code 1a illustrated in FIG. Edge, and the first pattern portion 22a and the second pattern portion 22b orthogonal to each other. Even so, for example, as illustrated in FIG. 8, even in a situation where dirt and the like D adhere to the remaining corner 12, the intersection of the line L1 extended by the inner edge of the pattern portion 22a and the line L2 extended by the inner edge of the pattern portion 22b , Specify the position of the aforementioned remaining corner 12, and the code area 10 can be accurately specified.

作為本實施形態的第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-dimensional code 1b as illustrated in FIG. 9 is provided between each pattern portion 23a to 23d of the specific pattern 23 and the outer edge of the code area 10. Use the same color as the bright color grid to set a margin M whose width becomes a predetermined width of 1 grid.

於二維碼中,有作為規格要求碼區域的周圍具有一定寬度的空白區域者。在如圖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-dimensional code 1 shown in FIG. 1, the pattern portions 21a-21d of the specific pattern 21 are arranged to be connected to the outer edge of the code area 10 without gaps. Therefore, in a general reading device, There may be cases where it cannot be read because of the specific pattern 21.

因此,如圖9所例示的二維碼1b,利用在各圖案部23a~23d與碼區域10的外緣之間設置所定寬度的餘裕M,即使是一般的讀取裝置,也可容易將特定圖案23辨識為與碼區域10不同的背景等。因此,可將以沿著碼區域10的外緣之方式設置特定圖案23的二維碼1b,如通常的二維碼般讀取。 Therefore, the two-dimensional code 1b illustrated in FIG. 9 uses a margin M of a predetermined width between each pattern portion 23a-23d and the outer edge of the code area 10. Even a general reading device can easily identify The pattern 23 is recognized as a background different from the code area 10 and the like. Therefore, the two-dimensional code 1b with the specific pattern 23 arranged along the outer edge of the code area 10 can be read like a normal two-dimensional code.

尤其,所定寬度的餘裕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-dimensional code 1b due to the provision of the specific pattern 23 and the margin M of the predetermined width. In addition, the width of the margin M of the predetermined width may be changed in accordance with the width of the blank area required by the specifications.

[第2實施形態] [Second Embodiment]

接著,針對本第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 code area 10, which is similar to the first embodiment described above. State is different. Specifically, the specific pattern 24 of the two-dimensional code 1c shown in FIG. 10 uses a plurality of grids to be arranged in a row by enclosing the code area 10 with a margin M of a predetermined width, and the colors of adjacent grids are different. The way is arranged to form a four-corner ring.

如此,特定圖案24係以包圍碼區域10之方式形成為四角環狀,故可容易進行依據特定圖案24之碼區域10的特定。尤其,特定圖案24係以相鄰之格子的顏色不同之方式排列,故如使用圖4所說明般,利用構成其特定圖案24之格子的座標,可容易辨識碼區域10內之各格子的座標。 In this way, the specific pattern 24 is formed into a four-corner ring to surround the code area 10, so the code area 10 based on the specific pattern 24 can be easily specified. In particular, the specific patterns 24 are arranged in such a way that the colors of adjacent grids are different. Therefore, as explained using FIG. 4, the coordinates of the grids constituting the specific pattern 24 can be used to easily identify the coordinates of the grids in the code area 10. .

作為第2實施形態的第1變形例,如圖11所示之二維碼1d的特定圖案25,利用以隔著所定寬度的餘裕M包圍碼區域10之方式將同色的格子排列成一列,以形成四角環狀亦可。即使如此,也可容易進行依據以包圍碼區域10之方式形成為四角環狀的特定圖案25之碼區域10的特定。尤其,特定圖案25係排列同色的格子所構成,故於攝像畫像中容易辨識特定圖案25本身。 As a first modification of the second embodiment, the specific pattern 25 of the two-dimensional code 1d shown in FIG. 11 is arranged in a row with grids of the same color to surround the code area 10 with a margin M of a predetermined width. It is also possible to form a quadrangular ring. Even so, the code area 10 can be easily specified based on the specific pattern 25 formed in a quadrangular ring to surround the code area 10. In particular, the specific pattern 25 is formed by arranging grids of the same color, so the specific pattern 25 itself can be easily recognized in the captured image.

作為第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 specific pattern 26 of the two-dimensional code 1e shown in FIG. The grid structure of the same color may be configured with the pattern portion 26b formed by the remaining grids in a color different from the grids on the side. Thereby, the positions of the patterns 11a to 11c can be detected based on the pattern portion 26a formed of the same color grid. In addition, the pattern portion 26a may be specified based on the positions of the position detection patterns 11a to 11c. Furthermore, in the pattern portion 26b composed of a grid of different colors, the grids in the code area 10 on the line connecting a pair of grids facing the code area 10 can be recognized as being arranged in the same column or row lattice. Thereby, for example, even in a situation where the code area 10 is captured obliquely, the coordinates of each grid in the code area 10 can be accurately recognized.

[第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 code area 10, which is different from the aforementioned second embodiment. Specifically, in the two-dimensional code 1f shown in FIG. 13, in the code area 10, as the first fixed pattern different from the position detection patterns 11a to 11c, six calibration patterns 13a to 13f are arranged so as to space a predetermined A four-corner ring-shaped specific pattern 27 is arranged in such a way that the margin M of the width surrounds the code area 10. Each of the calibration patterns 13a to 13f has the same function as the calibration pattern of the QR code (registered trademark), and uses the calibration pattern to correct the skew of the grid in the enclosed area. The calibration patterns 13a~13f have the same shape, and in the x coordinate, the calibration patterns 13a, 13c, 13e are the same, the calibration patterns 13d, 13f are the same, in the y coordinate, the calibration patterns 13b~13d are the same, and the calibration patterns 13e, 13e, Configure separately in the same way as 13f.

本實施形態的特定圖案27係利用以包圍碼區域10之方式將複數格子排列成一列而形成為四角環狀,且以投影各校準圖案13a~13f的中心之位置的格子與相鄰之格子的顏色不同之方式構成。具體來說,在特定圖案27的圖案部27a及圖案部27c中,以投影構成校準圖案13b的中心位置的格子之位置的格子、投影構成校準圖案13a、13c、13e的中心位置的格子之位置的格子、投影構成校準圖案13d、13f的中心位置的格子之位置的格子分別成為亮色格子,其以外成為暗色格子之方式構成。又,在特定圖案27的圖案部27b及圖案部27d中,以投影構成校準圖案13a的中心位置的格子之位置的格子、投影構成校準圖案13b~13d的中心位置的格子之位置的格子、投影構成校準圖案13e、13f的中心位置的格子之位置的格子分別成為亮色格子,其以外成為暗色格子之方式構成。The specific pattern 27 of this embodiment is formed by arranging a plurality of grids in a row to enclose the code area 10 to form a four-corner ring, and projecting the grid at the center of each calibration pattern 13a to 13f and the adjacent grid The colors are composed in different ways. Specifically, in the pattern portion 27a and the pattern portion 27c of the specific pattern 27, the positions of the grids forming the center positions of the calibration patterns 13b and the positions of the grids constituting the center positions of the calibration patterns 13a, 13c, and 13e are projected The grids and the grids projecting the positions of the grids that constitute the center positions of the calibration patterns 13d and 13f are formed as bright-colored grids, and the rest are formed as dark-colored grids. In addition, in the pattern portion 27b and the pattern portion 27d of the specific pattern 27, the grids projecting the positions of the grids constituting the center position of the calibration pattern 13a, the grids projecting the positions of the grids constituting the center position of the calibration patterns 13b to 13d, and the projection The grids constituting the positions of the grids at the center positions of the calibration patterns 13e and 13f are formed as bright-colored grids, and the rest are formed as dark-colored grids.

藉此,例如即使是難以辨識各校準圖案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 calibration patterns 13a to 13f, for example, the position of the calibration pattern can be specified based on the specific pattern 27. In addition, it is also possible to specify the position of a specific pattern by detecting a bright-colored grid that is the position of a grid that forms the center position of each calibration pattern 13a to 13f, and the dark grids adjacent to it. Furthermore, the bright-colored grid system of the specific pattern 27 can function like a calibration pattern, so for example, the distortion of the grid in the area surrounded by the two bright-colored grids of the specific pattern 27 and the calibration patterns 13a to 13f can be corrected. That is, by using the bright-colored grid portion of the specific pattern 27, the skew of the grid arranged on the outside can also be corrected by the calibration patterns 13a to 13f in the code area 10.

[第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 code area 10 is configured in a predetermined arrangement, the plural grids at the position where the second fixed pattern is projected become the predetermined arrangement. The way in which the specific pattern is formed is different from the third embodiment described above.

具體來說,例如圖14所示之二維碼1g般,在於碼區域10內作為第2固定圖案,以所定排列配置兩個時序圖案14a、14b時,特定圖案28係以由投影時序圖案14a之位置的複數格子所成的圖案部28a,由投影時序圖案14b之位置的複數格子所成的圖案部28b分別成為前述所定排列之方式構成。 Specifically, for example, as shown in the two-dimensional code 1g shown in FIG. 14, in the code area 10 as the second fixed pattern, when two timing patterns 14a, 14b are arranged in a predetermined arrangement, the specific pattern 28 is projected from the timing pattern 14a The pattern portion 28a formed by the plurality of grids at the position of 14b is configured such that the pattern portion 28b formed by the plurality of grids at the position of the projection timing pattern 14b is arranged in the aforementioned predetermined arrangement.

藉此,即使於碼區域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 timing patterns 14a, 14b in the code area 10, the positions and arrangements of the timing patterns 14a, 14b can be specified based on the pattern portions 28a, 28b of the specific pattern 28. In addition, the positions of the pattern portions 28a and 28b of the specific pattern 28 may be specified by detecting the grids of the same arrangement on the target of the projection timing patterns 14a and 14b. In particular, by using both the timing patterns 14a and 14b in the code area 10 and the pattern portions 28a and 28b outside the code area 10, as illustrated in FIG. 4, even if the two-dimensional code 1g is captured skewedly, The coordinates of each grid in the code area 10 can be correctly identified.

進而,即使二維碼1g的一部分如圖15所例示般欠缺地被攝像的狀況中,也可藉由利用圖案部28b之格 子的座標及時序圖案14b之格子的座標,如利用圖5所述般,正確地辨識被攝像之部分的碼區域10內之各格子的座標之後進行錯誤訂正。藉此,相較於不設置特定圖案28的狀況,可抑制依據被誤認之座標的錯誤訂正,故即使在碼區域10的一部分欠缺等的狀況中,也可提升可正確地進行錯誤訂正的可能性,可提升解碼成功率。 Furthermore, even in a situation where a part of the two-dimensional code 1g is lackingly captured as illustrated in FIG. 15, it is possible to use the frame of the pattern part 28b. The coordinates of the sub-coordinates and the grid coordinates of the timing pattern 14b are as described with reference to FIG. 5, and the coordinates of each grid in the code area 10 of the imaged part are correctly identified and then the error is corrected. As a result, compared with the situation where the specific pattern 28 is not provided, the error correction based on the misrecognized coordinates can be suppressed, so even in the situation where a part of the code area 10 is missing, etc., the possibility of correcting the error can be improved. It can improve the decoding success rate.

再者,本發明並不是限定於前述各實施形態及變形例者,例如如以下所述具體化亦可。 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 code area 10, and the code area 10 The arrangement of at least a part of the outer edge of the code area may be configured in a shape that can specify the position of the code area 10. In addition, when grids of the same color are arranged to form a specific pattern in a predetermined shape, the specific pattern itself can be easily recognized in the captured image. In addition, when a plurality of grids are arranged in such a way that the colors of adjacent grids are different, and a specific pattern is formed in a predetermined shape, the coordinates of the grids constituting the specific pattern can be used to easily identify the coordinates of each grid in the code area 10.

(2)碼區域10及特定圖案21~28並不限於藉由亮色格子(白格子)及暗色格子(黑格子)構成,藉由複數種類之顏色的格子構成亦可。又,碼區域10並不限於形成為正方形狀,形成為長方形狀亦可。 (2) The code area 10 and the specific patterns 21 to 28 are not limited to being composed of bright-colored grids (white grids) and dark-colored grids (black grids), but may be composed of grids of plural kinds of colors. In addition, the code area 10 is not limited to being formed in a square shape, and may be formed in a rectangular shape.

(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-dimensional codes 1 and 1a to 1g configured as described above are displayed on a predetermined display medium such as paper, they can be read by the information code reading device 30 to achieve the aforementioned effects. At this time, the two-dimensional codes 1, 1a~1g are not limited to be displayed in such a way that one of the three position detection patterns 11a~11c (11c) becomes the bottom for a given display medium, such as the display medium shown in Figure 16. Generally, it is acceptable to display two of the three position detection patterns 11a to 11c (11a, 11b) as the bottom. On the remaining corner 12 side of the code area 10 where the position detection patterns 11a~11c are not set, the data recording area for recording the data to be read is arranged, and the two position detection patterns are arranged below, and the data recording area is Become the top configuration. The data recording area is arranged such that the data recording area becomes the upper side and displayed on a fixed object. Even if the lower part of the code area constituting the two-dimensional code is hidden because the moving object before moving to the fixed object, etc., the data recording area is still hidden. It is difficult to be hidden. Compared with the situation where two of the three position detection patterns are placed on the top, the reading success rate of the data recorded in the two-dimensional code can be improved.

(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 code reading device 30 configured as described above, for example, it is installed to read a predetermined application of two-dimensional codes 1, 1a~1g, etc. It can also be used as a portable terminal such as a mobile phone or a smart phone of a program, and it can also be used as a stationary information terminal.

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)

一種二維碼,係於矩形狀的碼區域的內部,將複數之資訊顯示的單位即格子排列成矩陣狀的二維碼,其特徵為:於前述碼區域所具有之四隅中的三隅,分別設置用以檢測出該碼區域之位置的位置檢測圖案;前述位置檢測圖案與用以特定前述碼區域的特定圖案,係抵接於前述碼區域的緣部,或與該碼區域的緣部隔開一定距離,配置於該緣部的外側。 A type of two-dimensional code, which is located inside a rectangular code area. The unit for displaying plural information, that is, the grid is arranged in a matrix. The two-dimensional code is characterized by: three corners of the four corners in the aforementioned code area. A position detection pattern for detecting the position of the code area is provided; the position detection pattern and the specific pattern for specifying the code area are abutted on the edge of the code area or separated from the edge of the code area A certain distance apart, arranged on the outside of the edge. 如申請專利範圍第1項所記載之二維碼,其中,前述特定圖案,係於前述碼區域的縱方向或橫方向中,具有與前述格子1格子分的該縱方向或橫方向的長度相同的寬度。 The two-dimensional code described in the first item of the scope of patent application, wherein the aforementioned specific pattern is in the vertical or horizontal direction of the code area, and has the same length in the vertical or horizontal direction of the grid 1 division. The width. 如申請專利範圍第1項所記載之二維碼,其中,在前述特定圖案與前述碼區域的緣部之間設置所定寬度的餘裕。 For the two-dimensional code described in the first item of the scope of patent application, a margin of a predetermined width is provided between the aforementioned specific pattern and the edge of the aforementioned code area. 如申請專利範圍第3項所記載之二維碼,其中,前述所定寬度的餘裕,係於前述碼區域的縱方向或橫方向中,具有與前述格子1格子分的該縱方向或橫方向的長度相同的寬度。 As for the two-dimensional code described in item 3 of the scope of patent application, the margin of the aforementioned predetermined width is in the longitudinal or lateral direction of the aforementioned code area, which has the dimension of the longitudinal or lateral direction that is divided from the aforementioned grid 1 grid. The width of the same length. 如申請專利範圍第1項至第4項中任一項所記載之二維碼,其中,前述特定圖案,係排列同色的前述格子所構成。 For the two-dimensional code described in any one of items 1 to 4 of the scope of patent application, the aforementioned specific pattern is formed by arranging the aforementioned grids of the same color. 如申請專利範圍第1項至第4項中任一項所記載之二維碼,其中,前述特定圖案,係以鄰接之前述格子的顏色不同之方式排列複數格子所構成。 For the two-dimensional code described in any one of items 1 to 4 of the scope of patent application, the aforementioned specific pattern is formed by arranging a plurality of grids in such a way that the colors of adjacent grids are different. 如申請專利範圍第1項至第4項中任一項所記載之二維碼,其中,前述特定圖案,係具備隔著前述碼區域對向之一對圖案部;前述一對圖案部,係以對應該各圖案部,抵接於前述碼區域的緣部,或與該碼區域的緣部隔開一定距離,配置於該緣部外側的相鄰之格子的顏色不同之方式複數格子排列成一列所分別構成。 For example, the two-dimensional code described in any one of items 1 to 4 of the scope of patent application, wherein the aforementioned specific pattern is provided with a pair of pattern parts facing each other across the aforementioned code area; the aforementioned pair of pattern parts is A plurality of grids are arranged in such a way that the color of adjacent grids arranged outside the edge of the code area is different from the edge of the code area, or is spaced apart from the edge of the code area corresponding to each pattern. One column is composed separately. 如申請專利範圍第1項至第4項中任一項所記載之二維碼,其中,前述特定圖案,係以具備分別沿著構成前述碼區域的未設置前述位置檢測圖案之剩下的一隅之該碼區域的兩個緣部,相互正交之第1圖案部及第2圖案部之方式構成。 For example, the two-dimensional code described in any one of items 1 to 4 of the scope of patent application, wherein the aforementioned specific pattern is provided with the remaining corners that constitute the code area where the aforementioned position detection pattern is not provided. The two edges of the code area are constructed in such a way that the first pattern portion and the second pattern portion are orthogonal to each other. 如申請專利範圍第1項至第4項中任一項所記載之二維碼,其中,前述特定圖案,係具有複數特定圖案,以形成前述碼區域的外側被該複數特定圖案包圍之實質上的四角環狀之方式排列前述特定圖案。 For example, the two-dimensional code described in any one of items 1 to 4 of the scope of patent application, wherein the aforementioned specific pattern has a plurality of specific patterns to form a substantial part of the code area surrounded by the plurality of specific patterns. Arrange the aforementioned specific patterns in a four-corner ring. 如申請專利範圍第2項至第4項中任一項所記載之二維碼,其中,構成前述複數格子的各格子,係正方形狀;前述各格子1格子分的寬度,係等於前述正方形狀中之1邊。 For the two-dimensional code described in any one of items 2 to 4 of the scope of the patent application, each grid constituting the aforementioned plural grids is square; the width of each grid 1 division is equal to the aforementioned square shape One of the sides. 如申請專利範圍第9項所記載之二維碼,其中,前述特定圖案,係利用各格子抵接於前述碼區域的緣部,或與該碼區域的緣部隔開一定距離,於該緣部外側排列成一列以形成前述四角環狀,前述複數格子中與前述位置檢測圖案對向之一部分的格子以同色的格子構成,剩下部分的格子分別以與鄰接的格子不同顏色構成。 For example, the two-dimensional code described in item 9 of the scope of patent application, in which the aforementioned specific pattern uses each grid to abut against the edge of the aforementioned code area, or is separated from the edge of the code area by a certain distance. The outer sides of the parts are arranged in a row to form the aforementioned four-corner ring shape, a part of the plurality of grids opposite to the position detection pattern is configured with grids of the same color, and the remaining grids are configured with different colors from adjacent grids. 如申請專利範圍第9項所記載之二維碼,其中,於前述碼區域內,與前述位置檢測圖案不同之第1固定圖案由複數格子構成並配置;前述特定圖案,係利用各格子抵接於前述碼區域的緣部,或與該碼區域的緣部隔開一定距離,於該緣部外側排 列成一列以形成前述四角環狀,且以投影前述第1固定圖案的中心之位置的格子與相鄰之格子的顏色不同之方式構成。 For the two-dimensional code described in item 9 of the scope of patent application, in the code area, the first fixed pattern that is different from the position detection pattern is composed of a plurality of grids and arranged; the specific pattern is abutted by each grid At the edge of the aforementioned code area, or spaced a certain distance from the edge of the code area, arranged on the outside of the edge The rows are arranged in a row to form the aforementioned four-corner ring shape, and the grids projecting the center of the first fixed pattern have a different color from the adjacent grids. 如申請專利範圍第9項所記載之二維碼,其中,於前述碼區域內,與前述位置檢測圖案不同之第2固定圖案由所定排列的複數格子構成並配置;前述特定圖案,係利用各格子抵接於前述碼區域的緣部,或與該碼區域的緣部隔開一定距離,於該緣部外側排列成一列以形成前述四角環狀,且以投影前述第2固定圖案之位置的複數格子成為前述所定排列之方式構成。 For the two-dimensional code described in item 9 of the scope of patent application, in the code area, the second fixed pattern that is different from the position detection pattern is composed of a predetermined array of plural grids and is arranged; the aforementioned specific patterns use each The grid abuts on the edge of the code area, or is spaced a certain distance from the edge of the code area, and is arranged in a row outside the edge to form the aforementioned four-corner ring shape and project the position of the aforementioned second fixed pattern. The plural grids are formed in the manner of the aforementioned arrangement. 如申請專利範圍第2項所記載之二維碼,其中,在前述特定圖案與前述碼區域的緣部之間設置所定寬度的餘裕。 For the two-dimensional code described in the second item of the scope of patent application, a margin of a predetermined width is provided between the aforementioned specific pattern and the edge of the aforementioned code area. 如申請專利範圍第14項所記載之二維碼,其中,前述所定寬度的餘裕,係以具有與碼區域內的資訊單位格子的1格子分相同的寬度之方式構成。 For the two-dimensional code described in item 14 of the scope of the patent application, the margin of the aforementioned predetermined width is configured to have the same width as one grid division of the information unit grid in the code area. 如申請專利範圍第5項所記載之二維碼,其中,前述特定圖案,係以具備分別沿著構成前述碼區域的未設置前述位置檢測圖案之剩下的一隅之該碼區域的兩個緣部,相互正交之第1圖案部及第2圖案部之方式構成。 For the two-dimensional code described in item 5 of the scope of patent application, the aforementioned specific pattern is provided with two edges along the remaining corner of the code area that constitutes the aforementioned code area where the aforementioned position detection pattern is not provided. Part, the first pattern part and the second pattern part orthogonal to each other are constructed. 如申請專利範圍第6項所記載之二維碼,其中,前述特定圖案,係以具備分別沿著構成前述碼區域的未設置前述位置檢測圖案之剩下的一隅之該碼區域的兩個緣部,相互正交之第1圖案部及第2圖案部之方式構成。 For example, the two-dimensional code described in item 6 of the scope of patent application, wherein the aforementioned specific pattern is provided with two edges along the remaining corner of the code area that is not provided with the aforementioned position detection pattern. Part, the first pattern part and the second pattern part orthogonal to each other are constructed. 如申請專利範圍第7項所記載之二維碼,其中,前述特定圖案,係以具備分別沿著構成前述碼區域的未設置前述位置檢測圖案之剩下的一隅之該碼區域的兩個緣部,相互正交之第1圖案部及第2圖案部之方式構成。 For example, the two-dimensional code described in item 7 of the scope of patent application, wherein the aforementioned specific pattern is provided with two edges along the remaining corner of the code area that constitutes the aforementioned code area where the aforementioned position detection pattern is not provided. Part, the first pattern part and the second pattern part orthogonal to each other are constructed. 一種二維碼讀取裝置,係光學讀取複數格子矩陣狀地排列於矩形狀的碼區域內之二維碼的二維碼讀取裝置,其特徵為具備:攝像手段,係對前述二維碼進行攝像;特定手段,係特定前述攝像手段的攝像畫像之前述碼區域的位置;及解讀手段,係依據被前述特定手段特定的前述碼區域,解讀前述二維碼;前述二維碼,係於前述碼區域所具有之四隅中的三隅,分別設置用以檢測出該碼區域之位置的位置檢測圖案,且抵接於藉由前述位置檢測圖案所決定之前述碼區域的緣部,或與該碼區域的緣部隔開一定距離,配置特定圖案; 前述特定手段,係依據前述位置檢測圖案及前述特定圖案,特定前述攝像畫像之前述碼區域的位置。 A two-dimensional code reading device is a two-dimensional code reading device that optically reads a plurality of two-dimensional codes arranged in a matrix in a rectangular shape. The specific method is to specify the position of the aforementioned code area of the image taken by the aforementioned imaging means; and the interpretation method is to interpret the aforementioned two-dimensional code based on the aforementioned code area specified by the aforementioned specific method; the aforementioned two-dimensional code is In the three corners of the four corners of the code area, a position detection pattern for detecting the position of the code area is respectively arranged, and abuts against the edge of the code area determined by the position detection pattern, or with The edges of the code area are separated by a certain distance, and a specific pattern is arranged; The aforementioned specific means is based on the aforementioned position detection pattern and the aforementioned specific pattern to specify the position of the aforementioned code area of the aforementioned captured image.
TW107125117A 2017-07-20 2018-07-20 Two-dimensional code and two-dimensional code reading device TWI725329B (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
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