In one embodiment, the present invention is related to a method for processing
a digitally captured image that comprises an imaged document. The method may comprise:
transforming the digitally captured image into a binary image; searching the binary
image to detect a plurality of edges of the imaged document; and analyzing the
detected plurality of edges to determine at least one corner associated with the
imaged document; wherein the transforming, searching, and analyzing are performed
by programmable logic associated with a processor-based system.