A Correction Algorithm for Document Images Based on Edge Contour

Jianhao Ding, Zhijie Lin, Lingyun Yu · 2015

For digitized document images with black border, this paper presents a simple and rapid correcting method. Firstly, we extract the contours using canny operator and find the inner contour with maximum area. The bounding box of the contour is used to calculate the inclined angle as the skew angle of the document image. According to the skew angle, we rotate the image around the bounding box center to correct it. Lastly we use the average color of the image to fill the skew corners due to correction and crop the black border outside the bounding box. The experiment results indicate that the presented algorithm is exact, efficient, also with robustness. KEYWORD: Algorithm; Document Image; Edge Contour

Read the paper · More papers on PaperTik