# US 12,762,366 B2 · Smart barcode detection

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

- Number: US 12,762,366 B2
- Document ID: US12762366B2
- Status: Granted
- Kind: B2
- Application number: 19/065,614
- Filed: 2025-02-27
- Published: 2025-08-28
- Granted: 2026-10-13
- Earliest claimed: 2024-02-27
- Assignees: Scandit AG
- Applicants: Scandit AG
- Inventors: Marco Biasini; Andrea Gambini; Daniel Scherly; Flavio Zuffa
- Web page: https://patentgrep.com/patent/US12762366B2

## CPC

- G06K 7/1443: {locating of the code in an image}
- G06K 7/1447: {extracting optical codes from image or text carrying said optical code}
- G06T 7/20: Analysis of motion (motion estimation for coding, decoding, compressing or decompressing digital video signals H04N19/43, H04N19/51)
- G06V 10/761: {Proximity, similarity or dissimilarity measures}
- H04N 5/265: Mixing
- G06K: GRAPHICAL DATA READING (image or video recognition or understanding G06V); PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Smart barcode detection can include capturing, using a camera, a plurality of images of a real scene comprising a plurality of optical patterns. A score may be calculated for each of the plurality of images for comparing scores for each of the plurality of images to a threshold value. Based on the first image having a score that meets or exceeds the threshold value, detecting the first optical pattern and the second optical pattern in the first image and calculating an optical-pattern score for the first optical pattern in the first image. The first optical pattern may be decoded after detecting the plurality of optical patterns in the first image based on the optical-pattern score and without decoding the second optical pattern.

## Claims

### Claim 1

A system comprising:
a camera;
a display;
one or more processors; and
one or more computer readable storage media storing instructions that, when executed by the one or more processors, cause the one or more processors to perform operations comprising:
capturing, using the camera, a plurality of images of a real scene comprising a plurality of optical patterns, wherein the plurality of optical patterns comprises a first optical pattern and a second optical pattern;
calculating a similarity score for each of the plurality of images;
comparing similarity scores for each of the plurality of images to a threshold value;
selecting a first image, from the plurality of images, based on the first image having a similarity score that meets or exceeds the threshold value;
detecting the first optical pattern and the second optical pattern in the first image;
calculating an optical-pattern score for the first optical pattern in the first image;
decoding the first optical pattern, after detecting the first optical pattern and the second optical pattern in the first image, based on the optical-pattern score and without decoding the second optical pattern, so that the first optical pattern is the only pattern of the plurality of optical patterns decoded in the first image; and
presenting, after decoding the first optical pattern, on the display a second image and a graphical overlay on the second image that indicates that the first optical pattern was decoded.

### Claim 2 (depends on 1)

The system of claim 1, wherein:
the plurality of images is a first plurality of images;
the threshold value is a first threshold value; and
the operations further comprise:
capturing a second plurality of images using the camera, after decoding the first optical pattern in the first image, wherein the second plurality of images comprise the first optical pattern;
tracking the first optical pattern in the second plurality of images;
presenting the second plurality of images on the display with the graphical overlay, without decoding the first optical pattern in the second plurality of images, based on tracking the first optical pattern in the second plurality of images;
calculating similarity scores for each of the second plurality of images;
comparing the similarity scores for each of the second plurality of images to a second threshold value; and
not decoding the first optical pattern in the second plurality of images based on similarity scores for each of the plurality of images meeting or exceeding the second threshold value.

### Claim 3 (depends on 1)

The system of claim 1, wherein the optical-pattern score is based on a size of the first optical pattern in the first image or on a distance from a configurable point of the first image.

### Claim 4 (depends on 1)

The system of claim 1, wherein:
the threshold value is a first threshold value; and
the operations further comprise:
identifying a subset of images of the plurality of images having similarity scores that meet or exceed the first threshold value;
calculating image scores for each image of the subset of images;
comparing the image scores for each image of the subset of images to a second threshold value; and
selecting the first image based on an image score of the first image meeting or exceeding the second threshold value.

### Claim 5

A method comprising:
capturing, using a camera, a plurality of images of a real scene comprising a plurality of optical patterns, wherein the plurality of optical patterns comprises a first optical pattern and a second optical pattern;
calculating a similarity score for each of the plurality of images;
comparing similarity scores for each of the plurality of images to a threshold value;
selecting a first image, from the plurality of images, based on the first image having a similarity score that meets or exceeds the threshold value;
detecting the first optical pattern and the second optical pattern in the first image;
calculating an optical-pattern score for the first optical pattern in the first image;
decoding the first optical pattern, after detecting the first optical pattern and the second optical pattern in the first image, based on the optical-pattern score and without decoding the second optical pattern; and
presenting, after decoding the first optical pattern, on a display a second image and a graphical overlay on the second image to indicate that indicates that the first optical pattern was decoded.

### Claim 6 (depends on 5)

