(49-6) 23 * << * >> * Russian * English * Content * All Issues

Lightweight neural network-based pipeline for barcode image preprocessing
P.K. Zlobin 1,2, V.A. Karnaushko 1, D.M. Ershova 1, R. Sánchez-Rivero 3, P.V. Bezmaternykh 1,2, D.P. Nikolaev 1,2

Smart Engines Service LLC,
117312, Russia, Moscow, 60-th Anniversary of October avenue, 9;
Federal Research Center “Computer Science and Control” of RAS,
119333, Russia, Moscow, Vavilova st., 44 b. 2;
Advanced Technologies Application Center (CENATAV),
Playa P.C.12200, Havana, Cuba, 7A, #21406 Siboney

 PDF, 1566 kB

DOI: 10.18287/COJ1759

Pages: 1071-1080.

Full text of article: English language.

Abstract:
Barcode scanning greatly benefited from deep learning research, as well as the image processing stages included in its workflow. These stages commonly handle pre-processing tasks like localizing barcode symbols in the input image, identifying their type, and normalizing the found regions. They are especially important when there is no a priori knowledge of input image capturing conditions. Thus, a case of multiple barcode recognition within a unique image drastically differs from a single barcode processing in video stream via smartphone. We assess how accuracy of these stages affects the accuracy of the whole barcode scanning as its best and propose a lightweight neural network-based pipeline implementing tasks listed above. To perform this assessment and evaluate the performance of the proposed pipeline elements, we conduct a series of experiments using the set of popular open source scanners, including OpenCV, WeChat, ZBar, ZXing and ZXing-cpp over the SE-barcode and Dubska datasets. These experiments reveal how the proposed pipeline can be configured for optimum speed and accuracy performance depending on the objective and the chosen scanner.

Keywords:
barcode scanning, image processing, deep learning.

Citation:
Zlobin PK, Karnaushko VA, Ershova DM, Sánchez-Rivero R, Bezmaternykh PV, Nikolaev DP. Lightweight neural network-based pipeline for barcode image preprocessing. Computer Optics 2025; 49(6): 1071-1080. DOI: 10.18287/COJ1759.

