2D Barcode Decoding With Hypothesis Grouping Under Image Distortion

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing barcode decoding technologies struggle with images of reduced quality, perspective distortions, and obscured symbols, making it difficult to accurately decode one-dimensional and two-dimensional barcodes under unfavorable conditions.

Innovation Solution

The implementation employs histogram analysis and neural networks to identify and group barcode lines, estimate module sizes, and construct hypotheses for decoding, while correcting geometric distortions and improving image quality using techniques such as binarization and grid alignment.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional barcode decoding methods are used, then decoding speed is maintained, but decoding accuracy deteriorates under unfavorable conditions such as reduced image quality, perspective distortions, and obscured symbols

Engineering Contradiction:
Improvedecoding accuracyVSAvoidperformance under unfavorable conditions
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

The barcode image is segmented into multiple candidate symbols through hypothesis generation, where each hypothesis represents a different grouping of pixel lines into symbols. This segmentation allows the system to evaluate multiple possible interpretations of the barcode structure simultaneously, improving accuracy under unfavorable conditions by selecting the most likely hypothesis based on similarity factors.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system changes parameters by generating multiple hypotheses with different groupings of pixel lines and evaluating each using similarity factors. By varying the hypothesis parameters (grouping configurations) and selecting based on aggregated similarity factors, the system maintains high decoding accuracy even when image quality is reduced or symbols are obscured.

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If multiple hypotheses are generated and evaluated using similarity factors, then decoding accuracy improves under unfavorable conditions, but computational complexity increases

Engineering Contradiction:
Improvedecoding accuracyVSAvoidcomputational complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system applies partial action by generating multiple hypotheses but not exhaustively evaluating all possible groupings. Instead, it generates a manageable set of candidate hypotheses and evaluates them using similarity factors, selecting the preferred hypothesis based on aggregated scores. This approach achieves high accuracy without the excessive computational burden of exhaustive search.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The system substitutes traditional mechanical or rule-based barcode decoding with a hypothesis-based evaluation system that uses similarity factors and aggregated scoring. This replacement allows for more flexible and accurate decoding under varying conditions while managing computational complexity through efficient hypothesis generation and evaluation mechanisms.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

3Reliability

If histogram analysis and neural networks are used to identify and group barcode lines, then decoding reliability improves in adverse conditions, but processing time increases

Engineering Contradiction:
Improvedecoding reliabilityVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs preliminary action by using histogram analysis to identify pixel line characteristics and using neural networks to pre-process and group lines into candidate symbols before full hypothesis evaluation. This preliminary processing organizes the data in advance, making the subsequent hypothesis generation and similarity factor calculation more efficient, thus reducing overall processing time while maintaining high reliability.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The neural network acts as an intermediary between raw pixel data and hypothesis evaluation. It processes the barcode image to identify and group pixel lines into candidate symbols, providing a structured intermediate representation that facilitates more efficient hypothesis generation and evaluation, thereby balancing reliability improvement with processing time management.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS20260004096A1Decoding of two-dimensional barcodes under unfavorable conditions
Publication Date: 2026.01.01 ABBYY DEVELOPMENT INC
  • US20260004096A1 patent drawing
  • US20260004096A1 patent drawing
  • US20260004096A1 patent drawing

AI summary

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.