Method of compensating for distortion in text recognition
First Claim
Patent Images
1. A method of compensating for distortion in text recognition, the method comprising the steps of:
- extracting a text region from an image;
estimating a form of an upper end of the extracted text region;
estimating a form of a lower end of the extracted text region;
estimating a form of left and right sides of the extracted text region;
estimating a diagram in the form of the estimated upper end, lower end, and left and right sides of the extracted text region, including a minimum area of the text region; and
transforming the text region constituting the estimated diagram into a rectangular diagram using an affine transform,wherein estimating the form of the left and right sides comprises measuring slopes of contours of individual text regions positioned on the left and right sides in an entire text region, and estimating slopes of contours of the individual text regions, which correspond to the slopes having a greatest distribution as the result of measurement, in the form of the left and right sides, andwherein the slopes of the individual text regions estimated in the form of the left and right sides are in a range excluding a range of −
2°
to +2°
on the basis of a vertical line.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of compensating for distortion in text recognition is provided, which includes extracting a text region from an image; estimating the form of an upper end of the extracted text region; estimating the form of a lower end of the extracted text region; estimating the form of left and right sides of the extracted text region; estimating a diagram constituted in the form of the estimated upper end, lower end, left and right sides, and including a minimum area of the text region; and transforming the text region constituting the estimated diagram into a rectangular diagram using an affine transform.
24 Citations
6 Claims
-
1. A method of compensating for distortion in text recognition, the method comprising the steps of:
-
extracting a text region from an image; estimating a form of an upper end of the extracted text region; estimating a form of a lower end of the extracted text region; estimating a form of left and right sides of the extracted text region; estimating a diagram in the form of the estimated upper end, lower end, and left and right sides of the extracted text region, including a minimum area of the text region; and transforming the text region constituting the estimated diagram into a rectangular diagram using an affine transform, wherein estimating the form of the left and right sides comprises measuring slopes of contours of individual text regions positioned on the left and right sides in an entire text region, and estimating slopes of contours of the individual text regions, which correspond to the slopes having a greatest distribution as the result of measurement, in the form of the left and right sides, and wherein the slopes of the individual text regions estimated in the form of the left and right sides are in a range excluding a range of −
2°
to +2°
on the basis of a vertical line.
-
-
2. A method of compensating for distortion in text recognition, the method comprising the steps of:
-
extracting a text region from an image; estimating a form of an upper end of the extracted text region; estimating a form of a lower end of the extracted text region; estimating a form of left and right sides of the extracted text region; estimating a diagram in the form of the estimated upper end, lower end, and left and right sides of the extracted text region, including a minimum area of the text region; and transforming the text region constituting the estimated diagram into a rectangular diagram using an affine transform, wherein estimating the form of the upper end comprises; positioning a first reference line that simultaneously passes through individual text regions constituting an entire text region, and extracting coordinate values of pixels corresponding to an uppermost end among pixels positioned at upper ends that are higher than the first reference line; and obtaining a straight line approximating the extracted coordinate values, and estimating the obtained straight line in the form of the upper end of the extracted text region. - View Dependent Claims (3)
-
-
4. A method of compensating for distortion in text recognition, the method comprising the steps of:
-
extracting a text region from an image; estimating a form of an upper end of the extracted text region; estimating a form of a lower end of the extracted text region; estimating a form of left and right sides of the extracted text region; estimating a diagram in the form of the estimated upper end, lower end, and left and right sides of the extracted text region, including a minimum area of the text region; and transforming the text region constituting the estimated diagram into a rectangular diagram using an affine transform, wherein estimating the form of the lower end comprises the steps of; positioning a second reference line that simultaneously passes through individual text regions constituting an entire text region, and extracting coordinate values of pixels corresponding to the lowermost end among pixels positioned at lower ends that are higher than the second reference line; and obtaining a straight line approximating the extracted coordinate values, and estimating the obtained straight line in the form of the lower end of the extracted text region. - View Dependent Claims (5)
-
-
6. A method of compensating for distortion in text recognition, the method comprising the steps of:
-
extracting a text region from an image; estimating a form of an upper end of the extracted text region; estimating a form of a lower end of the extracted text region; estimating a form of left and right sides of the extracted text region; estimating a diagram in the form of the estimated upper end, lower end, and left and right sides of the extracted text region, including a minimum area of the text region; and transforming the text region constituting the estimated diagram into a rectangular diagram using an affine transform, wherein estimating the form of the left and right sides comprises; measuring slopes of contours of individual text regions positioned on the left and right sides in an entire text region; and estimating the slopes of the individual text regions having a largest size in the form of the left and right sides, and wherein the slopes of the individual text regions estimated in the form of the left and right sides are in a range excluding a range of −
2°
to +2°
on the basis of a vertical line.
-
Specification