Context Constraints for Correcting Mis-Detection of Text Contents in Scanned Images
OwnerJing Xiaoinventor
Life of this patent
Estimating the term…
Abstract
Misclassified text components are identified and corrected by comparing non-text components with their neighboring text components. If a non-text component being examined is found to be substantially aligned with its neighboring text components, and is further found to have a similar average color and size as its neighboring text components, then it is reclassified as a text component. Misclassified non-text components are reduced by restricting text labeling to areas of a document image defined by an edge map. The edge map is made by smoothing the document image, and applying edge detection to the smooth image.
Claims20
Method of identifying text components within a document image, said method comprising the following steps:
- (a) submitting said document image to a text labeling process to define connected components of foreground pixels within at least a region of said document image and to assign said connected components an initial classification of text component or non-text component as determined by said text labeling process;
- (b) for each non-text component,
- defining a neighborhood region around the non-text component, where text components within said neighborhood region are termed neighboring text components;
- IF there is a predefined number of neighboring text-components, THEN
- IF the non-text component meets a predefined set of criteria comparing the non-text component to its neighboring text-components, THEN reclassifying the non-text component as a text component;
- ELSE maintaining the non-text component's classification of non-text.
A method of identifying text components within a document image, said method comprising:
- (i) smoothing said document image to create a smooth document image;
- (ii) defining an edge map by applying edge detection to said smoothed document image;
- and
- (iii) submitting select areas of said document image to a text labeling process to assign an initial classification of text component or non-text component to connected components of foreground pixels, wherein said selected areas are defined as coinciding to a local edge neighborhood of said edge map.
Dependencies are inferred from the claim text.