Text character identification system and method thereof
First Claim
Patent Images
1. A non-transitory computer-readable storage medium having stored thereon computer-executable instructions that, if executed by a computing device, cause the computing device to perform operations comprising:
- acquiring a plurality of connected components (CCs) in a binary image;
determining a property limit by acquiring at least one of a most frequently occurring CC base height and a most frequently occurring CC base width in the binary image;
generating a filtering rule according to the property limit;
determining that a first plurality of CCs are text characters according to the filtering rule, and adjacency to a CC that has previously been determined to be text characters;
assigning a first text label to the first plurality of CCs;
determining that a second plurality of CCs are not text characters according to the filtering rule, or because individual CCs are not adjacent to an individual CC that has previously been determined to be a text character;
assigning a second text label to the second plurality of CCs;
merging neighboring CCs into a plurality of text regions; and
determining that the CCs in any text region are not text characters if there are fewer than a predetermined number of CCs within the text region.
3 Assignments
0 Petitions
Accused Products
Abstract
A method for text character identification. The method acquires multiple connected components (CCs) in a binary image, and each CC has a pattern property value. The method determines at least one property limit based on the pattern property values, generates a filtering rule according to the property limit, and determines whether each of the CCs is a text character according to the filtering rule.
-
Citations
24 Claims
-
1. A non-transitory computer-readable storage medium having stored thereon computer-executable instructions that, if executed by a computing device, cause the computing device to perform operations comprising:
-
acquiring a plurality of connected components (CCs) in a binary image; determining a property limit by acquiring at least one of a most frequently occurring CC base height and a most frequently occurring CC base width in the binary image; generating a filtering rule according to the property limit; determining that a first plurality of CCs are text characters according to the filtering rule, and adjacency to a CC that has previously been determined to be text characters; assigning a first text label to the first plurality of CCs; determining that a second plurality of CCs are not text characters according to the filtering rule, or because individual CCs are not adjacent to an individual CC that has previously been determined to be a text character; assigning a second text label to the second plurality of CCs; merging neighboring CCs into a plurality of text regions; and determining that the CCs in any text region are not text characters if there are fewer than a predetermined number of CCs within the text region. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method in a computing device having a memory and a processor, the method comprising:
-
acquiring a plurality of connected components (CCs) in a binary image; determining with the computing device a property limit by acquiring at least one of a most frequently occurring CC base height in the binary image and a most frequently occurring CC base width in the binary image; generating with the computing device a filtering rule according to the property limit; determining that a first CC is a text CC if the first CC both satisfies the filtering rule, and is adjacent to a second CC that has previously been determined to be a text CC; assigning a text label to the first CC to indicate that the first CC is a text CC; assigning a potential-text label to the first CC if the first CC fails the filtering rule but is adjacent to a text CC; assigning the potential-text label to the first CC if the first CC satisfies the filtering rule but is not adjacent to a text CC; merging a plurality of the first CCs into a text region; and assigning the text label to the first CCs with the potential text label in the text region if the quantity of first CCs with the text label and the quantity of first CCs with the potential text label is above a threshold quantity.
-
-
10. A computer system having a processor and memory for text character identification in a binary image, the system comprising:
-
a connected component acquisition unit configured to acquire a plurality of connected components (CCs) in a binary image; a limit generation unit configured to determine at least one property limit by acquiring at least one of a most common CC base width in the binary image and a most common CC base height in the binary image; a filtering rule generation unit configured to generate a filtering rule according to the property limit; and a text determination unit configured to— determine that a CC is a text character according to the filtering rule, and because the CC is adjacent to another CC that has previously been determined to be a text character; assign a first text label to the CC to indicate that the CC is a text character; assign a second text label to the CC if the CC is determined not to be a text character according to the filtering rule; merge neighboring CCs into a plurality of text regions; and determine that the CCs in any text region are not text characters if there are fewer than a predetermined number of CCs in the text region. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A system for text character identification, the system comprising:
-
means for acquiring a plurality of connected components (CCs) in a binary image; means for determining a property limit of the CCs by acquiring either a most frequently occurring CC base height or by acquiring a most frequently occurring CC base width; means for generating a filtering rule according to the property limit; means for determining that the CCs satisfy the filtering rule; means for determining that the CCs are adjacent to at least one other CC that has previously been determined to be a text character; means for assigning a first text label to the CCs if the CCs satisfy the filtering rule and are adjacent to the other CCs that has previously been determined to be a text character; means for assigning a second text label to each of the CCs that are determined not to satisfy the filtering rule but are adjacent to the other CC that has previously been determined to be a text character; means for assigning the second text label to each of the CCs that are determined to satisfy the filtering rule but are not adjacent to the other CC that has previously been determined to be a text character; means for counting the first text labels and the second text labels in a text region; and means for assigning the first text label to all CCs within the text region if the text region contains more than a threshold number of first text labels and second text labels.
-
-
21. A computer system having a processor and memory, the computer system comprising:
-
a filtering component configured to analyze a plurality of connected components in a binary image to determine whether the connected components satisfy a first rule and a second rule; a text character labelling component configured to apply an affirmative-text character label to connected components that satisfy both the first and second rules, and to apply a potential-text character label to connected components that satisfy either the first rule or the second rule, but not both the first and second rules; a text region labelling component configured to apply a text region label to a first and second connected component in the plurality of connected components if a distance between the first connected component and the second connected component is less than a predetermined threshold value; and a text character counting component configured to count connected components having the text region label and determine that a region of the binary image defined by the connected components having the text region label contains text characters if the connected components number more than a predetermined threshold value, wherein at least one of the filtering component, the text character labelling component, and the text region labelling component is configured as instructions stored in the memory for execution by the processor. - View Dependent Claims (22, 23, 24)
-
Specification