1. A method for creating a template for a document to be validated, the method comprising: segmenting images of a plurality of reference documents in a like manner into a plurality of segments; and processing corresponding segments of the plurality of reference document images to determine one or more reference image segments.