hottub.patents
US 12,373,659 B2#3483727 Most CitedActiveUnited States (USPTO)Utility

Decoding of linear barcodes under unfavorable conditions

0Forward Citations (#3483727 Global)
0.0/yrCitation Velocity (#3483727 Global)
0.00Citation PageRank (#3483727 Global)
9Prior Art Cited
20Claims (3 Indep. · 17 Dep.)
21Drawings / Sheets

Abstract

Aspects and implementations provide for mechanisms of detection and decoding of barcodes in images. The disclosed techniques include estimating dimensions of a module of a barcode based on geometric characteristics of a barcode image, forming hypotheses that group modules into barcode symbols, and assessing viability of formed hypotheses. Various operations of the techniques may involve the use of neural networks, including estimation of module dimensions and assessment of groupings of modules into lines and lines into barcode symbols. The techniques may be used for decoding of barcodes captured in images of unfavorable conditions, including blur, perspective, sub-optimal lighting, barcode deformation, and the like. The techniques may be applied to decoding linear one-dimensional barcodes, two-dimensional barcodes, and stacked linear barcodes.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 0.

Claims (20 — 3 Independent, 17 Dependent)

  1. Claim 1Independent Claim

    A method comprising: identifying, based on a histogram of pixel intensities for a barcode image (BI), a set of lines of the BI; generating one or more hypotheses, each hypothesis grouping the set of lines of the BI into a plurality of candidate symbols; determining, for each of the one or more hypotheses, a plurality of similarity factors (SFs), wherein each SF characterizes similarity of a respective candidate symbol of the plurality of candidate symbols to one of a set of barcode reference symbols; selecting, using one or more pluralities of SFs determined for the one or more hypotheses, a final hypothesis; and decoding the BI using the final hypothesis.

  2. Claim 2Depends on #1

    The method of claim 1, wherein the one or more hypotheses comprise a hypothesis with one or more lines of the set of lines of the BI removed.

  3. Claim 3Depends on #2

    The method of claim 2, wherein the one or more removed lines comprise at least one line that is adjacent to an edge of the BI.

  4. Claim 4Depends on #1

    The method of claim 1, wherein selecting the final hypothesis comprises: estimating, for an individual hypothesis of the one or more hypotheses, a plurality of module widths; and evaluating viability of the individual hypothesis based at least on the plurality of module widths.

  5. Claim 5Depends on #4

    The method of claim 4, wherein evaluating viability of the individual hypothesis comprises: computing a ratio of at least two module widths of the plurality of module widths; and determining, using the computed ratio, whether the individual hypothesis is to be retained or eliminated.

  6. Claim 6Depends on #1

    The method of claim 1, wherein determining the plurality of SFs for an individual hypothesis comprises: transforming a candidate symbol of the plurality of candidate symbols of the individual hypothesis, by at least one of shifting of the candidate symbol or rescaling the candidate symbol; and determining the SF for the transformed candidate symbol based on a degree of correlation of the transformed candidate symbol to a barcode reference symbol.

  7. Claim 7Depends on #1

    The method of claim 1, wherein selecting the final hypothesis comprises: aggregating, for an individual hypothesis of the one or more hypotheses, the plurality of SFs determined for the individual hypothesis to obtain an aggregated SF; and selecting the final hypothesis based on the aggregated SFs.

  8. Claim 8Independent Claim

    A system comprising: a memory; and a processing device operatively coupled to the memory, the processing device to: identify, based on a histogram of pixel intensities for a barcode image (BI), a set of lines of the BI; generate one or more hypotheses, each hypothesis grouping the set of lines of the BI into a plurality of candidate symbols; determine, for each of the one or more hypotheses, a plurality of similarity factors (SFs), wherein each SF characterizes similarity of a respective candidate symbol of the plurality of candidate symbols to one of a set of barcode reference symbols; select, using one or more pluralities of SFs determined for the one or more hypotheses, a final hypothesis; and decode the BI using the final hypothesis.

  9. Claim 9Depends on #8

    The system of claim 8, wherein the one or more hypotheses comprise a hypothesis with one or more lines of the set of lines of the BI removed.

  10. Claim 10Depends on #9

    The system of claim 9, wherein the one or more removed lines comprise at least one line that is adjacent to an edge of the BI.

  11. Claim 11Depends on #9

    The system of claim 9, wherein to select the final hypothesis, the processing device is to: estimate, for an individual hypothesis of the one or more hypotheses, a plurality of module widths; and evaluate viability of the individual hypothesis based at least on the plurality of module widths.

  12. Claim 12Depends on #11

    The system of claim 11, wherein to evaluate viability of the individual hypothesis, the processing device is to: compute a ratio of at least two module widths of the plurality of module widths; and determine, using the computed ratio, whether the individual hypothesis is to be retained or eliminated.

  13. Claim 13Depends on #9

    The system of claim 9, wherein to determine the plurality of SFs for an individual hypothesis, the processing device is to: transform a candidate symbol of the plurality of candidate symbols of the individual hypothesis, by at least one of shifting of the candidate symbol or rescaling the candidate symbol; and determine the SF for the transformed candidate symbol based on a degree of correlation of the transformed candidate symbol to a barcode reference symbol.

  14. Claim 14Depends on #9

    The system of claim 9, wherein to select the final hypothesis, the processing device is to: aggregate, for an individual hypothesis of the one or more hypotheses, the plurality of SFs determined for the individual hypothesis to obtain an aggregated SF; and select the final hypothesis based on the aggregated SFs.

  15. Claim 15Independent Claim

    A non-transitory machine-readable storage medium storing instructions that, when accessed by a processing device, cause the processing device to: identify, based on a histogram of pixel intensities for a barcode image (BI), a set of lines of the BI; generate one or more hypotheses, each hypothesis grouping the set of lines of the BI into a plurality of candidate symbols; determine, for each of the one or more hypotheses, a plurality of similarity factors (SFs), wherein each SF characterizes similarity of a respective candidate symbol of the plurality of candidate symbols to one of a set of barcode reference symbols; select, using one or more pluralities of SFs determined for the one or more hypotheses, a final hypothesis; and decode the BI using the final hypothesis.

  16. Claim 16Depends on #15

    The non-transitory machine-readable storage medium of claim 15, wherein the one or more hypotheses comprise a hypothesis with one or more lines of the set of lines of the BI removed.

  17. Claim 17Depends on #16

    The non-transitory machine-readable storage medium of claim 16, wherein to select the final hypothesis, the processing device is to: estimate, for an individual hypothesis of the one or more hypotheses, a plurality of module widths; and evaluate viability of the individual hypothesis based at least on the plurality of module widths.

  18. Claim 18Depends on #17

    The non-transitory machine-readable storage medium of claim 17, wherein to evaluate viability of the individual hypothesis, the processing device is to: compute a ratio of at least two module widths of the plurality of module widths; and determine, using the computed ratio, whether the individual hypothesis is to be retained or eliminated.

  19. Claim 19Depends on #15

    The non-transitory machine-readable storage medium of claim 15, wherein to determine the plurality of SFs for an individual hypothesis, the processing device is to: transform a candidate symbol of the plurality of candidate symbols of the individual hypothesis, by at least one of shifting of the candidate symbol or rescaling the candidate symbol; and determine the SF for the transformed candidate symbol based on a degree of correlation of the transformed candidate symbol to a barcode reference symbol.

  20. Claim 20Depends on #15

    The non-transitory machine-readable storage medium of claim 15, wherein to select the final hypothesis, the processing device is to: aggregate, for an individual hypothesis of the one or more hypotheses, the plurality of SFs determined for the individual hypothesis to obtain an aggregated SF; and select the final hypothesis based on the aggregated SFs.

Technical Overview & Description

RELATED APPLICATIONS This application is a continuation application of co-pending U.S. patent application Ser. No. 17/744,899, entitled “ DECODING OF LINEAR BARCODES UNDER UNFAVORABLE CONDITIONS, ” filed May 16, 2022, the entire contents of which are incorporated herein by reference. TECHNICAL FIELD The implementations of the disclosure relate generally to computer systems and, more specifically, to systems and methods for detecting and decoding multiple types of barcodes that may be captured in images with varying, and often suboptimal, quality. BACKGROUND Barcodes contain encoded messages that are often placed on various products, product packaging, product advertising, product shipping labels, and the like. Messages in barcodes are encoded via a series of lines of varying width (one-dimensional or 1D barcodes) or a series of planar shapes (two-dimensional or 2D barcodes). Linear 1D barcodes typically encode a limited amount of (often numerical) information whereas 2D barcodes can encode larger amounts of data (numbers and/or letters/glyphs/etc.) since both dimensions (e.g., vertical and horizontal) can be used for storing a greater variety and quantity of barcode symbols. SUMMARY OF THE DISCLOSURE Implementations of the present are directed to barcode decoding techniques that are resilient under unfavorable conditions, including barcode images of reduced quality, perspective distortions, missing and/or obscured barcode symbols, sub-optimal lighting (e.g., low light or glare) conditions, and so on. The disclosed techniques apply to multiple types of barcodes, including various one-dimensional (linear) and two-dimensional (matrix or stacked linear) barcodes. In one implementation, a method of the disclosure includes obtaining a histogram of pixel intensities for a barcode image (BI), the histogram comprising a plurality of intensity values, each of the plurality of intensity values characterizing an appearance of a pixel column of a plurality of pixel columns of th

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (9)

PatentTitleYearCitations

Non-Patent Literature (10)

  • Katona M., et al.,
  • “
  • Distance Transform and Template Matching Based Methods for Localization of Barcodes and QR Codes,
  • ”
  • Computer Science and Information Systems, Sep. 10, 2019, vol. 17 (1), pp. 161-179.
  • Svarnovics V.,
  • “
  • DataMatrix Barcode Read Rate Improvement Using Image Enhancement,
  • ”
  • Department of Computer Vision and Biometrics, University of Twente, 2021, pp. 1-13.