Algorithm for Locating the Vertices of a QR Code and Removing Perspective

Authors

Keywords:

QR Code, perspective, image correction, image recognition, image processing

Abstract

Scanning QR Codes from cellular phone cameras has made reading this type of two-dimensional code more accessible. However, QR Code photos may show geometric distortions caused by camera positioning in relation to the image to be read and thereby, resulting in a perspective image. These deformations make it difficult to decode QR Codes and thinking about it, this article proposes an algorithm that, first, finds the vertices of the polygon that delimits the area of a QR Code and from the coordinates of these vertices, the algorithm removes the perspective from the image.

 

Downloads

Download data is not yet available.

Author Biographies

Heitor Eugênio Gonçalves, Universidade Federal de Uberlândia

Heitor Eugênio Gonçalves Graduando em Engenharia Eletrônica e de Telecomunicações pela Universidade Federal de Uberlândia (UFU). Foi membro do Programa de Educação Tutorial (PET) Engenharia Elétrica durante o período de abril de 2019 a julho de 2020, onde atuou na organização dos eventos científicos XVII Conferência de Estudos em Engenharia Elétrica e XVI Jornada da Engenharia Elétrica, de minicursos e de programas de extensão, como o Engenharia no Ensino Médio

Luciano Xavier Medeiros, Universidade Federal de Uberlândia (UFU)

Luciano Xavier Medeiros Possui graduação em Engenharia Elétrica com ênfase em Eletrônica pela Universidade Federal de Uberlândia (2003), mestrado em Engenharia Elétrica pela Universidade Federal de Uberlândia (2006) e doutorado em Engenharia Elétrica pela Universidade Federal de Uberlândia (2012). Durante o período de 2010 a 2017, fez parte do quadro de professores efetivos da Universidade Federal do Triângulo Mineiro (UFTM), onde foi membro do Departamento de Engenharia Elétrica dessa instituição, lecionando diversas disciplinas, como Eletromagnetismo, Linhas de Transmissão e Radiação, Eletrônica Digital 1 e 2, Processamento Digital de Imagens, dentre outras. Atualmente é professor adjunto da Universidade Federal de Uberlândia (UFU), atuando principalmente na área de Engenharia de Telecomunicações.

Alexandre Coutinho Mateus, Universidade Federal de Uberlândia

Alexandre Coutinho Mateus Possui graduação em engenharia elétrica pela Universidade Federal de Uberlândia (1996), mestrado em engenharia elétrica pela Universidade Federal de Uberlândia (1998) onde atuou na área de Automação e Controle desenvolvendo um software de controle de nível utilizando lógica Fuzzy em uma rede fieldbus; concluiu doutorado em engenharia elétrica pela Universidade Federal de Uberlândia (2007), onde desenvolveu estudos na área de Telecomunicação trabalhando com propagação na baixa ionosfera, iniciou o curso de pós-doutorado na engenharia mecânica pela Universidade Federal de Uberlândia, (2009)participando de um projeto de pesquisa para construção de uma máquina de ensaio de fadiga dedicada a sistemas biomecânicos, no núcleo de projetos e sistemas mecânicos ; atualmente professor adjunto no departamento de engenharia Elétrica da Fundação Universidade Federal de Uberlândia.

References

S. Morita and T. Eckschmidt, QR Code: Comunicação e Engajamento. CreateSpace Independent Publishing Platform, 2014.

S. Tiwari, “An Introduction to QR Code Technology,” in 2016 International Conference on Information Technology (ICIT), 2016, pp. 39–44.

D. W. Incorporated, “History of QR Code,” 2019. [Online]. Available: https://www.qrcode.com/en/history

M. S. Hodage, M. S. Mangade, M. P. Touti, M. K. Yadav, and M. Kotkar, “Smart QR Code Based Application as Medicine Spotter for Visually Impaired,” International Journal of Advance Scientific Research and Engineering Trends, vol. 3, no. 5, 2018.

C.-y. Law and S. So, “QR codes in education,” Journal of Educational Technology Development and Exchange (JETDE), vol. 3, no. 1, p. 7, 2010.

C.-T. Huang, Y.-H. Zhang, L.-C. Lin, W.-J. Wang, and S.-J. Wang, “Mutual authentications to parties with QR-code applications in mobile systems,” International Journal of Information Security, vol. 16, no. 5, pp. 525–540, 2017.

H. Zhang, C. Zhang, W. Yang, and C.-Y. Chen, “Localization and navigation using QR code for mobile robot in indoor environment,” in 2015 IEEE International Conference on Robotics and Biomimetics (ROBIO). IEEE, 2015, pp. 2501–2506.

H. Tribak and Y. Zaz, “QR Code Recognition based on Principal Components Analysis Method,” (IJACSA) International Journal of Advanced Computer Science and Applications, vol. 8, no. 4, 2017.

T. Hicham and Y. Zaz, “QR code patterns localization based on Hu Invariant Moments,” Int. J. Adv. Comput. Sci. Appl, vol. 8, no. 9, p. 162, 2017.

L. Belussi and N. Hirata, “Fast QR Code Detection in Arbitrarily Acquired Images,” pp. 281–288, 2011.

L. Karrach, E. Pivarčiová, and P. Božek, “Identification of QR Code Perspective Distortion Based on Edge Directions and Edge Projections Analysis,” Journal of Imaging, vol. 6, no. 7, p. 67, 2020.

J. Zhou, Y. Liu, and A. Kumar, “Research on Distortion Correction of QR Code Images,” 2012.

J.-w. Wei, S.-g. Dai, and A. Mu, “Rectification And Localization of QR Code Image Based on Methmatical Morpholoy and Hough Transformation,” Computer and Information Technology, vol. 6, 2010.

G. Klimek and Z. Vamossy, “QR code detection using parallel lines,” in 2013 IEEE 14th International Symposium on Computational Intelligence and Informatics (CINTI). IEEE, 2013, pp. 477–481.

K. Suran, “QR code image correction based on corner detection and convex hull algorithm,” Journal of multimedia, vol. 8, no. 6, p. 662, 2013.

P. Boulos and I. de Camargo E. Oliveira, Geometria analítica: um tratamento vetorial. Prentice Hall Brasil, 2005.

Published

2021-04-26

How to Cite

Eugênio Gonçalves, H., Xavier Medeiros, L. ., & Coutinho Mateus, A. . (2021). Algorithm for Locating the Vertices of a QR Code and Removing Perspective. IEEE Latin America Transactions, 19(11), 1933–1940. Retrieved from https://latamt.ieeer9.org/index.php/transactions/article/view/4814