Two-dimensional code, generation device, and reading device
Saved in:
| Title: | Two-dimensional code, generation device, and reading device |
|---|---|
| Patent Number: | 12260,290 |
| Publication Date: | March 25, 2025 |
| Appl. No: | 18/421208 |
| Application Filed: | January 24, 2024 |
| Abstract: | A two-dimensional code 100 includes a plurality of lines L arranged in a second direction (X direction) at an interval S, and each line L includes a plurality of cells that indicate a plurality of bits and are arranged in series in a first direction (Y direction) orthogonal to the second direction. Each of the plurality of cells is either a first data cell 101 indicating a first value out of two values that the bits indicate, or a second data cell 102 indicating a second value out of the two values that the bits indicate. The first data cell includes a first density region 103 indicating the first value at a first position in the second direction. The second data cell includes a second density region 104 indicating the second value at the first position, and a third density region 105 adjacent to the second density region in the second direction. A difference in density between the first density region and the second density region is greater than a difference in density between the first density region and the third density region. |
| Inventors: | The Ritsumeikan Trust (Kyoto, JP); Nozaki Insatsu Shigyo Co., LTD. (Kyoto, JP) |
| Assignees: | The Ritsumeikan Trust (Kyoto, JP), Nozaki Insatsu Shigyo Co., LTD. (Kyoto, JP) |
| Claim: | 1. A two-dimensional code comprising a plurality of lines arranged in a second direction at an interval, each line including a plurality of cells that indicate a plurality of bits and are arranged in series in a first direction orthogonal to the second direction, wherein each of the plurality of cells is either a first data cell indicating a first value out of two values that the bits indicate, or a second data cell indicating a second value out of the two values that the bits indicate, the first data cell includes a first density region indicating the first value at a first position in the second direction, the second data cell includes a second density region indicating the second value at the first position, and a third density region adjacent to the second density region in the second direction, a difference in density between the first density region and the second density region is greater than a difference in density between the first density region and the third density region, in each of the plurality of lines, positions of opposite ends, in the second direction, of the first density region are aligned with positions of opposite ends, in the second direction, of the second density region, and the third density region is arranged adjacent to opposite sides, in the second direction, of the second density region, and a width in the second direction of each of the third density regions arranged adjacent to the opposite sides of the second density region is substantially equal to half a width in the second direction of the second density region. |
| Claim: | 2. The two-dimensional code according to claim 1 , wherein in the plurality of lines, an interval between the first density region or the second density region in a certain line, and the first density region or the second density region in another line adjacent to the certain line in the second direction is not smaller than twice the width in the second direction of the first density region or the second density region. |
| Claim: | 3. The two-dimensional code according to claim 2 , wherein in the plurality of lines, an interval between the first density region or the second density region in a certain line, and the first density region or the second density region in another line adjacent to the certain line in the second direction is not larger than three times the width in the second direction of the first density region or the second density region. |
| Claim: | 4. The two-dimensional code according to claim 1 , wherein the third density region is formed from an end to the other end, in the first direction, of the second data cell. |
| Claim: | 5. A generation device configured to generate a two-dimensional code, the two-dimensional code comprising a plurality of lines arranged in a second direction at an interval, each line including a plurality of cells that indicate a plurality of bits and are arranged in series in a first direction orthogonal to the second direction, wherein each of the plurality of cells is either a first data cell indicating a first value out of two values that the bits indicate, or a second data cell indicating a second value out of the two values that the bits indicate, the first data cell includes a first density region indicating the first value at a first position in the second direction, the second data cell includes a second density region indicating the second value at the first position, and a third density region adjacent to the second density region in the second direction, a difference in density between the first density region and the second density region is greater than a difference in density between the first density region and the third density region, in each of the plurality of lines, positions of opposite ends, in the second direction, of the first density region are aligned with positions of opposite ends, in the second direction, of the second density region, and the third density region is arranged adjacent to opposite sides, in the second direction, of the second density region, and a width in the second direction of each of the third density regions arranged adjacent to the opposite sides of the second density region is substantially equal to half a width in the second direction of the second density region. |
| Claim: | 6. The generation device according to claim 5 , wherein in the plurality of lines, an interval between the first density region or the second density region in a certain line, and the first density region or the second density region in another line adjacent to the certain line in the second direction is not smaller than twice the width in the second direction of the first density region or the second density region. |
| Claim: | 7. The generation device according to claim 6 , wherein in the plurality of lines, an interval between the first density region or the second density region in a certain line, and the first density region or the second density region in another line adjacent to the certain line in the second direction is not larger than three times the width in the second direction of the first density region or the second density region. |
| Claim: | 8. A two-dimensional code generation method comprising causing a computer to execute a process of generating a two-dimensional code, the two-dimensional code including a plurality of lines arranged in a second direction at an interval, each line including a plurality of cells that indicate a plurality of bits and are arranged in series in a first direction orthogonal to the second direction, wherein each of the plurality of cells is either a first data cell indicating a first value out of two values that the bits indicate, or a second data cell indicating a second value out of the two values that the bits indicate, the first data cell includes a first density region indicating the first value at a first position in the second direction, the second data cell includes a second density region indicating the second value at the first position, and a third density region adjacent to the second density region in the second direction, a difference in density between the first density region and the second density region is greater than a difference in density between the first density region and the third density region, in each of the plurality of lines, positions of opposite ends, in the second direction, of the first density region are aligned with positions of opposite ends, in the second direction, of the second density region, and the third density region is arranged adjacent to opposite sides, in the second direction, of the second density region, and a width in the second direction of each of the third density regions arranged adjacent to the opposite sides of the second density region is substantially equal to half a width in the second direction of the second density region. |
| Claim: | 9. The generation method according to claim 8 , wherein in the plurality of lines, an interval between the first density region or the second density region in a certain line, and the first density region or the second density region in another line adjacent to the certain line in the second direction is not smaller than twice the width in the second direction of the first density region or the second density region. |
| Claim: | 10. The generation method according to claim 9 , wherein in the plurality of lines, an interval between the first density region or the second density region in a certain line, and the first density region or the second density region in another line adjacent to the certain line in the second direction is not larger than three times the width in the second direction of the first density region or the second density region. |
| Claim: | 11. A reading device for reading a two-dimensional code, comprising: an input unit configured to input a captured image of the two-dimensional code; and a processing unit configured to process the captured image, wherein the two-dimensional code includes a plurality of lines arranged in a second direction at an interval, each line including a plurality of cells that indicate a plurality of bits and are arranged in series in a first direction orthogonal to the second direction, each of the plurality of cells is either a first data cell indicating a first value out of two values that the bits indicate, or a second data cell indicating a second value out of the two values that the bits indicate, the first data cell includes a first density region indicating the first value at a first position in the second direction, the second data cell includes a second density region indicating the second value at the first position, and a third density region adjacent to the second density region in the second direction, a difference in density between the first density region and the second density region is greater than a difference in density between the first density region and the third density region, in each of the plurality of lines, positions of opposite ends, in the second direction, of the first density region are aligned with positions of opposite ends, in the second direction, of the second density region, the third density region is arranged adjacent to opposite sides, in the second direction, of the second density region, and a width in the second direction of each of the third density regions arranged adjacent to the opposite sides of the second density region is substantially equal to half a width in the second direction of the second density region, and the processing unit performs preprocessing on the captured image, applies reading positions to the captured image on which the preprocessing has been performed, the reading positions being set in advance at the positions of the first density regions or the second density regions of the cells, and including no third density region, and converts each of pixel values at the applied reading positions in the captured image into the first value or the second value. |
| Claim: | 12. The reading device according to claim 11 , wherein the preprocessing includes detecting the size and arrangement of the two-dimensional code, and converting at least one of the detected size and arrangement according to the reading positions. |
| Claim: | 13. A method for reading a two-dimensional code, wherein the two-dimensional code includes a plurality of lines arranged in a second direction at an interval, each line including a plurality of cells that indicate a plurality of bits and are arranged in series in a first direction orthogonal to the second direction, each of the plurality of cells is either a first data cell indicating a first value out of two values that the bits indicate, or a second data cell indicating a second value out of the two values that the bits indicate, the first data cell includes a first density region indicating the first value at a first position in the second direction, the second data cell includes a second density region indicating the second value at the first position, and a third density region adjacent to the second density region in the second direction, a difference in density between the first density region and the second density region is greater than a difference in density between the first density region and the third density region, in each of the plurality of lines, positions of opposite ends, in the second direction, of the first density region are aligned with positions of opposite ends, in the second direction, of the second density region, and the third density region is arranged adjacent to opposite sides, in the second direction, of the second density region, and a width in the second direction of each of the third density regions arranged adjacent to the opposite sides of the second density region is substantially equal to half a width in the second direction of the second density region, the method causing a computer to execute: performing preprocessing on a captured image of the two-dimensional code; applying reading positions to the captured image on which the preprocessing has been performed, the reading positions being set in advance at the positions of the first density regions or the second density regions of the cells, and including no third density region; and converting each of pixel values at the applied reading positions in the captured image into the first value or the second value. |
| Claim: | 14. The reading method according to claim 13 , wherein the preprocessing includes detecting the size and arrangement of the two-dimensional code, and converting at least one of the detected size and arrangement, according to the reading positions. |
| Patent References Cited: | 6069636 May 2000 Sayuda 7264174 September 2007 Chang et al. 7510125 March 2009 Look 2015/0108220 April 2015 Gu et al. 2015/0302421 October 2015 Caton 2016/0012324 January 2016 Eschbach 2019/0112400 April 2019 Sattler et al. 2021/0103786 April 2021 Yoshida 2022/0261569 August 2022 Taira H09172537 June 1997 H1044506 February 1998 2001169090 June 2001 2008-207362 September 2008 3203889 April 2016 2013168305 November 2013 |
| Other References: | Supplementary European Search Report dated Oct. 14, 2024 issued in corresponding EP 22852948 application (8 pages). cited by applicant International Search Report PCT/JP2022/029207 dated Oct. 18, 2022 (pp. 1-2). cited by applicant Notice of Reasons for Refusal in corresponding Japanese Patent Application No. 2021-127832 dated Oct. 7, 2022 (pp. 1-4) and English translation thereof (pp. 1-4). cited by applicant |
| Assistant Examiner: | Tardif, David |
| Primary Examiner: | Lee, Michael G |
| Attorney, Agent or Firm: | Millen, White, Zelano & Branigan Nixon, William F. |
| Accession Number: | edspgr.12260290 |
| Database: | USPTO Patent Grants |
| Abstract: | A two-dimensional code 100 includes a plurality of lines L arranged in a second direction (X direction) at an interval S, and each line L includes a plurality of cells that indicate a plurality of bits and are arranged in series in a first direction (Y direction) orthogonal to the second direction. Each of the plurality of cells is either a first data cell 101 indicating a first value out of two values that the bits indicate, or a second data cell 102 indicating a second value out of the two values that the bits indicate. The first data cell includes a first density region 103 indicating the first value at a first position in the second direction. The second data cell includes a second density region 104 indicating the second value at the first position, and a third density region 105 adjacent to the second density region in the second direction. A difference in density between the first density region and the second density region is greater than a difference in density between the first density region and the third density region. |
|---|