The method of claim 5, wherein:
the plurality of images is a first plurality of images;
the threshold value is a first threshold value; and
the method further comprises:
capturing a second plurality of images using the camera, after decoding the first optical pattern in the first image, wherein the second plurality of images comprise the first optical pattern;
calculating similarity scores for each of the second plurality of images;
comparing the similarity scores for each of the second plurality of images to a second threshold value; and
not decoding the first optical pattern in the second plurality of images based on the similarity scores for each of the plurality of images meeting or exceeding the second threshold value.

### Claim 7 (depends on 6)

The method of claim 6, wherein the second threshold value is the same as the first threshold value.

### Claim 8 (depends on 6)

The method of claim 6, the method further comprising:
tracking the first optical pattern in the second plurality of images; and
presenting the second plurality of images on the display with the graphical overlay, without decoding the first optical pattern or other optical patterns in the second plurality of images.

### Claim 9 (depends on 5)

The method of claim 5, wherein:
the plurality of images is a first plurality of images; and
the method further comprises:
capturing a second plurality of images using the camera, after decoding the first optical pattern in the first image, wherein the second plurality of images comprise the first optical pattern;
tracking the first optical pattern in the second plurality of images; and
presenting the second plurality of images on the display with the graphical overlay, without decoding the first optical pattern in the second plurality of images, based on tracking the first optical pattern in the second plurality of images.

### Claim 10 (depends on 5)

The method of claim 5, wherein the optical-pattern score is based on a size of the first optical pattern in the first image.

### Claim 11 (depends on 5)

The method of claim 5, wherein the optical-pattern score is based on a distance from a configurable point of the first image.

### Claim 12 (depends on 11)

The method of claim 11, the method further comprising:
calculating an optical-pattern score for the second optical pattern, based on how far the second optical pattern is from the configurable point of the first image;
comparing the optical-pattern score of the first optical pattern to the optical-pattern score of the second optical pattern;
ascertaining that the first optical pattern is closer to the configurable point of the first image than the second optical pattern based on comparing the optical-pattern score of the first optical pattern to the optical-pattern score of the second optical pattern; and
decoding the first optical pattern and not the second optical pattern in the first image based on the first optical pattern being closer to the configurable point of the first image than the second optical pattern.

### Claim 13 (depends on 5)

The method of claim 5, wherein:
the threshold value is a first threshold value; and
the method further comprises:
identifying a subset of images of the plurality of images having similarity scores that meet or exceed the first threshold value;
calculating image scores for each image of the subset of images;
comparing the image scores for each image of the subset of images to a second threshold value; and
selecting the first image based on an image score of the first image meeting or exceeding the second threshold value.

### Claim 14 (depends on 13)

The method of claim 13, wherein the second threshold value drops as more time passes without identifying an image of the subset of images having an image score that exceeds the second threshold value.

### Claim 15 (depends on 13)

The method of claim 13, wherein image score is based on how far an optical pattern of the plurality of optical patterns is from a center of an image, with a higher value for at least one optical pattern being closer to the center of the image.

### Claim 16 (depends on 5)

The method of claim 5, wherein the first optical pattern is in a group of optical patterns that are decoded.

### Claim 17 (depends on 5)

The method of claim 5, wherein:
the plurality of optical patterns comprises three or more optical patterns that are detected in the first image; and
the first optical pattern is the only pattern of the plurality of optical patterns decoded in the first image.

### Claim 18

A memory device comprising instructions that, when one or more computer readable storage media storing instructions that, when executed by one or more processors, cause the one or more processors to perform operations comprising:
capturing, using a camera, a plurality of images of a real scene comprising a plurality of optical patterns, wherein the plurality of optical patterns comprises a first optical pattern and a second optical pattern;
calculating a similarity score for each of the plurality of images;
comparing similarity scores for each of the plurality of images to a threshold value;
selecting a first image, from the plurality of images, based on the first image having a similarity score that meets or exceeds the threshold value;
detecting the first optical pattern and the second optical pattern in the first image;
calculating an optical-pattern score for the first optical pattern in the first image;
decoding the first optical pattern, after detecting the first optical pattern and the second optical pattern in the first image, based on the optical-pattern score and without decoding the second optical pattern; and
presenting, after decoding the first optical pattern, on a display a second image and a graphical overlay on the second image that indicates that the first optical pattern was decoded.

### Claim 19 (depends on 18)

The memory device of claim 18, wherein the optical-pattern score is based on a distance from a configurable point of the first image.

### Claim 20 (depends on 18)

The memory device of claim 18, wherein:
the plurality of images is a first plurality of images;
the threshold value is a first threshold value; and
the operations further comprises:
capturing a second plurality of images using the camera, after decoding the first optical pattern in the first image, wherein the second plurality of images comprise the first optical pattern;
calculating similarity scores for each of the second plurality of images;
comparing the similarity scores for each of the second plurality of images to a second threshold value; and
not decoding the first optical pattern in the second plurality of images based on the similarity scores for each of the plurality of images meeting or exceeding the second threshold value.
