During OCR(optical character recognition) image scanning
the document images
are always placed slantwise to some extent. When the skew degree is big enough
it will influence the effect of document analysis and lower the recognition accuracy as the algorithm for layout analysis and character recognition are very sensitive to page skew. So the skew degree detection is a very important step during the preprocessing of document analysis. In this paper
a skew detection method based on the window analysis is presented. First it chooses the suitable windows which are not in the margin but in the layout of a printed page. Then according to the kind of contents
just like tables
text lines
images and etc.
it uses the different methods to pre-processing the windows image. To overcome the large computing
the third step is to blur the text lines and image from the window. The forth step is to detect the edges of the blurring regions .At last it uses a straight line fitting to the edges
and gets the skew angle. By this method
experimental results show that the skew angles of many kinds of document images can be efficiently and accurately detected