Aesthetic QR Code Authentication Based on Directed Periodic Texture Pattern

  • Li Li
  • Min He
  • Jier Yu
  • Jianfeng LuEmail author
  • Qili Zhou
  • Xiaoqing Feng
  • Chin-Chen Chang
Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 895)


More and more people use mobile phones to buy goods through scanning the printed aesthetic QR code. QR code has become an important payment tool in today’s business. However, there is an inevitable risk in payment processing. In particular, it is difficult to detect whether an aesthetic QR code has been tampered by the attacker. Therefore, it is extremely important to carry out security certification for aesthetic QR code. We propose an algorithm based on the combination of directional periodic texture pattern and aesthetic QR code. Firstly, the aesthetic QR code is generated based on the Positive Basis Vector Matrix (PBVM), whereas the watermark is encoded into 4-bit Gray code and quantized into angles. Then, a periodic texture pattern is generated using a random matrix, and a directed periodic texture pattern is obtained by rotating the texture pattern according to the quantization angle. Finally, the new texture pattern and the aesthetic QR code are fused to obtain an authentication aesthetic QR code. The experiments verified that the aesthetic QR code can be correctly decoded and the watermark can be properly extracted. By utilizing the locating position patterns of the QR code, the additional watermark reference block is not required, therefore, the capacity of the watermark is enhanced. Moreover, the proposed scheme realizes the anti-counterfeiting authentication of aesthetic QR code, and maintains a better visual quality.


Aesthetic QR code Watermark Authentication 



This work was mainly supported by National Natural Science Foundation of China (No. 61370218, No. GG19F020033), Public Welfare Technology and Industry Project of Zhejiang Provincial Science Technology Department (No. 2016C31081, No. LGG18F020013, No. LGG19F020016).


  1. 1.
    Suryotrisongko, H., Sugiharsono, Setiawan, B.: A novel mobile payment scheme based on secure quick response payment with minimal infrastructure for cooperative enterprise in developing countries. Proc. Soc. Behav. Sci. 65, 906–912 (2012)CrossRefGoogle Scholar
  2. 2.
    Ortiz-Yepes, D.A.: A review of technical approaches to realizing near-field communication mobile payments. IEEE Secur. Priv. 14(4), 54–62 (2016)CrossRefGoogle Scholar
  3. 3.
    Ahmed, Q., Munib, S., Mirza, M.T., et al.: Smart phone based online medicine authentication using print-cam robust watermarking. In: 13th International Conference on Frontiers of Information Technology, pp. 222–227. IEEE, Islamabad (2015)Google Scholar
  4. 4.
    Kuribayashi, M., Morii, M.: Aesthetic QR code based on modified systematic encoding function. IEICE Trans. Inf. Syst. E100D, 42–51 (2017)Google Scholar
  5. 5.
    Lu, J., Yang, Z., Li, L., et al.: Multiple schemes for mobile payment authentication using QR code and visual cryptography. Mob. Inf. Syst. 9, 1–12 (2016)Google Scholar
  6. 6.
    Li, L., Zhang, S., Yang, Z., Lu, J., Chang, C.C.: Novel schemes for bike-share service authentication using aesthetic QR code and color visual cryptography. In: Sun, X., Chao, H.C., You, X., Bertino, E. (eds.) Cloud Computing and Security, ICCCS 2017. LNCS, vol. 10603, pp. 837–842. Springer, Cham (2017)Google Scholar
  7. 7.
    Pramila, A., Keskinarkaus, A., Seppänen, T.: Increasing the capturing angle in print-cam robust watermarking. J. Syst. Softw. 135, 205–215 (2018)CrossRefGoogle Scholar
  8. 8.
    Katayama, A., Nakamura, T., Yamamuro, M., Sonehara, N.: New highspeed frame detection method: side trace algorithm (STA) for i-appli on cellular phones to detect watermarks. In: Proceedings of the 3rd International Conference on Mobile and Ubiquitous Multimedia, College Park, Maryland, USA, vol. 83, pp. 109–116 (2004)Google Scholar
  9. 9.
    Kim, W., Jang, H.J., Kim, G.Y.: Transmission rate prediction of VBR motion image using the kalman filter. In: International Conference on Computational Science and Its Applications, vol. 3981, pp. 106–113. Springer, Heidelberg (2006)Google Scholar
  10. 10.
    Pramila, A., Keskinarkaus, A., Seppänen, T.: Toward an interactive poster using digital watermarking and a mobile phone camera. SIViP 6(2), 211–222 (2016)CrossRefGoogle Scholar
  11. 11.
    Chou, D.-H., Li, Y.-C.: A perceptually tuned subband image coder based on the measure of just-noticeable-distortion profile. IEEE Trans. Circ. Syst. Video Technol. ACM 5(6), 467–476 (1995)CrossRefGoogle Scholar
  12. 12.
    Li, L., et al.: A new aesthetic QR code algorithm based on salient region detection and SPBVM. In: Peng, S.L., Wang, S.J., Balas, V., Zhao, M. (eds.) Security with Intelligent Computing and Big-data Services, SICBS 2017. AISC, vol. 733, pp. 20–32. Springer, Cham (2018)Google Scholar
  13. 13.
    Hore, A., Ziou, D.: Image quality metrics: PSNR vs. SSIM. In: International Conference on Pattern Recognition, pp. 2366–2369. IEEE (2010)Google Scholar

Copyright information

© Springer Nature Switzerland AG 2020

Authors and Affiliations

  • Li Li
    • 1
  • Min He
    • 1
  • Jier Yu
    • 1
  • Jianfeng Lu
    • 1
    Email author
  • Qili Zhou
    • 1
  • Xiaoqing Feng
    • 2
  • Chin-Chen Chang
    • 3
  1. 1.Hangzhou Dianzi UniversityHangzhouChina
  2. 2.Zhejiang University of Finance and EconomicsHangzhouChina
  3. 3.Feng Chia UniversityTaichungTaiwan

Personalised recommendations