Barcode Detection Width Calibration via Gradient Vector Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing barcode detection devices face errors due to uncalibrated rotation angles, leading to incorrect width detection and potential misrecognition of barcodes, especially when the sensor is not steady during scanning.

Innovation Solution

An optical barcode detection device that calculates a gradient vector of the barcode to determine the rotation angle and scan direction, using an image sensor and processor to capture images, calculate gradient directions, and calibrate the scanned width, thereby reducing computation load and preventing errors.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If the sensor detects barcode with rotation angle without calibration, then the detection process is simple and fast, but the detected bar width becomes incorrect leading to recognition errors

Engineering Contradiction:
Improvedetection speedVSAvoidbar width detection accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent applies preliminary action by calculating the gradient direction of the barcode pattern before performing width detection. The processor determines the rotation angle through gradient analysis in advance, then uses this calibration information to correct the detected bar widths. This preliminary calibration step ensures accurate width measurement while maintaining efficient detection flow.

Inventive Principle:
Principle #10Preliminary action

2Measurement precision

If the rotation angle is calibrated by scanning multiple directions, then the detection accuracy improves, but the computation load and time increase

Engineering Contradiction:
Improverotation angle calibration accuracyVSAvoidcomputation load
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent extracts only the essential gradient direction information from the barcode image using gradient calculation algorithms. Instead of performing full multi-directional scanning, the system extracts the dominant gradient orientation that indicates rotation angle, significantly reducing computation while maintaining calibration accuracy.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent changes the detection parameter from multiple directional scans to a single gradient direction calculation. By transforming the problem from scanning multiple angles to computing gradient orientation directly, the system achieves accurate rotation angle calibration with reduced computational complexity.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11829836B2Barcode detection device with width calibration
Publication Date: 2023.11.28 PIXART IMAGING INC
  • US11829836B2 patent drawing
  • US11829836B2 patent drawing
  • US11829836B2 patent drawing

AI summary

There is provided a barcode detection device including an image sensor and a processor. The image sensor captures an image frame of a barcode. The processor calculates a gradient vector of bars of the barcode in the image frame for determining a rotation angle of the image sensor. The rotation angle is used to calibrate a detected bar width.