摘要 |
A method for recognizing a table area in a document, includes the steps of extracting image data on a table area having a table from binary image data on a document, extracting a line segment extending in a first direction from the image data on the table area, and extracting a line segment extending in a second direction perpendicular to the first direction from the image data on the table area. The method also includes the steps of determining, from the line segment extending in the first direction and the line segment extending in the second direction, whether or not ruled lines are provided on both sides of the table, and generating imaginary ruled lines on both sides of the table when it is determined that the ruled lines are provided on neither side of the table. An apparatus for recognizing a table area in a document is provided.
|