Patent ID: 8434690

Claim:
A two-dimensional code to be decoded by a decoder, comprising: a rectangular region delineated on an object by a border consisting of four border lines connected with each other to provide a rectangular region with four corners; a plurality of code blocks each composed of a plurality of cells aggregated together and arranged in the rectangular region; and a single first specific pattern used to specify positions of the cells, the first specific pattern having edges and being located at one of the corners such that the edges of the first specific pattern occupy at least a part of each of two border lines of the border lines, wherein the plurality of code blocks include data code blocks in which data are encoded and error-correction code blocks to correct an error of the data, the error-correction code blocks having edges and being arranged continuously along and contiguously to a remaining part of the border lines, the remaining part of the border lines being other than the edges of the first specific pattern which partially occupy the one or more border lines, the edges of the error-correction code blocks having outer edges forming all the remaining part of the border lines, the data code blocks being arranged to be surrounded by the error-correction code blocks in the rectangular region.