Patent ID: 8335022

Claim:
A method for automatically determining a position of an address field on a document comprising: providing an envelope having a face provided with a window dimensioned and positioned such that an address in the address field of the document inserted in the envelope is visible behind the window; scanning a face of the envelope provided with the window so as to obtain scan-data representing an image of the scanned face of the envelope; comparing the scan-data with characteristics indicative of a human-readable address; selecting a subset of the scan-data meeting characteristics of human-readable address; determining the position of markings represented by the selected subset of the scan-data; and calculating the position of an address field on the document from data representing at least the position of the selected subset of the scan-data on the envelope face and a clearance or clearance range between the document and the envelope, further comprising folding the document, prior to insertion, in accordance with selected fold settings, wherein the data from which the position of the address field is calculated further include the selected fold setting.