IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v11y2023i20p4349-d1263356.html
   My bibliography  Save this article

EHFP-GAN: Edge-Enhanced Hierarchical Feature Pyramid Network for Damaged QR Code Reconstruction

Author

Listed:
  • Jianhua Zheng

    (College of Information Science and Technology, Zhongkai University of Agriculture and Engineering, Guangzhou 510225, China
    Guangzhou Key Laboratory of Agricultural Products Quality & Safety Traceability Information Technology, Zhongkai University of Agriculture and Engineering, Guangzhou 510225, China)

  • Ruolin Zhao

    (College of Information Science and Technology, Zhongkai University of Agriculture and Engineering, Guangzhou 510225, China
    Guangzhou Key Laboratory of Agricultural Products Quality & Safety Traceability Information Technology, Zhongkai University of Agriculture and Engineering, Guangzhou 510225, China)

  • Zhongju Lin

    (College of Information Science and Technology, Zhongkai University of Agriculture and Engineering, Guangzhou 510225, China
    Guangzhou Key Laboratory of Agricultural Products Quality & Safety Traceability Information Technology, Zhongkai University of Agriculture and Engineering, Guangzhou 510225, China)

  • Shuangyin Liu

    (College of Information Science and Technology, Zhongkai University of Agriculture and Engineering, Guangzhou 510225, China
    Guangzhou Key Laboratory of Agricultural Products Quality & Safety Traceability Information Technology, Zhongkai University of Agriculture and Engineering, Guangzhou 510225, China)

  • Rong Zhu

    (College of Information Science and Technology, Zhongkai University of Agriculture and Engineering, Guangzhou 510225, China)

  • Zihao Zhang

    (College of Information Science and Technology, Zhongkai University of Agriculture and Engineering, Guangzhou 510225, China
    Guangzhou Key Laboratory of Agricultural Products Quality & Safety Traceability Information Technology, Zhongkai University of Agriculture and Engineering, Guangzhou 510225, China)

  • Yusha Fu

    (College of Information Science and Technology, Zhongkai University of Agriculture and Engineering, Guangzhou 510225, China
    Guangzhou Key Laboratory of Agricultural Products Quality & Safety Traceability Information Technology, Zhongkai University of Agriculture and Engineering, Guangzhou 510225, China)

  • Junde Lu

    (College of Information Science and Technology, Zhongkai University of Agriculture and Engineering, Guangzhou 510225, China
    Guangzhou Key Laboratory of Agricultural Products Quality & Safety Traceability Information Technology, Zhongkai University of Agriculture and Engineering, Guangzhou 510225, China)

Abstract

In practical usage, QR codes often become difficult to recognize due to damage. Traditional restoration methods exhibit a limited effectiveness for severely damaged or densely encoded QR codes, are time-consuming, and have limitations in addressing extensive information loss. To tackle these challenges, we propose a two-stage restoration model named the EHFP-GAN, comprising an edge restoration module and a QR code reconstruction module. The edge restoration module guides subsequent restoration by repairing the edge images, resulting in finer edge details. The hierarchical feature pyramid within the QR code reconstruction module enhances the model’s global image perception. Using our custom dataset, we compare the EHFP-GAN against several mainstream image processing models. The results demonstrate the exceptional restoration performance of the EHFP-GAN model. Specifically, across various levels of contamination, the EHFP-GAN achieves significant improvements in the recognition rate and image quality metrics, surpassing the comparative models. For instance, under mild contamination, the EHFP-GAN achieves a recognition rate of 95.35%, while under a random contamination, it reaches 31.94%, both outperforming the comparative models. In conclusion, the EHFP-GAN model demonstrates remarkable efficacy in the restoration of damaged QR codes.

Suggested Citation

  • Jianhua Zheng & Ruolin Zhao & Zhongju Lin & Shuangyin Liu & Rong Zhu & Zihao Zhang & Yusha Fu & Junde Lu, 2023. "EHFP-GAN: Edge-Enhanced Hierarchical Feature Pyramid Network for Damaged QR Code Reconstruction," Mathematics, MDPI, vol. 11(20), pages 1-19, October.
  • Handle: RePEc:gam:jmathe:v:11:y:2023:i:20:p:4349-:d:1263356
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/11/20/4349/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/11/20/4349/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:11:y:2023:i:20:p:4349-:d:1263356. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.