摘要 |
<p>Disclosed is a text image trimming method. The method comprises the following steps: step 110, obtaining text image data; step 120, using straight line detection method to detect the straight lines of the text image, obtaining edges of a trimmed quadrangle; step 130, detecting text on the image data, obtaining the coordinates of the boundary points of a text regioon; and step 140, obtaing the final trimming result according to the results of steps 120 and 130. The method can automatically detect the edges of the text region and utilize the detected text region to verify and removes unrelated redundant information thereby, allowing the user to only see the portion containing the text retion useful to the user when viewing image data.</p> |