Rectification of QR-code images using the parametric cylindrical surface model
In recent years, QR codes have found a wide range of applications in business and industry. Moreover, their popularity and function are still growing (fast). Therefore, the processing of the images of QR codes is an important task. In this paper, we try to solve a problem encountered in QR decoding when the QR code is printed near the binding edge inside a book or on the surface of a cylindrical container. When a picture is taken on such a QR code, the picture is no longer in a rectangular shape, which is supposedly the “right” shape that any QR code should take, due to warping from the image capturing mechanism by the camera. We refer to such warping as cylinder-to-screen (C2S) warping. This warping translates into serious distortion of the original QR-code image (also referred to as QR image, for short) and thus causes failure in its decoding. In this paper, a mathematical model called the parametric cylindrical surface model (PCSM) is proposed. Then, based on it, a scheme is proposed to rectify C2S-warped QR images. Experiments show that the proposed scheme is effective, in the sense that many failed QR decodings become successful after the rectification.