A method of 2D barcode skew correction using least square methods
Zhi Liu · Journal of Zhejiang University of Technology · 2008
Generally,the scanned images of 2D barcode are skew.In order to recognize Two Dimension barcode correctly,the skew angle of 2D barcode must be detected and corrected firstly.In this paper,the 2D bar code image must be preprocessed and accurately positioned using convex hull algorithm firstly.Then the verge of contour in the 2D bar code can be extracted.These feature points can be fitted into a linear using the least square method in order to get the tilt angle of the bar code.Finally,the tilt image can be corrected using Bilinear interpolation algorithm.The experimental results show that the algorithm is fast and anti-noise strong,effectively improve the speed and barcode recognition rate.