A method of processing a document comprises the steps of (a) scanning a
document to capture image data associated with the document, (b)
processing at least a portion of the captured image data to calculate a
first count of pixels associated with a corner of the document, (c)
processing at least a portion of the captured image data to calculate a
second count of pixels associated with the corner of the document, and
(d) determining if the corner of the document is missing or has a fold
based upon the first count of pixels associated with the corner of the
document and the second count of pixels associated with the corner of the
document. The usability of the captured image data associated with the
document is determined based upon the amount of information found missing
from the image of the document due to, for examples, a torn or folded
corner. If the torn or folded corner is determined to be large enough,
then the corresponding image of the document is determined to be
unusable.