摘要 |
<p>PURPOSE:To detect the angle of inclination of a character sequence with excellent precision by inputting coordinates of middle points detected by a character discriminating circuit, and achieving the least square approximation of a group of middle points by a straight line. CONSTITUTION:A vignetted picture of a document with inclination is read out of a memory 42, and the (y) coordinate of the middle point of each scanning line is calculated by a middle point arithmetic circuit 43 and stored in a memory 44. The contents of the memory 44 are read by a controller 45, and the DELTAy is calculated by a DELTAy arithmetic circuit 46 and stored in a memory 47. Once the DELTAy is calculated, the peak value of the contents of the memory 47 is detected by a peak value detecting circuit 48 to detect the peak value whose absolute value is greater than a threshold value T, and the value is stored in a memory 48. The contents of the memory 48 are used by a character discriminating circuit 50 to find the inclination of middle points belonging to a character sequence whose inclination is to be found. The (y) and (x) coordinates of the middle points obtained by said circuit 50 are sent to a least aquare approximation arithmetic circuit 51 to perform the least square approximation of a group of the middle point by a straight line, and its angle theta of inclination is inputted to a memory 52.</p> |