Patent ID: 10257384

Abstract:
A binary image generation portion binarizes a scanned image and generates a binary image. A specific character position detection portion (a) specifies rectangles that circumscribe a plurality of characters, respectively, in the binary image, (b) detects a plurality of specific characters having longitudinal lines or transverse lines at centers of the specified circumscribing rectangles, and (c) detects, as positions of the plurality of specific characters, center positions of the longitudinal lines or the transverse lines, within a predetermined range, to be detected, in a main scanning direction or a sub-scanning direction. A skew angle specifying portion specifies an alignment direction in which the plurality of specific characters are aligned, based on the positions of the plurality of specific characters detected in the range to be detected, and specifies a skew angle of a document image in the scanned image, based on the specified alignment direction.