摘要 |
A method for determining the orientation of Chinese words is provided. The amount of dark pixels in each column of a Chinese word image is calculated. Then, a first point, a second point, and a third point are determined. The first point and the second point correspond to the columns with the largest and the second largest amount of dark pixels, respectively. The third point is located between the first point and the second point. The Chinese word is right-side up if the third point is located on the left side of the Chinese word. The Chinese word is upside down if the third point is located on the right side of the Chinese word.
|