Barcode Detection Width Calibration via Gradient Vector Analysis
Find Innovative SolutionsGenerate 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
Engineering 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
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.
2Measurement precision
If the rotation angle is calibrated by scanning multiple directions, then the detection accuracy improves, but the computation load and time increase
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.
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.
Data Source
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.


