Open Access iconOpen Access

ARTICLE

crossmark

DM Code Key Point Detection Algorithm Based on CenterNet

by Wei Wang1, Xinyao Tang2,*, Kai Zhou1, Chunhui Zhao1, Changfa Liu3

1 School of Information Engineering, Chang’an University, Xi’an, 710018, China
2 Algorithm Research and Development Department, GRGBanking Equipment Co., Ltd., Guangzhou, 510663, China
3 Research and Development Department, Xi’an Soar Electromechanical Technology, Ltd., Xi’an, 710043, China

* Corresponding Author: Xinyao Tang. Email: email

(This article belongs to the Special Issue: Advanced Artificial Intelligence and Machine Learning Frameworks for Signal and Image Processing Applications)

Computers, Materials & Continua 2023, 77(2), 1911-1928. https://doi.org/10.32604/cmc.2023.043233

Abstract

Data Matrix (DM) codes have been widely used in industrial production. The reading of DM code usually includes positioning and decoding. Accurate positioning is a prerequisite for successful decoding. Traditional image processing methods have poor adaptability to pollution and complex backgrounds. Although deep learning-based methods can automatically extract features, the bounding boxes cannot entirely fit the contour of the code. Further image processing methods are required for precise positioning, which will reduce efficiency. Because of the above problems, a CenterNet-based DM code key point detection network is proposed, which can directly obtain the four key points of the DM code. Compared with the existing methods, the degree of fitness is higher, which is conducive to direct decoding. To further improve the positioning accuracy, an enhanced loss function is designed, including DM code key point heatmap loss, standard DM code projection loss, and polygon Intersection-over-Union (IoU) loss, which is beneficial for the network to learn the spatial geometric characteristics of DM code. The experiment is carried out on the self-made DM code key point detection dataset, including pollution, complex background, small objects, etc., which uses the Average Precision (AP) of the common object detection metric as the evaluation metric. AP reaches 95.80%, and Frames Per Second (FPS) gets 88.12 on the test set of the proposed dataset, which can achieve real-time performance in practical applications.

Keywords


Cite This Article

APA Style
Wang, W., Tang, X., Zhou, K., Zhao, C., Liu, C. (2023). DM code key point detection algorithm based on centernet. Computers, Materials & Continua, 77(2), 1911-1928. https://doi.org/10.32604/cmc.2023.043233
Vancouver Style
Wang W, Tang X, Zhou K, Zhao C, Liu C. DM code key point detection algorithm based on centernet. Comput Mater Contin. 2023;77(2):1911-1928 https://doi.org/10.32604/cmc.2023.043233
IEEE Style
W. Wang, X. Tang, K. Zhou, C. Zhao, and C. Liu, “DM Code Key Point Detection Algorithm Based on CenterNet,” Comput. Mater. Contin., vol. 77, no. 2, pp. 1911-1928, 2023. https://doi.org/10.32604/cmc.2023.043233



cc Copyright © 2023 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 587

    View

  • 416

    Download

  • 0

    Like

Share Link