【正文】
7 Tilt Correction ? Therefore, the bilinear interpolation is used in image rotation in this paper. ? In addition, if the coordinates of QR code are not precise enough, the result is not very satisfactory, just as fig4 shows. 18 Tilt Correction ? Fig4. Comparison of Three Interpolation Methods 19 Image Geometric Correction ? The image geometric distortion will emerge because of the shooting angle, image rotation and other issues. ? QR code geometric distortion will bring great recognition errors and reduce the recognition rate. 20 Image Geometric Correction ? Distortion correction algorithm is as follows. 1. Obtain images of the four vertices of QR codes. 2. Determine the fourth vertex. ? Fig5. Calculate the Fourth Vertex 21 Image Geometric Correction 3. As shown in fig6, P1, P2, P3, P4 are the four vertexes of the QR code image without distortion, P1’ ,P2’ ,P3’ ,P4’ are the four vertexes of the QR code for the actual image. ? Fig6. Control point transformation 22 Image Geometric Correction ? By Jacobi iteration method can solve the 8 parameters a, b, c, d, m, n, p, q in above equations, and then it realizes the calibration transformation from the general quadrilateral to a square. 23 Image Geometric Correction ? Then the bilinear interpolation formula is: 24 Image Normalization ? F