Patent Document ID: 9110926
Application ID: 13671495
Patent Status: 1

Claim One:
1. A method comprising: identifying, by a processing device, a scanned image of an object having printed thereon text comprising characters oriented for a vertical reading direction, the characters arranged in a plurality of substantially vertical columns; performing, by the processing device, optical character recognition (OCR) on the scanned image to yield character positions; identifying, by the processing device and based on the character positions, a plurality of substantially vertical lines corresponding to the plurality of substantially vertical columns; determining, by the processing device, lengths of the plurality of substantially vertical lines; selecting, by the processing device, a subset of the plurality of substantially vertical lines, wherein a length of each substantially vertical line in the subset of the plurality of substantially vertical lines exceeds a length threshold; generating, by the processing device, an average slope of the subset of the plurality of substantially vertical lines from a vertical reference line; and causing, by the processing device, the scanned image to be deskewed based on the average slope.