Disclosed embodiments of the invention relate to analyzing document
images, which contain positionally encoded information, such as a
maze-pattern watermark, and labeling the images based on a degree to
which the document's content, such as text, occludes the
position-encoding information. Depending on the degree of such occlusion,
it may not be possible to extract enough position-encoding bits from a
camera-captured image of the document to determine the camera-captured
image's location within the document. An analysis-and-labeling module
receives, as input, image data output by an
image-generation-and-capturing module and off-line training data;
performs analysis-and-labeling processing; and outputs image-label
information. The results of document-analysis-and-labeling processing may
be used for efficiently determining a location of a camera-captured image
within a positionally encoded document.