Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2019 Dec 11;19(24):5466.
doi: 10.3390/s19245466.

Adaptive Binarization of QR Code Images for FastAutomatic Sorting in Warehouse Systems

Affiliations

Adaptive Binarization of QR Code Images for FastAutomatic Sorting in Warehouse Systems

Rongjun Chen et al. Sensors (Basel). .

Abstract

As the fundamental element of the Internet of Things, the QR code has become increasingly crucial for connecting online and offline services. Concerning e-commerce and logistics, we mainly focus on how to identify QR codes quickly and accurately. An adaptive binarization approach is proposed to solve the problem of uneven illumination in warehouse automatic sorting systems. Guided by cognitive modeling, we adaptively select the block window of the QR code for robust binarization under uneven illumination. The proposed method can eliminate the impact of uneven illumination of QR codes effectively whilst meeting the real-time needs in the automatic warehouse sorting. Experimental results have demonstrated the superiority of the proposed approach when benchmarked with several state-of-the-art methods.

Keywords: QR code; adaptive binarization; automatic sorting system; uneven illumination.

PubMed Disclaimer

Conflict of interest statement

The authors declare that they have no conflicts of interest.

Figures

Figure 1
Figure 1
Diagram of warehouse automatic sorting system.
Figure 2
Figure 2
Diagram of preprocessing.
Figure 3
Figure 3
Process of the adaptive selection of the block window.
Figure 4
Figure 4
The experimental results in ascending order of image size. (a) Original image; (b) Block size w – 10; (c) Block size w  – 5; (d) Block size w; (e) Block size w  + 5; (f) Block size w  + 10.
Figure 5
Figure 5
The values of PSNR and SSIM of different sizes of QR codes under different windows processing. (a) The line graph corresponding to PSNR; (b) The line graph corresponding to SSIM.
Figure 6
Figure 6
The experimental results of fixed image size. (a) Original image; (b) Block size w – 10; (c) Block size w  – 5; (d) Block size w; (e) Block size w  + 5; (f) Block size w + 10.
Figure 7
Figure 7
The values of PSNR and SSIM of QR codes in the same size under different window processing. (a) The line graph corresponding to PSNR; (b) The line graph corresponding to SSIM.
Figure 8
Figure 8
Process of QR code binarization.
Figure 9
Figure 9
Process of cyclic threshold algorithm.
Figure 10
Figure 10
The original image and experimental results from different algorithms: (a) Original image; (b) Otsu’s algorithm; (c) Niblack’s algorithm; (d) Yao’s algorithm; (e) Di’s algorithm; (f) Proposed method.
Figure 11
Figure 11
The original image and experimental results from different algorithms: (a) Original image; (b) Otsu’s algorithm; (c) Niblack’s algorithm; (d) Yao’s algorithm; (e) Di’s algorithm; (f) Proposed method.
Figure 12
Figure 12
The original image and experimental results from different algorithms: (a) Original image; (b) Otsu’s algorithm; (c) Niblack’s algorithm; (d) Yao’s algorithm; (e) Di’s algorithm; (f) Proposed method.
Figure 13
Figure 13
The original image and experimental results from different algorithms: (a) Original image; (b) Otsu’s algorithm; (c) Niblack’s algorithm; (d) Yao’s algorithm; (e) Di’s algorithm; (f) Proposed method.
Figure 14
Figure 14
The original image and experimental results from different algorithms: (a) Original image; (b) Otsu’s algorithm; (c) Niblack’s algorithm; (d) Yao’s algorithm; (e) Di’s algorithm; (f) Proposed method.
Figure 15
Figure 15
The values of PSNR and SSIM of different QR codes using different algorithms. (a) The line graph corresponding to PSNR; (b) The line graph corresponding to SSIM.

References

    1. Yao L., Sheng Q.Z., Dustdar S. Web-based management of the internet of things. IEEE Internet Comput. 2015;19:60–67. doi: 10.1109/MIC.2015.77. - DOI
    1. Li D.X., He W., Li S. Internet of things in industries: A survey. IEEE Trans. Ind. Inform. 2014;10:2233–2243.
    1. Raja S., Rajkumar T.D., Raj V.P. Internet of things: Challenges, issues and applications. J. Circuits Syst. Comput. 2018;27:1830007. doi: 10.1142/S0218126618300076. - DOI
    1. Miorandi D., Sicari S., De Pellegrini F., Chlamtac I. Internet of things: Vision, applications and research challenges. Ad hoc Netw. 2012;10:1497–1516. doi: 10.1016/j.adhoc.2012.02.016. - DOI
    1. McCullouch B.G., Lueprasert K. 2D bar-code applications in construction. J. Constr. Eng. Manag. 1994;120:739–752. doi: 10.1061/(ASCE)0733-9364(1994)120:4(739). - DOI

LinkOut - more resources