Abstract
Given the wide use of barcodes, there is a growing demand for their efficient detection and recognition. However, the existing publicly available datasets are insufficient and of poor quality. Moreover, recently proposed approaches were trained on different private datasets, which makes the comparison of proposed methods even more unfair. In this paper, we propose a simple yet efficient technique to generate realistic datasets for barcode detection problem. Using the proposed method, we synthesized a dataset of \(\sim \)30,000 barcodes that closely resembles real barcode data distribution in terms of size, location, and number of barcodes on an image. The dataset contains a large number of different barcode types (Code128, EAN13, DataMatrix, Aztec, QR, and many more). We also provide a new real test dataset of 921 images, containing both document scans and in-the-wild photos, which is much more challenging and diverse compared to existing benchmarks. These new datasets allow a fairer comparison of existing barcode detection approaches. We benchmarked several deep learning techniques on our datasets and discuss the results. Our code and datasets are available at https://github.com/abbyy/barcode_detection_benchmark.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Creusot, C., Munawar, A.: Real-time barcode detection in the wild. In: 2015 IEEE Winter Conference on Applications of Computer Vision, pp. 239–245, January 2015. https://doi.org/10.1109/WACV.2015.39
Creusot, C., Munawar, A.: Low-computation egocentric barcode detector for the blind. In: IEEE International Conference on Image Processing (ICIP), pp. 2856–2860, September 2016. https://doi.org/10.1109/ICIP.2016.7532881
Gallo, O., Manduchi, R.: Reading 1D barcodes with mobile phones using deformable templates. IEEE Trans. Pattern Anal. Mach. Intell. 33, 1834–1843 (2011)
He, K., Girshick, R., Dollar, P.: Rethinking imagenet pre-training. In: The IEEE International Conference on Computer Vision (ICCV), October 2019
He, K., Zhang, X., Ren, S., Sun, J.: Deep residual learning for image recognition. In: The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June 2016
Iglovikov, V.I., Seferbekov, S., Buslaev, A.V., Shvets, A.: TernausNetV2: fully convolutional network for instance segmentation (2018)
Katona, M., Nyúl, L.G.: Efficient 1D and 2D Barcode detection using mathematical morphology. In: Hendriks, C.L.L., Borgefors, G., Strand, R. (eds.) ISMM 2013. LNCS, vol. 7883, pp. 464–475. Springer, Heidelberg (2013). https://doi.org/10.1007/978-3-642-38294-9_39
Hansen, D.K., Nasrollahi, K., Rasmusen, C.B., Moeslund, T.: Real-time barcode detection and classification using deep learning, pp. 321–327, January 2017. https://doi.org/10.5220/0006508203210327
Namane, A., Arezki, M.: Fast real time 1D barcode detection from webcam images using the bars detection method, July 2017
Ohbuchi, E., Hanaizumi, H., Hock, L.A.: Barcode readers using the camera device in mobile phones. In: International Conference on Cyberworlds, pp. 260–265, November 2004. https://doi.org/10.1109/CW.2004.23
Redmon, J., Farhadi, A.: YOLO9000: better, faster, stronger (2016)
Ronneberger, O., Fischer, P., Brox, T.: U-net: convolutional networks for biomedical image segmentation. ArXiv abs/1505.04597 (2015)
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, MUM 2013, pp. 11:1–11:8. ACM, New York (2013). https://doi.org/10.1145/2541831.2541844
Zamberletti, A., Gallo, I., Albertini, S.: Robust angle invariant 1d barcode detection. In: 2013 2nd IAPR Asian Conference on Pattern Recognition, pp. 160–164, November 2013. https://doi.org/10.1109/ACPR.2013.17
Zhao, Q., Ni, F., Song, Y., Wang, Y., Tang, Z.: Deep dual pyramid network for barcode segmentation using barcode-30k database (2018)
Zharikov, I., Nikitin, F., Vasiliev, I., Dokholyan, V.: DDI-100: dataset for text detection and recognition (2019)
Zharkov, A., Zagaynov, I.: Universal barcode detector via semantic segmentation. In: 15th International Conference on Document Analysis and Recognition (ICDAR), Sydney, Australia, pp. 837–843, September 2019. https://doi.org/10.1109/ICDAR.2019.00139
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
Zharkov, A., Vavilin, A., Zagaynov, I. (2020). New Benchmarks for Barcode Detection Using Both Synthetic and Real Data. In: Bai, X., Karatzas, D., Lopresti, D. (eds) Document Analysis Systems. DAS 2020. Lecture Notes in Computer Science(), vol 12116. Springer, Cham. https://doi.org/10.1007/978-3-030-57058-3_34
Download citation
DOI: https://doi.org/10.1007/978-3-030-57058-3_34
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-57057-6
Online ISBN: 978-3-030-57058-3
eBook Packages: Computer ScienceComputer Science (R0)