1. A method for detecting the presence and orientation of a predefined marker on a document comprising: capturing a document having at least one test marker; creating a feature vector with a plurality of elements that measures basic pattern and irregularity of said at least one test marker; determining said pattern by locating a majority of run lengths in predisposed orientations, determining irregularity by determining variance of a normalized number of runlengths in each quadrant for said pattern; and using pre-determined thresholds to determine if said pattern of said document meets a prototype definition for predefined markers.