Patent ID: 8437576
Filing Date: 2013-05-07
Classification: G06K

Abstract:
1. A method of detecting orientation of an image, the method comprising: selecting text blocks; testing whether the number of text blocks N is less than a pre-set threshold T; if the number of text blocks N is less than the pre-set threshold T, not detecting the orientation of the document; if the number of text blocks N is greater than the pre-set threshold T, filling non-text areas with white color; transforming the image into a binary image; calculating asymmetry parameters of text (asym calculating a horizontal coefficient (ah) and a vertical coefficient (av); testing whether the parameter (asym if a result of testing whether the parameter (asym if a result of testing whether the parameter (asym if a result of testing whether the parameter (asym if a result of testing whether the parameter (asym if a result of testing whether the parameter (asym if a result of testing whether the parameter (asym