# US 2017/0286732 A1 · Barcode-reading system that obtains ranging data via targeting illumination

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

- Number: US 2017/0286732 A1
- Document ID: US20170286732A1
- Status: Published application
- Kind: A1
- Application number: 15/621,239
- Filed: 2017-06-13
- Published: 2017-10-05
- Earliest claimed: 2014-06-13
- Assignees: The Code Corporation
- Applicants: The Code Corporation
- Inventors: Ming Lei; George Powell
- Web page: https://patentgrep.com/patent/US20170286732A1

## CPC

- G06K 7/10722: {Photodetector array or CCD scanning}
- G06F 16/9554: {by using bar codes}
- G06K 7/10732: {Light sources}
- G06K 7/10831: {Arrangement of optical elements, e.g. lenses, mirrors, prisms (optical elements per se G02B)}
- G06K 7/10881: {constructional details of hand-held scanners}
- G06K 7/1413: {1D bar codes}
- G06K 7/1417: {2D bar codes}
- G06K 7/1447: {extracting optical codes from image or text carrying said optical code}
- G06K 7/1478: {adapting the threshold for pixels in a CMOS or CCD pixel sensor for black and white recognition}
- G06K 19/06028: {using bar codes}
- H04W 88/02: Terminal devices
- G06K: GRAPHICAL DATA READING (image or video recognition or understanding G06V); PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

A barcode-reading system may include a barcode-reading enhancement accessory that is securable to a mobile device. The accessory may include an optic system that is configured to shape and filter illumination from a white light source of the mobile device to project targeting illumination onto a target surface. Calibration data may indicate a relationship between surface distance and at least one feature offset of the targeting illumination. A barcode-reading application may determine a feature offset of the targeting illumination in an image that is captured by the camera assembly of the mobile device. The application may also determine an estimated surface distance based on the calibration data and the feature offset. The application may also use the estimated surface distance to adjust at least one operating parameter of the mobile device.

## Claims

### Claim 1

A barcode-reading system for a mobile device, the mobile device comprising a camera assembly and a white light source for providing illumination, the barcode-reading system comprising:
a barcode-reading enhancement accessory securable to the mobile device, the barcode-reading enhancement accessory comprising an optic system that is positionable within a field of illumination of the white light source when the barcode-reading enhancement accessory is secured to the mobile device, the optic system being configured to shape and filter the illumination from the white light source to project targeting illumination onto a target surface;
calibration data that indicates a relationship between surface distance and at least one feature offset of the targeting illumination; and
a barcode-reading application stored in memory of the mobile device, the barcode-reading application being executable by a processor of the mobile device to:
determine a feature offset of the targeting illumination in an image that is captured by the camera assembly of the mobile device;
determine an estimated surface distance based on the calibration data and the feature offset; and
use the estimated surface distance to adjust at least one operating parameter of the mobile device.

### Claim 2 (depends on 1)

The barcode-reading system of claim 1, wherein adjusting the at least one operating parameter of the mobile device comprises adjusting intensity of the illumination provided by the white light source of the mobile device.

### Claim 3 (depends on 1)

The barcode-reading system of claim 1, wherein:
the targeting illumination comprises a rectangular targeting bar; and
determining the feature offset comprises determining a width of the rectangular targeting bar.

### Claim 4 (depends on 1)

The barcode-reading system of claim 1, wherein:
the optic system comprises an optical filter that is configured to pass a limited spectrum of the illumination emitted by the white light source;
the image comprises a plurality of channel images;
a channel image of the plurality of channel images is used to determine the feature offset of the targeting illumination; and
the channel image is more sensitive to the limited spectrum that is passed by the optical filter than other channel images of the plurality of channel images.

### Claim 5 (depends on 1)

The barcode-reading system of claim 1, wherein:
the calibration data comprises a plurality of surface distance fields and a plurality of feature offset fields; and
each feature offset field is associated with a corresponding surface distance field.

### Claim 6 (depends on 1)

The barcode-reading system of claim 1, wherein determining the estimated surface distance comprises:
identifying a feature offset field whose value is closest to the feature offset in the image; and
returning a value of a corresponding surface distance field as the estimated surface distance.

