Abstract
The license plate (LP) has regular and prominent edge contour, which we believe is a key factor to improve the precision of LP detection. Therefore, we propose a novel Edge-Guided Sparse Attention (EGSA) mechanism, which is composed of an Edge-Guided Component (EGC) and a Sparse Attention Component (SAC) in tandem. EGC is designed as an end-to-end edge-preserving smoothing filter, which makes full use of convolutional neural networks (CNNs) and edge-guided map to enhance the edge contour of LPs and suppress noise effectively. On this basis, the K most relevant features adaptively searched by SAC are aggregated, thereby obtaining useful long-range dependencies. EGSA mechanism pays attention to the distinguishable regions and the important edge characteristics of LPs at the same time, so that the model can locate more precisely in the complex scenes. By evaluating state-of-the-art attention methods and LP detection models on both CCPD and AOLP datasets, we demonstrate the high precision and strong generalization capability of our proposed method.
Similar content being viewed by others
References
Wang X, Girshick R, Gupta A, He K (2018) Non-local neural networks. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp 7794–7803. https://doi.org/10.1109/CVPR.2018.00813
Li X, Zhong Z, Wu J, Yang Y, Lin Z, Liu H (2019) Expectation-maximization attention networks for semantic segmentation. In: Proceedings of the IEEE International Conference on Computer Vision, pp 9167–9176
Chen Y, Rohrbach M, Yan Z, Yan S, Feng J, Kalantidis Y (2020)) Graph-based global reasoning networks. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp 433–442
Xie C, Wu Y, Maaten LVD, Yuille AL, He K (2019) Feature denoising for improving adversarial robustness. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp 501–509
Yuan Y, Wang J (2018) Ocnet: Object context network for scene parsing. arXiv:180900916
Fu J, Liu J, Tian H, Li Y, Bao Y, Fang Z, Lu H (2019) Dual attention network for scene segmentation. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp 3146–3154
He K, Sun J, Tang X (2012) Guided image filtering. IEEE Trans Pattern Anal Mach Intell 35(6):1397–1409
Huang L, Yang Y, Deng Y, Yu Y (2015) Densebox: Unifying landmark localization with end to end object detection. arXiv:150904874
Xu Z, Yang W, Meng A, Lu N, Huang H, Ying C, Huang L (2018) Towards End-to-End License Plate Detection and Recognition: A Large Dataset and Baseline, vol 11217, Springer International Publishing, Cham, pp 261–277
Hsu GS, Chen JC, Chung YZ (2013) Application-oriented license plate recognition. IEEE Trans Veh Technol 62(2):552–561. https://doi.org/10.1109/TVT.2012.2226218
Rafique MA, Pedrycz W, Jeon M (2018) Vehicle license plate detection using region-based convolutional neural networks. Soft Comput (Berlin Germany) 22(19):6429–6440
Laroca R, Severo E, Zanlorensi LA, Oliveira LS, Goncalves GR, Schwartz WR, Menotti D (2018) A robust real-time automatic license plate recognition based on the yolo detector. In: 2018 International Joint Conference on Neural Networks (IJCNN), vol 2018-, pp 1–10. https://doi.org/10.1109/IJCNN.2018.8489629
Xie L, Ahmad T, Jin L, Liu Y, Zhang S (2018) A new cnn-based method for multi-directional car license plate detection. IEEE Trans Intell Transp Syst 19(2):507–517
Kessentini Y, Besbes MD, Ammar S, Chabbouh A (2019) A two-stage deep neural network for multi-norm license plate detection and recognition. Expert Syst Appl 136:159–170
Laroca R, Zanlorensi LA, Goncalves GR, Todt E, Schwartz WR, Menotti D (2021) An efficient and layout-independent automatic license plate recognition system based on the yolo detector. IET Intell Transp Syst 15(4):483–503. https://doi.org/10.1049/itr2.12030
Weihong W, Jiaoyang T (2020) Research on license plate recognition algorithms based on deep learning in complex environment. IEEE Access 8:91661–91675
Ren S, He K, Girshick R, Sun J (2017) Faster r-cnn: Towards real-time object detection with region proposal networks. IEEE Trans Pattern Anal Mach Intell 39(6):1137–1149
Redmon J, Farhadi A (2017) Yolo9000: Better, faster, stronger. In: Proceedings of the IEEE conference on computer vision and pattern recognition, vol 2017-, pp 6517–6525. https://doi.org/10.1109/CVPR.2017.690
Liu W, Anguelov D, Erhan D, Szegedy C, Reed S, Fu CY, Berg A C (2016) SSD: Single Shot MultiBox Detector, Vol 9905. Springer International Publishing, Cham, pp 21–37
Vaswani A, Shazeer N, Parmar N, Uszkoreit J, Jones L, Gomez AN, Kaiser Ł, Polosukhin I (2017) Attention is all you need. In: Guyon I, Luxburg UV, Bengio S, Wallach H, Fergus R, Vishwanathan S, Garnett R (eds) Advances in neural information processing systems, vol 30. Curran Associates, Inc., pp 5998– 6008
Zhao H, Zhang Y, Liu S, Shi J, Change Loy C, Lin D, Jia J (2018) PSANEt: Point-wise Spatial Attention Network for Scene Parsing, vol 11213. Springer International Publishing, Cham, pp 270– 286
Huang Z, Wang X, Wei Y, Huang L, Shi H, Liu W, Huang TS (2020) Ccnet: Criss-cross attention for semantic segmentation. IEEE transactions on pattern analysis and machine intelligence, pp 1–1
Zhang L, Xu D, Arnab A, Torr PHS (2020) Dynamic graph message passing networks. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp 3726–3735
Wu H, Zheng S, Zhang J, Huang K (2018) Fast end-to-end trainable guided filter. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp 1838–1847
Dai J, Qi H, Xiong Y, Li Y, Zhang G, Hu H, Wei Y (2017) Deformable convolutional networks. In: Proceedings of the IEEE international conference on computer vision, pp 764–773
Tian Z, Shen C, Chen H, He T (2019) Fcos: Fully convolutional one-stage object detection. In: Proceedings of the IEEE/CVF International Conference on Computer Vision, pp 9627–9636
Selvaraju RR, Cogswell M, Das A, Vedantam R, Parikh D, Batra D (2020) Grad-cam: Visual explanations from deep networks via gradient-based localization. Int J Comput Vis 128(2):336–359
Li H, Wang P, Shen C (2019a) Toward end-to-end car license plate detection and recognition with deep neural networks. IEEE Trans Intell Transp Syst 20(3):1126–1136
Li H, Wang P, Shen C (2019b) Toward end-to-end car license plate detection and recognition with deep neural networks. IEEE Trans Intell Transp Syst 20(3):1126–1136. https://doi.org/10.1109/TITS.2018.2847291
Zs A, Mbh A, Up B, Maa A (2020) Delp-dar system for license plate detection and recognition. Pattern Recogn Lett 129:213–223
Selmi Z, Halima MB, Alimi AM (2017) Deep learning system for automatic license plate detection and recognition. In: 2017 14Th IAPR international conference on document analysis and recognition (ICDAR), IEEE, vol 1, pp 1132–1138
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that they have no conflict of interest.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Liang, J., Chen, G., Wang, Y. et al. EGSANet: edge–guided sparse attention network for improving license plate detection in the wild. Appl Intell 52, 4458–4472 (2022). https://doi.org/10.1007/s10489-021-02628-4
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10489-021-02628-4