1. A method for processing a captured image that comprises an imaged document; said method comprising: separating text areas from the remainder of said captured image; enhancing the direction of text lines in said text areas; extracting said text lines; selecting from said extracted text lines at least two representative text lines; selecting a polynomial function to fit each of said representative text lines; and determining a vanishing point based on information derived from said representive text lines.