
A Correction Algorithm of QR Code on Cylindrical Surface
Author(s) -
Kejing Li,
Fanwu Meng,
Zhipeng Huang,
Qi Wang
Publication year - 2019
Publication title -
journal of physics. conference series
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.21
H-Index - 85
eISSN - 1742-6596
pISSN - 1742-6588
DOI - 10.1088/1742-6596/1237/2/022006
Subject(s) - cylinder , code (set theory) , algorithm , qr decomposition , boundary (topology) , projection (relational algebra) , perspective (graphical) , surface (topology) , feature (linguistics) , image (mathematics) , mathematics , distortion (music) , geometry , dykstra's projection algorithm , computer science , computer vision , mathematical analysis , physics , amplifier , linguistics , eigenvalues and eigenvectors , philosophy , set (abstract data type) , bandwidth (computing) , quantum mechanics , computer network , programming language
When capturing a QR code on a cylinder, there may be geometric distortions due to the angle of the camera and the cylindrical deformation, which makes the QR code difficult to recognize. To solve this problem, a correction algorithm for QR codes is proposed in this paper. First, the boundary of the QR code on the cylinder is extracted by a morphological algorithm and geometry calculations. Then, the feature points on the image are accurately located. Next, the standard size of the QR code is determined by using the cross-ratio method in descriptive geometry. Finally, the image is corrected by perspective projection. It is proven that the algorithm can correct the distortion of the cylinder image effectively, and it has the ability to properly identify cylindrical QR codes.