Code recognition method, device and computer readable storage medium for storing code recognition method
First Claim
1. A code recognition method comprising:
- receiving a first code-image block, wherein a plurality of first displayed codes are displayed on the first code-image block;
partitioning the first code-image block into a plurality of second code-image blocks, wherein each of the second code-image blocks displays a second displayed code respectively, each of the second displayed codes displayed in each second code-image block is one of the first displayed codes;
recognizing each of the second code-image blocks as a plurality of third recognized codes corresponding to each of the second displayed codes respectively;
forming a plurality of possible candidates based on the third recognized codes corresponding to adjacent ones of the second displayed codes, wherein each of the possible candidates comprises at least two of the third recognized codes;
combining some of the neighboring second code-image blocks to form a plurality of third code-image blocks, wherein each of the third code-image blocks displays a first displayed code set, which comprises some of the second displayed codes; and
calculating a code-set-image differences between one of the third code-image blocks and each of the possible candidates, and selecting one of the possible candidates according to the code-set-image differences, without considering a grammatical meaning of each of the possible candidates, as a second recognized code set corresponding to the first displayed code set in the one of the third code-image blocks;
wherein the step of recognizing each of the second code-image blocks as the third recognized codes corresponding to each of the second displayed codes respectively comprises;
comparing each of the second code-image blocks with multiple code images of multiple candidate codes stored in a code-image database to obtain the third recognized codes corresponding to each of the second displayed codes selected from the candidate codes.
1 Assignment
0 Petitions
Accused Products
Abstract
A code recognition method includes the following steps: a first code-image block is received. Wherein, several first codes are displayed on the first code-image block. The first code-image block is partitioned into several second code-image blocks. Wherein, each of the second code-image blocks displays a second code respectively. Each of the second codes is one of the first codes. Each of the second code-image blocks is recognized as several third codes corresponding to each of the second codes respectively. Some of the neighboring second code-image blocks are combined to form several third code-image blocks. Wherein, each of the third code-image blocks displays a first code set, which comprises some of the second codes. Each of the third code-image blocks is recognized as a second code set corresponding to each of the first code sets respectively. Wherein, each of the second code sets includes the codes selected from the third codes.
29 Citations
13 Claims
-
1. A code recognition method comprising:
-
receiving a first code-image block, wherein a plurality of first displayed codes are displayed on the first code-image block; partitioning the first code-image block into a plurality of second code-image blocks, wherein each of the second code-image blocks displays a second displayed code respectively, each of the second displayed codes displayed in each second code-image block is one of the first displayed codes; recognizing each of the second code-image blocks as a plurality of third recognized codes corresponding to each of the second displayed codes respectively; forming a plurality of possible candidates based on the third recognized codes corresponding to adjacent ones of the second displayed codes, wherein each of the possible candidates comprises at least two of the third recognized codes; combining some of the neighboring second code-image blocks to form a plurality of third code-image blocks, wherein each of the third code-image blocks displays a first displayed code set, which comprises some of the second displayed codes; and calculating a code-set-image differences between one of the third code-image blocks and each of the possible candidates, and selecting one of the possible candidates according to the code-set-image differences, without considering a grammatical meaning of each of the possible candidates, as a second recognized code set corresponding to the first displayed code set in the one of the third code-image blocks; wherein the step of recognizing each of the second code-image blocks as the third recognized codes corresponding to each of the second displayed codes respectively comprises; comparing each of the second code-image blocks with multiple code images of multiple candidate codes stored in a code-image database to obtain the third recognized codes corresponding to each of the second displayed codes selected from the candidate codes. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A non-transitory computer readable storage medium with a computer program to execute a code recognition method, wherein the code recognition method comprises:
-
receiving a first code-image block, wherein a plurality of first displayed codes are displayed on the first code-image block; partitioning the first code-image block into a plurality of second code-image blocks, wherein each of the second code-image blocks displays a second displayed code respectively, each of the second displayed codes displayed in each second code-image block is one of the first displayed codes; recognizing each of the second code-image blocks as a plurality of third recognized codes corresponding to each of the second displayed codes respectively; forming a plurality of possible candidates based on the third recognized codes corresponding to adjacent ones of the second displayed codes, wherein each of the possible candidates comprises at least two of the third recognized codes; combining some of the neighboring second code-image blocks to form a plurality of third code-image blocks, wherein each of the third code-image blocks displays a first displayed code set, which comprises some of the second displayed codes; and calculating a code-set-image differences between one of the third code-image blocks and each of the possible candidates, and selecting one of the possible candidates according to the code-set-image differences, without considering a grammatical meaning of each of the possible candidates, as a second recognized code set corresponding to the first displayed code set in the one of the third code-image blocks; wherein the step of recognizing each of the second code-image blocks as the third recognized codes corresponding to each of the second displayed codes respectively comprises; comparing each of the second code-image blocks with multiple code images of multiple candidate codes stored in a code-image database to obtain the third recognized codes corresponding to each of the second displayed codes selected from the candidate codes.
-
-
8. A code recognition device comprising:
-
a processing unit configured to receive a first code-image block, wherein a plurality of first displayed codes are displayed on the first code-image block, partition the first code-image block into a plurality of second code-image blocks, wherein each of the second code-image blocks displays a second displayed code respectively, each of the second displayed codes displayed in each second code-image block is one of the first displayed codes, recognize each of the second code-image blocks as a plurality of third recognized codes corresponding to each of the second displayed codes respectively, form a plurality of possible candidates based on the third recognized codes corresponding to adjacent ones of the second displayed codes, wherein each of the possible candidates comprises at least two of the third recognized codes, combine some of the neighboring second code-image blocks to form a plurality of third code-image blocks, wherein each of the third code-image blocks displays a first displayed code set, which comprises some of the second displayed codes, and calculate a code-set-image differences between one of the third code-image blocks and each of the possible candidates, and select one of the possible candidates according to the code-set-image differences, without considering a grammatical meaning of each of the possible candidates, as a second recognized code set corresponding to the first displayed code set in the one of the third code-image blocks; a code-image database electrically connected to the processing unit, the code-image database storing multiple code images of multiple candidate codes, wherein the processing unit is further configured to compare each of the second code-image blocks with the code images of the candidate codes stored in the code-image database to obtain the third recognized codes corresponding to each of the second displayed codes selected from the candidate codes; and an output unit electrically connected to the processing unit, configured to output one of the second code sets. - View Dependent Claims (9, 10, 11, 12, 13)
-
Specification