1. A method for detecting a skew angle, comprising the steps of: scanning a page of a document and generating a document image; determining sampling points of the document image using ruled lines of the document image; calculating a regression coefficient of the sampling points; and determining the skew angle of the document image using said regression coefficient.