A Lightweight Barcode Detection Algorithm Based on Deep Learning
Open Access
- 12 November 2024
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 14 (22) , 10417
Abstract
For existing situations of missed detections, false detections, and repeated detections in barcode detection algorithms in real-world scenarios, a barcode detection algorithm based on improved YOLOv8 is proposed. The EfficientViT block based on a linear self-attention mechanism is introduced into the backbone of the original model to enhance the model’s attention to barcode features. In the model’s neck, linear mapping and grouped convolution are used to improve the C2f module, and the ADown convolution block is utilized to modify the model’s downsampling, which reduces the model’s parameters and computational cost while improving the efficiency of model feature fusion. Finally, the reconstruction of the model’s detection head and the modification of the loss function are implemented to enhance the model’s training quality and reduce the model’s error in barcode detection. Experimental results indicate that the improved model exhibits an increase of 1.8% in recall rate and 1.9% in mAP50:95 for barcode localization and classification. The FPS is improved by 40 frames per second. The model’s parameter count is reduced by 74.2%, and FLOPs are decreased by 79.6%. Furthermore, the proposed model outperforms other models in terms of model size and barcode detection accuracy.Keywords
Funding Information
- The Science and Technology Program of Zhejiang Province, China (2022C01202, 2022C01065, Y202455953, 23242083-Y)
- Zhejiang Provincial Department of Education Research Project (2022C01202, 2022C01065, Y202455953, 23242083-Y)
- the Zhejiang Sci-Tech University Research Start-up Fund, China (2022C01202, 2022C01065, Y202455953, 23242083-Y)
This publication has 24 references indexed in Scilit:
- Multiscale Attention Networks for Pavement Defect DetectionIEEE Transactions on Instrumentation and Measurement, 2023
- Focal and efficient IOU loss for accurate bounding box regressionNeurocomputing, 2022
- Using Barcode to Track Student Attendance and Assets in Higher Education InstitutionsProcedia Computer Science, 2021
- Effect of barcode technology on medication preparation safety: a quasi-experimental studyInternational Journal for Quality in Health Care, 2021
- QR code and mobile payment: The disruptive forces in retailJournal of Retailing and Consumer Services, 2021
- A Survey on Deep Learning for Named Entity RecognitionIEEE Transactions on Knowledge and Data Engineering, 2020
- Fine localization and distortion resistant detection of multi-class barcode in complex environmentsMultimedia Tools and Applications, 2020
- XOR-ed visual secret sharing scheme with robust and meaningful shadows based on QR codesMultimedia Tools and Applications, 2019
- Mobile payment is not all the same: The adoption of mobile payment systems depending on the technology appliedTechnological Forecasting and Social Change, 2019
- EMBDN: An Efficient Multiclass Barcode Detection Network for Complicated EnvironmentsIEEE Internet of Things Journal, 2019