1. A method for correcting skew images in an image capturing device comprising the steps of: (a) detecting a plurality of edge areas on an image in the image capturing device, each of the edge areas having an edge, wherein the edge areas are determined by the steps of: (i) grouping the image into a plurality of blocks, each of the blocks having N*N pixels, wherein N is an odd number other than 1; (ii) grouping the pixels into a plurality of pixel groups according to a plurality of grouping angles; (iii) calculating the display differences between the adjacent pixel groups according to each of the grouping angles; (iv) confirming that the maximum display difference is larger than the threshold; and (v) defining the blocks with the edges as the edge areas; (b) calculating a plurality of gradient angles of the edge areas, and determining a predominant angle from among the calculated gradient angles; and (c) rotating the image according to the predominant gradient angle; wherein the edge represents that the maximum display difference in each of the edge areas is larger than a threshold.