Patent ID: 8189921
Filing Date: 2012-05-29
Classification: G06K

Abstract:
1. A character recognition device, comprising: an image reading unit for reading a form as first color image data; a display unit for displaying the first color image data; an analysis range specification unit for extracting second color image data corresponding to the analysis range specified by the operator from the first color image data displayed on the display unit; a first line segment extraction unit for extracting a first line segment from the second color image data on the basis of data having linearity in the second color image data; a background elimination unit for designating, as background, color image data corresponding to the greatest number of colors from among the second color image data other than the first line segment and for eliminating the background from the second color image data to generate third color image data; a first ruled line extraction unit for extracting, from the third color image data, line segments of a representative color that exists more than any other colors in the third color image data, and for integrating the line segments so as to extract a first ruled line; a classification unit for eliminating the first ruled line from the third color image data so as to extract a first character and for classifying the third color image data into the first character and a first character frame; a second line segment extraction unit for extracting a second line segment from the third color image data on the basis of data having linearity in the third color image data and color of the first character frame; a second ruled line extraction unit for extracting a second ruled line from the third color image data on the basis of the second line segment; a character frame specification unit for specifying a second character frame on the basis of the second ruled line and a shape pattern of a character frame, registered in advance; a first character frame elimination unit for eliminating the second character frame from the third color image data while leaving overlap of the first character and the second character frame on the basis of color of the first character and color of the second character frame so as to extract a second character; and a character recognition unit for recognizing the second character; wherein said character frame specification unit comprises a space table generation unit for calculating a space between two arbitrary vertical lines in each of all combinations in the case where the two arbitrary vertical lines are selected from respective vertical lines of the second ruled lines and generating a space table indicating the calculated spaces, a vote table generation unit for counting the number of spaces which are the same from among the spaces indicated in the space table, and for generating a vote table indicating the total count value for each of the spaces, a space assumption unit for assuming a space whose total count value indicated in the vote table is largest as a space of the character frame, a space modification unit for modifying the or each space in a shape pattern of the character frame to the space assumed by the space assumption unit and a specification unit for matching the shape pattern of a character frame whose space has been modified by the space modification unit with a pattern of the second ruled line and for specifying the second character frame on the basis of a result of the pattern matching.