Patent ID: 8619340

Claim:
A method for correcting the orientation direction detected for pages of scanned documents, the method comprising: receiving a plurality of pages of at least one digital document; for each page of said plurality of pages: determining an initial orientation direction for this page using a first direction detection algorithm, said initial orientation direction being one of: a forward and an inverted direction; determining a confidence level associated with this page's initial orientation direction, based upon a pre-determined threshold; in response to said confidence level being below said pre-determined threshold, re-determining said initial orientation direction for said page using a second detection algorithm, said first detection algorithm and said second detection algorithm being different; determining a structural similarity between this page's forward and inverted versions classifying, based upon said structural similarity, said page as being one of: directional and non-directional; clustering pages classified as being directional into groups of pages based upon a similarity in page structure; for each group of pages: estimating a group orientation direction based upon a total amount of pages having a same initial orientation direction; and for each page within each group: determining, based upon this page's confidence level, whether this page's orientation direction requires correction; and in response to said page's orientation direction requiring correction, signaling a document processing system to change this page's initial orientation direction.