{"title":"Research and Implementation of License Plate Location Based on Improved YOLO Algorithm","authors":"Jianmin Tao, Weiping Hu, Jiabin Ouyang","doi":"10.1145/3386415.3386967","DOIUrl":null,"url":null,"abstract":"At present, license plate location technology mainly has traditional methods and deep learning methods. The traditional license plate location mainly relies on manual extraction of features, and according to the shape and proportion of the license plate to achieve license plate positioning. However, the traditional license plate location method is difficult to meet the requirements of license plate size, shape, illumination and other changes, and it is difficult to achieve the robustness of license plate location. The license plate location technology based on deep learning does not need to select features and design classifiers manually. Its implementation is mainly based on the network automatically learning features of the data to achieve end-to-end license plate location. In this paper, we mainly study You Only Look Once (YOLO) algorithm, which is not accurate enough for the small target positioning, and in order to further improve the license plate location accuracy and speed, we propose to use the large feature map size of 14x14, improve the loss function by adding the Generalized Intersection over Union (GIoU) loss, and when it is training, the Intersection over Union (IoU) calculation method is changed to GIoU, the feature extraction network uses ShuffleNetV2, MobileNetV2 and other networks to extract more accurate features. In the data about campus bayonet vehicles, compared with Single Shot MultiBox Detector (SSD) and YOLOv2, the improved YOLO algorithm has better location accuracy and less location time. The Mean Average Precision (mAP) of improved DetNet59 have reached 99.79% and the precision (prec) has reached 99.97%. For the color image with a width of 680 pixels, and height of 480 pixels, the license plate location time is about 47 milliseconds (ms).","PeriodicalId":250211,"journal":{"name":"Proceedings of the 2nd International Conference on Information Technologies and Electrical Engineering","volume":"45 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-12-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2nd International Conference on Information Technologies and Electrical Engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3386415.3386967","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
At present, license plate location technology mainly has traditional methods and deep learning methods. The traditional license plate location mainly relies on manual extraction of features, and according to the shape and proportion of the license plate to achieve license plate positioning. However, the traditional license plate location method is difficult to meet the requirements of license plate size, shape, illumination and other changes, and it is difficult to achieve the robustness of license plate location. The license plate location technology based on deep learning does not need to select features and design classifiers manually. Its implementation is mainly based on the network automatically learning features of the data to achieve end-to-end license plate location. In this paper, we mainly study You Only Look Once (YOLO) algorithm, which is not accurate enough for the small target positioning, and in order to further improve the license plate location accuracy and speed, we propose to use the large feature map size of 14x14, improve the loss function by adding the Generalized Intersection over Union (GIoU) loss, and when it is training, the Intersection over Union (IoU) calculation method is changed to GIoU, the feature extraction network uses ShuffleNetV2, MobileNetV2 and other networks to extract more accurate features. In the data about campus bayonet vehicles, compared with Single Shot MultiBox Detector (SSD) and YOLOv2, the improved YOLO algorithm has better location accuracy and less location time. The Mean Average Precision (mAP) of improved DetNet59 have reached 99.79% and the precision (prec) has reached 99.97%. For the color image with a width of 680 pixels, and height of 480 pixels, the license plate location time is about 47 milliseconds (ms).
目前,车牌定位技术主要有传统方法和深度学习方法。传统的车牌定位主要依靠人工提取特征,并根据车牌的形状和比例来实现车牌定位。然而,传统的车牌定位方法难以满足车牌尺寸、形状、光照等变化的要求,难以实现车牌定位的鲁棒性。基于深度学习的车牌定位技术不需要人工选择特征和设计分类器。其实现主要是基于网络对数据特征的自动学习,实现端到端的车牌定位。本文主要研究You Only Look Once (YOLO)算法,该算法对于小目标定位精度不够,为了进一步提高车牌定位精度和速度,我们提出使用14x14的大特征图尺寸,通过加入广义交联(Generalized Intersection over Union, GIoU)损失来改进损失函数,并在训练时将交联(Intersection over Union, IoU)的计算方法改为GIoU;特征提取网络采用ShuffleNetV2、MobileNetV2等网络提取更准确的特征。在校园刺刀车辆数据中,与单镜头多盒探测器(Single Shot MultiBox Detector, SSD)和YOLOv2相比,改进的YOLO算法具有更高的定位精度和更短的定位时间。改进后的DetNet59的Mean Average Precision (mAP)达到99.79%,Precision (prec)达到99.97%。对于宽680像素、高480像素的彩色图像,车牌定位时间约为47毫秒(ms)。