Research Article

QR code resolution improvement based on Super-Resolution Generative Adversarial Network

Menghan Du*
Northwest University

* Corresponding author: [email protected]

Abstract

QR codes have become an integral part of our daily routines, simplifying tasks ranging from accessing websites to making payments. However, the quality of QR codes, especially their resolution, can significantly impact their functionality. Low-resolution QR codes may lead to misinterpretation during scanning and even decoding failures. To address this issue, researchers have explored various techniques to enhance the resolution of QR codes. Traditional image processing methods, such as interpolation and filtering, have been used in the past for resolution enhancement. However, these methods often result in overly blurry images with poor perceptual quality. Conversely, solutions based on Convolutional Neural Networks (CNNs) can introduce clarity but may compromise the sharpness of image edges. This paper presents an effective approach to improve QR code resolution using a Super-Resolution Generative Adversarial Network (SRGAN). The results are impressive, with SRGAN achieving a Peak Signal-to-Noise Ratio (PSNR) of 30.06, significantly outperforming the 17.48 achieved by the SRCNN method. Additionally, in terms of Structural Similarity Index (SSIM), SRGAN reaches 0.936, surpassing SRCNN's 0.473. These metrics demonstrate that SRGAN is highly effective in enhancing the resolution of QR codes, ensuring better scan accuracy and overall functionality in practical applications.

Keywords: QR Codes; Super-Resolution; Generative Adversarial Network; Convolutional Neural Networks
Published: March 25, 2024
DOI: 10.54254/2755-2721/51/20241147
Volume: ACE Vol.51
pp. 6-13
Download PDF

References

  1. Yang J Liu Y Du Y 2002 Research and Applications of Two-Dimensional Codes (in Chinese) Applied Technology 11(1)
  2. Bhamidipati V S & Wvs R S 2022 A Novel Approach to Ensure Security and Privacy While Using QR Code Scanning in Business Applications In 2022 Seventh International Conference on Parallel Distributed and Grid Computing (PDGC) (pp. 198-203) IEEE
  3. Bätz M Eichenseer A Seiler J Jonscher M & Kaup A 2015 Hybrid super-resolution combining example-based single-image and interpolation-based multi-image reconstruction approaches In 2015 IEEE international conference on image processing (ICIP) pp 58-62 IEEE
  4. Kim K I & Kwon Y 2010 Single-image super-resolution using sparse regression and natural image prior IEEE transactions on pattern analysis and machine intelligence 32(6) 1127-1133
  5. Dong C Loy C C He K & Tang X 2015 Image super-resolution using deep convolutional networks IEEE transactions on pattern analysis and machine intelligence 38(2) 295-307
  6. Xi Z Hou C Yuan K & Xue Z 2019 Accelerated Image Super-Resolution Reconstruction Based on Deep Residual Networks (in Chinese) Acta Optica Sinica 39(2) 0210003
  7. Xiao J S Liu E Y Zhu L & Lei J 2017 Improved image super-resolution algorithm based on convolutional neural network Acta Opt Sin 37(3) 0318011
  8. Goodfellow I et al 2014 Generative adversarial nets Advances in neural information processing systems 27
  9. Ledig C et al 2017 Photo-realistic single image super-resolution using a generative adversarial network In Proceedings of the IEEE conference on computer vision and pattern recognition (pp. 4681-4690)
  10. Kaggle 2019 QR codes https://www.kaggle.com/datasets/coledie/qr-codes
  11. Wang Z et al 2004 Image quality assessment: from error visibility to structural similarity IEEE transactions on image processing 13(4) 600-612
  12. Qiu Y et al 2022 Pose-guided matching based on deep learning for assessing quality of action on rehabilitation training Biomedical Signal Processing and Control 72 103323
  13. Zhu F et al 2023 Similarity attention-based CNN for robust 3D medical image registration Biomedical Signal Processing and Control 81 104403