# US 10,956,697 B2 · Systems and methods for decoding two-dimensional matrix symbols with incomplete or absent fixed patterns

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

- Number: US 10,956,697 B2
- Document ID: US10956697B2
- Status: Granted
- Kind: B2
- Application number: 15/896,197
- Filed: 2018-02-14
- Published: 2018-10-11
- Granted: 2021-03-23
- Earliest claimed: 2014-11-18
- Assignees: Cognex Corporation
- Applicants: Cognex Corporation
- Inventors: Xiangyun Ye; Xianju Wang; James A. Negro
- Web page: https://patentgrep.com/patent/US10956697B2

## CPC

- G06K 7/1443: {locating of the code in an image}
- G06K 7/10732: {Light sources}
- G06K 7/1417: {2D bar codes}
- G06K 7/146: {the method including quality enhancement steps}
- G06K 7/1473: {error correction}
- G06K 7/1491: {the method including a reconstruction step, e.g. stitching two pieces of bar code together to derive the full bar code}
- G06K: GRAPHICAL DATA READING (image or video recognition or understanding G06V); PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS

## Abstract

Systems and methods for reading a two-dimensional matrix symbol or for determining if a two-dimensional matrix symbol is decodable are disclosed. The systems and methods can include a data reading algorithm that receives an image, locates at least a portion of the data modules within the image without using a fixed pattern, fits a model of the module positions from the image, extrapolates the model resulting in predicted module positions, determines module values from the image at the predicted module positions, and extracts a binary matrix from the module values.

## Claims

### Claim 1

A system for reading a two-dimensional matrix symbol including data modules each having a module value and a module position, the two-dimensional matrix symbol encoding a data set, the system comprising:
an imaging device, the imaging device configured to acquire an image containing at least a portion of the two-dimensional matrix symbol;
a processor, the processor operatively coupled to the imaging device, the processor configured to execute a data reading algorithm, wherein the data reading algorithm receives the image, locates at least a portion of the data modules within the image, predicts predicted module positions based on alignment and position of the at least a portion of the data modules, wherein the predicted module positions have sufficient data modules to attempt decoding, determines module values from the image at the predicted module positions, and extracts a binary matrix from the module values; and
a binary matrix decoder operatively coupled to the processor, the binary matrix decoder configured to execute a decoding algorithm that decodes the binary matrix.

### Claim 2 (depends on 1)

The system of claim 1, wherein the data reading algorithm corrects errors in the binary matrix using an error correction routine.

### Claim 3 (depends on 1)

The system of claim 1, wherein the system includes an illuminator that illuminates a target of the image with one or more illumination features.

### Claim 4 (depends on 3)

The system of claim 3, wherein the data reading algorithm uses the illumination features to locate at least a portion of the data modules within the image.

### Claim 5 (depends on 1)

The system of claim 1, wherein locating at least a portion of the data modules includes identifying one or more salient features of the data modules selected from the group consisting of shape, the presence or absence of a saddle, the presence or absence of a corner, the presence or absence of a dot, a gradient, a histogram, a wavelet, and combinations thereof.

### Claim 6 (depends on 1)

The system of claim 1, wherein the processor or binary matrix decoder are configured to extrapolate or decode multiple symbology types.

### Claim 7 (depends on 6)

The system of claim 6, wherein the multiple symbology types are selected from the group consisting of Data Matrix, QR-Code, Aztec Code, MaxiCode, and combinations thereof.

### Claim 8 (depends on 1)

The system of claim 1, wherein the data reading algorithm includes attributes of the two-dimensional matrix symbol.

### Claim 9 (depends on 1)

The system of claim 1, wherein the data reading algorithm can be executed by a single command to the processor.

### Claim 10

A method of reading a two-dimensional matrix symbol including data modules each having a module value and a module position, the two-dimensional matrix symbol encoding a data set, the method comprising:
receiving an image at a processor, the image containing at least a portion of the two-dimensional matrix symbol;
locating, using the processor, at least a portion of the data modules within the image;
predicting, using the processor, predicted module positions based on alignment and position of the at least a portion of the data modules, wherein the predicted module positions have sufficient data modules to attempt decoding;
determining, using the processor, the module values from the image at the predicted module positions;
extracting, using the processor, a binary matrix from the module values; and
decoding the binary matrix.

### Claim 11 (depends on 10)

The method of claim 10, the method further comprising correcting, using the processor, errors in the binary matrix using an error correction routine.

### Claim 12 (depends on 10)

The method of claim 10, the method further comprising illuminating the two-dimensional matrix symbol or a location near the two-dimensional matrix symbol.

### Claim 13 (depends on 10)

The method of claim 10, wherein locating at least a portion of the data modules includes identifying one or more salient features of the data modules selected from the group consisting of shape, the presence or absence of a saddle, the presence or absence of a corner, the presence or absence of a dot, a gradient, a histogram, a wavelet, and combinations thereof.

### Claim 14 (depends on 10)

The method of claim 10, wherein the method includes attempting to extrapolate or decode multiple symbology types.

### Claim 15 (depends on 14)

The method of claim 14, wherein the multiple symbology types are selected from the group consisting of Data Matrix, QR-Code, Aztec Code, MaxiCode, and combinations thereof.

### Claim 16 (depends on 10)

The method of claim 10, the method further comprising training the processor to contain one or more attributes of the two-dimensional matrix symbol prior to receiving the image.

### Claim 17 (depends on 10)

The method of claim 10, wherein the method can be executed by a single command to the processor.

### Claim 18

A system for determining if a two-dimensional matrix symbol is decodable, the two-dimensional matrix symbol including data modules each having a module value and a module position, the system comprising:
an imaging device, the imaging device configured to acquire an image containing the two-dimensional matrix symbol;
a processor, the processor operatively coupled to the imaging device, the processor configured to execute a data reading algorithm, wherein the data reading algorithm receives the image, locates at least a portion of the data modules, predicts predicted module positions based on alignment and position of the at least a portion of the data modules, wherein the predicted module positions have sufficient data modules to attempt decoding, determines module values from the image at the predicted module positions, and extracts a binary matrix from the module values, wherein the data reading algorithm includes a frequency-domain analysis.

### Claim 19 (depends on 18)

The system of claim 18, wherein the data reading algorithm fits the model using a frequency-domain analysis.

### Claim 20 (depends on 18)

The system of claim 18, wherein the system further comprises a binary matrix decoder operatively coupled to the processor, the binary matrix decoder configured to execute a decoding algorithm that decodes the binary matrix.