### Claim 7 (depends on 1)

The barcode-reading system of claim 1, wherein determining the estimated surface distance comprises interpolating the estimated surface distance using the calibration data and the feature offset in the image.

### Claim 8 (depends on 1)

The barcode-reading system of claim 1, wherein the calibration data comprises a plurality of records, and wherein each record comprises:
a surface distance field that indicates a surface distance;
a first location field that indicates a location of a first feature of the targeting illumination in a calibration image taken at the surface distance;
a second location field that indicates a location of a second feature of the targeting illumination in the calibration image; and
a feature offset field indicating a difference between the location of the first feature of the targeting illumination in the calibration image and the location of the second feature of the targeting illumination in the calibration image.

### Claim 9 (depends on 1)

The barcode-reading system of claim 1, wherein the calibration data comprises a mathematical formula that:
receives, as an input, the feature offset of the targeting illumination; and
provides, as output, the estimated surface distance.

### Claim 10 (depends on 1)

The barcode-reading system of claim 1, wherein the barcode-reading application is configured to:
cause the camera assembly to capture a plurality of calibration images; and
record information about the plurality of calibration images in the calibration data.

### Claim 11

A barcode-reading application for a mobile device that comprises a processor, memory, a camera assembly, and a white light source for emitting illumination, the barcode-reading application comprising executable code that, when stored in the memory and executed by the processor:
determines a feature offset of targeting illumination in an image that is captured by the camera assembly of the mobile device, wherein the targeting illumination is produced by an optic system of a barcode-reading enhancement accessory that is secured to the mobile device;
determines an estimated surface distance based on calibration data and the feature offset; and
uses the estimated surface distance to adjust at least one operating parameter of the mobile device.

### Claim 12 (depends on 11)

The barcode-reading application of claim 11, wherein adjusting the at least one operating parameter of the mobile device comprises adjusting intensity of the illumination provided by the white light source of the mobile device.

### Claim 13 (depends on 11)

The barcode-reading application of claim 11, wherein:
the targeting illumination comprises a rectangular targeting bar; and
determining the feature offset comprises determining a width of the rectangular targeting bar.

### Claim 14 (depends on 11)

The barcode-reading application of claim 11, wherein:
the optic system comprises an optical filter that is configured to pass a limited spectrum of the illumination emitted by the white light source;
the image comprises a plurality of channel images;
a channel image of the plurality of channel images is used to determine the feature offset of the targeting illumination; and
the channel image is more sensitive to the limited spectrum that is passed by the optical filter than other channel images of the plurality of channel images.

### Claim 15 (depends on 11)

The barcode-reading application of claim 11, wherein:
the calibration data comprises a plurality of surface distance fields and a plurality of feature offset fields; and
each feature offset field is associated with a corresponding surface distance field.

### Claim 16 (depends on 11)

The barcode-reading application of claim 11, wherein determining the estimated surface distance comprises:
identifying a feature offset field whose value is closest to the feature offset in the image; and
returning a value of a corresponding surface distance field as the estimated surface distance.

### Claim 17 (depends on 11)

The barcode-reading application of claim 11, wherein determining the estimated surface distance comprises interpolating the estimated surface distance using the calibration data and the feature offset in the image.

### Claim 18 (depends on 11)

The barcode-reading application of claim 11, wherein the calibration data comprises a plurality of records, and wherein each record comprises:
a surface distance field that indicates a surface distance;
a first location field that indicates a location of a first feature of the targeting illumination in a calibration image taken at the surface distance;
a second location field that indicates a location of a second feature of the targeting illumination in the calibration image; and
a feature offset field indicating a difference between the location of the first feature of the targeting illumination in the calibration image and the location of the second feature of the targeting illumination in the calibration image.

### Claim 19 (depends on 11)

The barcode-reading application of claim 11, wherein the calibration data comprises a mathematical formula that:
receives, as an input, the feature offset of the targeting illumination; and
provides, as output, the estimated surface distance.

### Claim 20 (depends on 11)

The barcode-reading application of claim 11, wherein the executable code, when stored in the memory and executed by the processor:
causes the camera assembly to capture a plurality of calibration images; and
records information about the plurality of calibration images in the calibration data.
