Code Image Processing Method for Multi-Code Detection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional methods for recognizing multiple two-dimensional codes in digital image data face challenges such as incomplete code recognition, multiple recognition of the same code, and the need for separate templates and precise alignment, especially when codes are printed with characters and figures on documents.
Innovation Solution
A code image processing method that includes a block selection process, block judgment, code determination, code recognition, and block scan control, allowing for accurate detection and recognition of multiple codes without stopping, even when the data is tilted or out of alignment, by analyzing gradient values, edge counts, and correlation between lines.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If progressive scanning is performed one block area at a time from the upper left corner, then the first code can be recognized, but recognition of multiple codes is incomplete and the process terminates after the first recognition
Solution Approach 1:
The patent implements a feedback mechanism where the recognition result of each code is fed back to the scanning control process. After a code is recognized, the system receives feedback about its position and dimensions, then uses this information to adjust the scanning process by skipping the recognized area and continuing the scan to find additional codes, thereby enabling complete multi-code recognition while maintaining accuracy
Solution Approach 2:
The scanning process is made dynamic by adaptively adjusting the scan path based on recognition results. Instead of a fixed sequential scan, the system dynamically modifies the scanning behavior by skipping recognized code areas and continuing the scan from appropriate positions, allowing the process to adapt to the actual distribution of multiple codes in the image
2Productivity
If scanning is continued after the first recognition, then multiple codes can be detected, but multiple recognitions of the same code occur due to multiple small block areas within a single code
Solution Approach 1:
The system uses feedback from the recognition process to identify the precise boundaries and position of each detected code. This feedback information is then used to mark and skip the entire code area during subsequent scanning operations, preventing multiple block areas from triggering separate recognition processes for the same code while maintaining the ability to detect multiple different codes
Solution Approach 2:
The patent segments the image into small block areas for scanning, but then uses the recognition results to define larger code-specific regions that are skipped during scanning. This two-level segmentation approach allows fine-grained initial detection while preventing duplicate processing by coarser code-level region skipping
3Measurement precision
If separate layout templates are provided for each code position, then code positions can be accurately identified, but template creation and selection becomes complex and alignment requirements increase
Solution Approach 1:
The system performs self-service by automatically determining code positions and boundaries directly from the image content during the scanning and recognition process. Instead of requiring pre-prepared templates with position information, the system autonomously identifies code locations by analyzing image features, eliminating the need for separate template creation, selection, and alignment processes
Data Source
AI summary
When a small block area enters a first two-dimensional code during a scan and features of the image within the area of a position in the first two-dimensional code coincide with a two-dimensional code, the block area is specified as containing a code and a recognition process is performed in the nearby areas. When the recognition of the two-dimensional code has been successful, the area of the first two-dimensional code is further extracted. When the extraction of the area of the first two-dimensional code has been successful, the scan using the small block area is further continued to search for a second two-dimensional code. With an already recognized entrance to the area of the first two-dimensional code, the area is skipped to continue the search. The second two-dimensional code is detected at a high speed by repeating the operation.


