Abstract:
Method and apparatus of detecting orientation of document using OCR. Decoding. The method includes (1) capturing an image of a document having a text string with an imaging arrangement having a solid-state imager; (2) storing into a memory a captured image of the document obtained by the solid-state imager; (3) performing OCR decoding on the text string in the captured image of the document to find an up-direction of the document in the captured image; and (4) setting an orientation of the document in the captured image based upon the up-direction of the document. In one implementation, the text string includes an OCR string specifically designed for OCR decoding.
Abstract:
Method and apparatus of detecting orientation of document using a barcode decoding. The method includes (1) capturing an image of the document with an imaging arrangement having a solid-state imager; (2) determining a presence of a barcode in the captured image of the document; (3) decoding the barcode; (4) determining an up-direction of the document as a function of an orientation of the barcode in the document; and (5) setting an orientation of the document in the captured image based upon the up-direction of the document. In one implementation, the barcode is configured with orientation data indicating the up-direction of the document.