A painting based technique for skew estimation of scanned documents

Document Type

Conference publication

Publication details

Alaei, A, Pal, U & Nagabhushan, F & Kimura, A 2011, 'A painting based technique for skew estimation of scanned documents', in Proceedings of the 11th International Conference on Document Analysis and Recognition, Beijing, China, 18-21 September, IEEE, USA, pp. 299-303. ISBN: 9781457713507

Published version available from


Peer Reviewed



In this paper, we propose an efficient skew estimation technique based on Piece-wise Painting Algorithm (PPA) for scanned documents. Here we, at first, employ the PPA on the document image horizontally and vertically. Applying the PPA on both the directions, two painted images (one for horizontally painted and other for vertically painted) are obtained. Next, based on statistical analysis some regions with specific height (width) from horizontally (vertically) painted images are selected and top (left), middle (middle) and bottom (right) points of such selected regions are categorized in 6 separate lists. Utilizing linear regression, a few lines are drawn using the lists of points. A new majority voting approach is also proposed to find the best-fit line amongst all the lines. The skew angle of the document image is estimated from the slope of the best-fit line. The proposed technique was tested extensively on a dataset containing various categories of documents. Experimental results showed that the proposed technique achieved more accurate results than the state-of-the-art methodologies.