# US 2001/0023896 A1 · Techniques for reading two dimensional code, including maxicode

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2001/0023896 A1
- Document ID: US20010023896A1
- Status: Published application
- Kind: A1
- Application number: 09/816,173
- Filed: 2001-03-26
- Published: 2001-09-27
- Earliest claimed: 1998-10-22
- Inventors: Duanfeng He; Kevin Hunter; Eugene Joseph
- Web page: https://patentgrep.com/patent/US20010023896A1

## CPC

- G06K 7/1443: {locating of the code in an image}
- G06K 7/14: using light without selection of wavelength, e.g. sensing reflected white light {(G06K7/10831 - G06K7/1097 take precedence)}
- G06K 7/1456: {determining the orientation of the optical code with respect to the reader and correcting therefore}
- G06K: GRAPHICAL DATA READING (image or video recognition or understanding G06V); PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS

## Abstract

The disclosure relates to techniques for determining the presence, orientation and location of features in an image of a two dimensional optical code. The techniques are adapted for use in mapping data in an image pixel plane with grid locations in a grid-based two dimensional code to account for size, rotation, tilt, warping and distortion of the code symbol. Where such a code is a MaxiCode, techniques are disclosed for determining the presence and location of the MaxiCode bulls-eye, orientation modules, primary data modules and secondary data modules.

## Claims

### Claim 1

A method for determining the presence and location of a MaxiCode symbol bulls-eye and the orientation of the symbol in pixel data obtained by an optical code reader comprising the steps of:
identifying a candidate center in a run of pixels having a color indicative of the center area of the bulls-eye;
testing the candidate center to determine if adjacent pixel runs have a predetermined amount of mirror symmetry with respect to the candidate center;
locating plural points located radially outward of the identified run which points correspond to an edge of a ring of the MaxiCode bulls-eye;
fitting an ellipse to said located points;
expanding the ellipse outwardly to estimate the location of orientation modules of the MaxiCode; and
determining the orientation of the MaxiCode symbol from information read from the orientation modules.

### Claim 2 (depends on 1)

The method of claim 1, wherein the ellipse has major and minor dimensions having a ratio of 2:1 or less.

### Claim 3 (depends on 1)

The method of claim 1, wherein a least squares fit is employed to find the major and minor dimensions of the ellipse fitted to the located points.

### Claim 4 (depends on 3)

The method of claim 3, wherein the ring edge located is the inner edge of the outermost black ring of the MaxiCode bulls-eye.

### Claim 5 (depends on 3)

The method of claim 3, wherein 8 points on the edge of the ring of the MaxiCode bulls-eyes are located and an additional 16 points are identified on the edge, located at angularly adjacent locations on either side of each of the 8 located points and wherein all 24 points are used in the least square fit to find the major and minor dimensions of the ellipse.

### Claim 6

A method for associating pixel data in a pixel plane, obtained by an optical code reader from an image of a two dimensional grid-based symbol, with corresponding modules in the grid, comprising the steps of:
identifying subsets of the pixel data having a known association with plural seed modules;
determining the coefficients of an Euler transform through a least-squares best-fit method using the identified association between the pixel data subsets and the seed modules; and
using the Euler transform to associate other locations in the pixel plane with additional symbol modules.

### Claim 7 (depends on 7)

The method of claim 7, wherein more than six seed modules are employed.

### Claim 8 (depends on 7)

The method of claim 7, wherein the symbol is a MaxiCode symbol and the seed modules are the 18 orientation hexagon modules of the MaxiCode symbol.

### Claim 9 (depends on 6)

The method of claim 6, wherein the grid-based symbol is located, at least in part, outside of any single plane perpendicular to the optical axis of the optical code reader.

### Claim 10

A method of decoding a MaxiCode symbol imaged by an optical code reader, the MaxiCode symbol having a central finder pattern and orientation modules, primary data modules and secondary data modules located on a hexagonal grid, comprising the steps of
locating the central finder pattern;
locating the orientation modules based on the location of the central finder pattern;
locating primary data modules of the MaxiCode based on the determined location of the orientation modules; and
sequentially locating the secondary data modules outwardly from the primary message modules toward the edge of the symbol using previously located positions of adjacent modules.

### Claim 11 (depends on 10)

The method of claim 10, wherein the location of secondary data modules are estimated using the positions of adjacent modules and just past adjacent modules.

### Claim 12 (depends on 10)

The method of claim 10, further comprising the step of refining the location of a first set of secondary data modules by centering black/white transitions before locating a next set of secondary data modules further outward for the central finder pattern.

### Claim 13 (depends on 10)

The method of claim 10, wherein the secondary data modules are located in a successive radial progression of rings of hexagons.

### Claim 14 (depends on 10)

The method of claim 10, wherein deviations from a regular hexagonal grid are accumulated as the location of secondary data modules proceeds outwardly from the central finder pattern.

### Claim 15

A method of determining a candidate location of a MaxiCode symbol bulls-eye center comprising the steps of:
(a) locating a first sequence of plural adjacent pixel runs along a horizontal axis, the runs in the sequence having alternating colors;
(b) determining whether the lengths of the located horizontal pixel runs have a predetermined proportionate relationship;
(c) locating a second sequence of plural, adjacent pixel runs having alternating colors along a second axis running through the center of the central horizontal run and not parallel with the horizontal axis;
(d) determining whether the lengths of the pixel runs of the second sequence have a predetermined proportionate relationship with respect to a central run; and
(e) identifying a candidate location of a MaxiCode symbol bulls-eye center based on a positive determination in step (d).

### Claim 16 (depends on 15)

The method of claim 15, wherein the first sequence is selected so that it has nine runs, the runs in the sequence being alternating black and white runs, first of which is white.

### Claim 17 (depends on 15)

The method of claim 15, further comprising the step of using the candidate location determined in step (e) to define new axes along which new sequences of pixel runs are evaluated to determine whether the runs have a predetermined proportionate relationship.

### Claim 18 (depends on 17)

The method of claim 17, further comprising the step of determining whether the lengths of sequences of runs which run in different directions have a predetermined proportionate relationship.

### Claim 19 (depends on 15)

The method of claim 15, wherein the predetermined proportionate relationship with respect to the central run is one in which pixel runs on both sides of the central run have lengths between one-half and twice the length of the central run.