References:

  1. Kjellberg H, Hagberg J, Cochoy F: Thinking market infrastructure: barcode scanning in the US grocery retail sector, 1967–2010. In: Thinking infrastructures, 2019:207–232..
  2. Melek CG, Sönmez EB, Varl S: Datasets and methods of product recognition on grocery shelf images using computer vision and machine learning approaches: An exhaustive literature review. Engineering Applications of Artificial Intelligence 133 2024. DOI: 10.1016/j.engappai.2024.108452.
  3. Fernandcz WP, Xian Y, Tian Y.: Image-based barcode detection and recognition to assist visually impaired persons. In: 2017 IEEE 7th Annual International Conference on CYBER Technology in Automation, Control, and Intelligent Systems (CYBER), 2017:1241–1245.
  4. Patra S.: Healthcare Distribution Alliance -Barcoding Requirement for Serialized Product. International Journal of Engineering Research & Technology 11(7), 2022:353–358.
  5. Eren BA: QR code m-payment from a customer experience perspective. Journal of Financial Services Marketing p. 1 2022.
  6. Rafferty NE, Fajar AN: Integrated QR payment system (QRIS): cashless payment solution in developing country from merchant perspective. Asia Pacific Journal of Information Systems 32(3), 2022:630–655.
  7. Brylka R, Schwanecke U, Bierwirth B: Camera Based Barcode Localization and Decoding in Real-World Applications. In: 2020 International Conference on Omni-layer Intelligent Systems (COINS), 2020:1–8. DOI: 10.1109/COINS49042.2020.9191416.
  8. Chernov TS, Razumnyy NP, Kozharinov AS, Nikolaev DP, Arlazarov VV: Image quality assessment for video stream recognition systems. ITiVS (4), 2017:71–82. DOI: 10.1117/12.2309628.
  9. Gallo O, Manduchi R: Reading 1D Barcodes with Mobile Phones Using Deformable Templates. IEEE Transactions on Pattern Analysis and Machine Intelligence 33(9), 2011:1834–1843. DOI: 10.1109/TPAMI.2010.229.
  10. Kutiyanawala A, Qi X, Tian J: A simple and efficient approach to barcode localization. In: 2009 7th International Conference on Information, Communications and Signal Processing (ICICS) 2009:1–5. DOI: 10.1109/ICICS.2009.5397472.
  11. Ren, Y., Liu, Z.: Barcode detection and decoding method based on deep learning. In: 2019 2nd International Conference on Information Systems and Computer Aided Education (ICISCAE). 2019:393–396. DOI: 10.1109/ICISCAE48440.2019.217911.
  12. Wudhikarn, R., Charoenkwan, P., Malang, K.: Deep Learning in Barcode Recognition: A Systematic Literature Review. IEEE Access 10, 2022:8049–8072. DOI: 10.1109/access.2022.3143033.
  13. Ouaviani, Pavan, Bottazzi, Brunelli, Caselli, Guerrero: A common image processing framework for 2D barcode reading. In: Image Processing And Its Applications, 1999. Seventh International Conference on (Conf. Publ. No. 465). vol. 2, 1999:652–655. DOI: 10.1049/cp:19990404.
  14. Sörös G, Flörkemeier C: Blur-resistant joint 1D and 2D barcode localization for smartphones. In: Proceedings of the 12th International Conference on Mobile and Ubiquitous Multimedia. 2013:1–8. DOI: 10.1145/2541831.2541844.
  15. Belussi L, Hirata N: Fast QR Code Detection in Arbitrarily Acquired Images. In: 2011 24th SIBGRAPI Conference on Graphics, Patterns and Images. 2011:281–288. DOI: 10.1109/SIBGRAPI.2011.16.
  16. Usilin, S.A.: Using greedy strategy of Viola-Jones cascade choosing for improving performance of multi-class object detection in video stream. Trudy ISA RAN (Proceedings of ISA RAS) 67(1), 2017:75–82.
  17. Hansen DK, Nasrollahi K, B. Rasmusen C, Moeslund TB. Real-Time Barcode Detection and Classification using Deep Learning. Proceedings of the 9th International Joint Conference on Computational Intelligence 2017. DOI: 10.5220/0006508203210327.
  18. Zhang L, Sui Y, Zhu F, Zhu M, He B, Deng Z. Fast Barcode Detection Method Based on ThinYOLOv4. Communications in Computer and Information Science 2021:41–55. DOI: 10.1007/978-981-16-2336-3_4.
  19. Zharkov A, Zagaynov I. Universal Barcode Detector via Semantic Segmentation. 2019 International Conference on Document Analysis and Recognition (ICDAR) 2019:837–43. DOI: 10.1109/ICDAR.2019.00139.
  20. Chen J, Dai N, Hu X, Yuan Y. A Lightweight Barcode Detection Algorithm Based on Deep Learning. Applied Sciences 2024;14:10417. DOI: 10.3390/app142210417.
  21. Ershova DM, Gayer AV, et al. YOLO-Barcode: towards universal real-time barcode detection on mobile devices. Computer Optics 2024;48:592–600. DOI: 10.18287/2412-6179-CO-1424.
  22. Konovalenko I, RMS coordinate discrepancy as accuracy criterion of images normalization at optical document recognition. Informatsionnye protsessy, 20(3), 2020: 215-230.
  23. Chen R, Yu Y, Xu X, Wang L, Zhao H, Tan H-Z. Adaptive Binarization of QR Code Images for Fast Automatic Sorting in Warehouse Systems. Sensors 2019;19:5466. DOI: 10.3390/s19245466.
  24. Yang Z, Xu H, Deng J, Loy CC, Lau WC. Robust and Fast Decoding of High-Capacity Color QR Codes for Mobile Applications. IEEE Trans on Image Process 2018;27:6093–108. DOI: 10.1109/TIP.2018.2855419.
  25. Liao L, Li J, Lu C. Data Extraction Method for Industrial Data Matrix Codes Based on Local Adjacent Modules Structure. Applied Sciences 2022;12:2291. DOI: 10.3390/app12052291.
  26. Wachenfeld S, Terlunen S, Jiang X. Robust 1-D Barcode Recognition on Camera Phones and Mobile Product Information Display. Lecture Notes in Computer Science 2010:53–69. DOI: 10.1007/978-3-642-12349-8_4.
  27. Zamberletti, A., Gallo, I., Albertini, S.: Robust Angle Invariant 1D Barcode Detection 2013.
  28. Zamberletti A , Gallo I, Carullo M, Binaghi E. (2010). Neural Image Restoration for Decoding 1-D Barcodes using Common Camera Phones. VISAPP 2010 - Proceedings of the International Conference on Computer Vision Theory and Applications. 1 2010:5-11.
  29. Zharkov A, Vavilin A, Zagaynov I. New Benchmarks for Barcode Detection Using Both Synthetic and Real Data. Lecture Notes in Computer Science 2020:481–93. DOI: 10.1007/978-3-030-57058-3_34.
  30. Szentandrási I, Herout A, Dubská M. Fast detection and recognition of QR codes in high-resolution images. Proceedings of the 28th Spring Conference on Computer Graphics 2012:129–36. DOI: 10.1145/2448531.2448548.
  31. Zlobin P. The system for synthesizing problem-oriented data packages in the task of reading barcodes. Informatsionnye protsessy 24(4), 2024:438-448. DOI: 10.53921/18195822_2024_24_4_438.
  32. Juba, B., Le, H.S.: Precision-recall versus accuracy and the role of large data sets. In: Proceedings of the AAAI conference on artificial intelligence. vol. 33, 2019:4039–4048.

© 2009, IPSI RAS
151, Molodogvardeiskaya str., Samara, 443001, Russia; E-mail: journal@computeroptics.ru ; Tel: +7 (846) 242-41-24 (Executive secretary), +7 (846) 332-56-22 (Issuing editor), Fax: +7 (846) 332-56-20