Two-Dimensional Code Recognition via Region Separation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing two-dimensional code recognition methods face errors and reduced efficiency due to the conversion of shape and position, especially when images are inserted into the encoding region, leading to blocked code elements and increased error correction needs.
Innovation Solution
A method and apparatus for recognizing two-dimensional codes that select pixels from a non-overlapping image and encoding region, determining the value of code elements in the encoding region, and recognizing the code without the need for normalization, allowing for efficient identification by separating the image and encoding regions and using a radial distribution of strip-shaped regions.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Manufacturing precision
If normalization operation is performed on the two-dimensional code to map it into a standard rectangular image, then the code structure is standardized for recognition, but the probability of error increases due to multiple conversion operations
Solution Approach 1:
The patent divides the two-dimensional code into distinct functional regions: an image region for storing graphical information and an encoding region for storing data codewords. This segmentation allows the encoding region to be processed independently without requiring normalization of the entire code, thereby reducing conversion operations and maintaining recognition accuracy while still enabling standardization of the data-containing region.
2Adaptability or versatility
If images are inserted into the encoding region of the two-dimensional code, then the visual appeal and information capacity are enhanced, but code elements are blocked and error correction needs increase
Solution Approach 1:
The patent extracts the image storage function from the encoding region by creating a separate image region. The encoding region is reserved exclusively for data codewords without image insertion, while the image region stores graphical information independently. This extraction eliminates the conflict between image display and data encoding, reducing the need for error correction while maintaining high information capacity through the dedicated image region.
3Adaptability or versatility
If multiple conversion operations are performed on the two-dimensional code for positioning and normalization, then the code can be recognized in various orientations, but the recognition efficiency decreases due to increased error probability
Solution Approach 1:
The patent performs preliminary positioning by identifying the encoding region's location and orientation before data extraction. By pre-determining the encoding region's boundaries and orientation, the system avoids multiple normalization conversions during the recognition process, thereby maintaining orientation flexibility while improving recognition efficiency and reducing error probability.
Data Source
AI summary
A method, an apparatus, and a terminal for recognizing a two-dimensional code are provided. The two-dimensional code includes an image region and an encoding region. The image region and the encoding region have no overlap. The method includes selecting, from pixels of the two-dimensional code, a pixel included in a code element in an encoding region. The method further includes determining a value of the code element in the encoding region according to the pixel included in the code element in the encoding region. The method further includes recognizing the two-dimensional code according to the value of the code element in the encoding region.


