摘要 |
<P>PROBLEM TO BE SOLVED: To provide an image input device that can automatically determine the direction of an original image without using a character recognition function such as OCR, in an image input device for reading in a document image. <P>SOLUTION: A labeling processing means 3 determine continuity of black pixels from binary image data read in by the image input device 1 to group a continuous area of black pixels as one group, and extract circumscribed rectangle information on each grouped continuous black pixel area. A line extraction processing means 4 extract line rectangle information included in the original image from the group-circumscribed rectangle information extracted by the labeling processing means 3, and a punctuation mark identifying means 5 identify a punctuation mark included in the line rectangle extracted by the line extraction processing means 4. With the extracted line rectangle information and punctuation-mark-group-circumscribed rectangle information, the detection of the relative position of the punctuation mark in the line automatically determines the direction of the line. <P>COPYRIGHT: (C)2004,JPO&NCIPI |