Method and apparatus for character string recognition
First Claim
1. A method for character string recognition by processing image data obtained through picking up a character string placed on a medium comprising:
- processing the image data into black-and-white binary image data by using a prescribed reference threshold value for binary conversion;
calculating vertical projection data of the binary image data in a vertical direction perpendicular to a direction of the character string while shifting the binary image data in the direction of the character string;
detecting positions exceeding a prescribed border judgment threshold value in the vertical projection data as segmentation positions of characters included in the character string;
judging validity of the border judgment threshold value according to the number of characters included in the character string;
if the border judgment threshold value is judged to be valid, segmenting the characters out of the character string according to the segmentation positions of the characters, and examining characteristics of each character segmented; and
if the border judgment threshold value is judged to be invalid, repeating the method from the step of processing the image data into black-and-white binary image data without segmenting the characters out of the character string.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for character string recognition may include processing image data into black-and-white binary image data, calculating vertical projection data of the binary image data in a vertical direction perpendicular to a direction of the character string while shifting the binary image data, detecting positions exceeding a prescribed border judgment threshold value in the vertical projection data, judging validity of the border judgment threshold value, and deciding whether to segment characters out of the character string based on whether the border judgment threshold value is valid.
11 Citations
11 Claims
-
1. A method for character string recognition by processing image data obtained through picking up a character string placed on a medium comprising:
-
processing the image data into black-and-white binary image data by using a prescribed reference threshold value for binary conversion; calculating vertical projection data of the binary image data in a vertical direction perpendicular to a direction of the character string while shifting the binary image data in the direction of the character string; detecting positions exceeding a prescribed border judgment threshold value in the vertical projection data as segmentation positions of characters included in the character string; judging validity of the border judgment threshold value according to the number of characters included in the character string; if the border judgment threshold value is judged to be valid, segmenting the characters out of the character string according to the segmentation positions of the characters, and examining characteristics of each character segmented; and if the border judgment threshold value is judged to be invalid, repeating the method from the step of processing the image data into black-and-white binary image data without segmenting the characters out of the character string. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An apparatus for character string recognition for use with a record data carrier having a character string, the apparatus comprising:
-
an image pickup device configured to read and photoelectrically convert the character string into image data; an image memory configured to store the image data; a binarizinq section configured to process the image data into black-and-white binary image data by using a prescribed reference threshold value for binary conversion; a projection creating section configured to calculate vertical projection data of the binary image data in a vertical direction perpendicular to a direction of the character string while shifting the binary image data in the direction of the character string; a threshold value calculating section configured to detect vertical projection data of the binary image data in a vertical direction perpendicular to a direction of the character string while shifting the binary image data in the direction of the character string; a threshold value evaluating section configured to judge validity of the border judgment threshold value according to the number of characters included in the character string; and a border defining section configured to segment the characters out of the character string according to the segmentation positions of the characters if the border judgment threshold value is judged to be valid; wherein, if the border judgment threshold value is judged to be invalid, the apparatus is configured such that the binarizing section repeats processing the image data into black-and-white binary image data by using a prescribed reference threshold value for binary conversion, without segmenting the characters out of the character string. - View Dependent Claims (9, 10, 11)
-
Specification