Abstract
Detecting counterfeit Quick Response codes plays a critical role in protecting the integrity of products and documents. This paper presents a novel methodology to increase the reliability of QR code counterfeit detection by integrating neural embedding VGG19 and triplet loss. The approach uses deep neural networks. Specifically, the modification of the VGG19 architecture is used to extract unique features from QR codes. These features are embedded in a multi-dimensional space using neural embedding methods. The use of the triplet loss function aims to increase the discriminative power of the embeddings, ensuring the discriminative power of the embeddings, and ensuring that authentic QR code embeddings are closer to each other and further away from counterfeit embeddings. The effectiveness and robustness of the proposed methodology is substantiated by extensive experimentation on a large dataset. The proposed system effectively identifies counterfeit codes with high confidence, with validation and test scores of up to 99.87% and 99.55% respectively, even when images are distorted, cropped and noisy. Practical implications of the research will be explored, highlighting possible applications for product authentication, anti-counterfeit strategy, and document verification. The combination of neural embedding VGG19 and triplet loss results in improved detection accuracy, enhancing the security and reliability of QR code-based systems. This approach offers a strong answer to the increasingly difficult problems of counterfeit detection in the modern digital age, therefore reflecting a major progress in the area of security and authentication technology. It improves the dependability and integrity of digital systems in addition to solving the technological challenges related to information and counterfeit product identification.
Keywords
Counterfeit detection, Neural embedding, QR code detection, Triplet Loss, VGG19 model
Article Type
Article
First Page
356
Last Page
369
Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 International License.
How to Cite this Article
Putra Kusuma, Gede; Yulianto, Yulianto; Fredyan, Renaldy; Chandi, Hendi; William Tan, Jeffry; Kwan, Philip; and Dafa Syukur, Muhammad
(2026)
"Robust QR Code Counterfeit Detection by Integrating VGG19 Neural Embedding and Triplet Loss,"
Baghdad Science Journal: Vol. 23:
Iss.
1, Article 27.
DOI: https://doi.org/10.21123/2411-7986.5189
