摘要
为了对现有小型汽车号牌识别系统进行优化,改善车牌字符识别系统性能,借助OpenCV图像处理开源库,在车牌图像预处理阶段采用均值滤波方法提高图像质量,采用Sobel边缘检测算子对图像边缘进行提取,利用交替的膨胀、腐蚀操作结合车牌长宽比实现车牌轮廓定位,并根据列像素值对车牌字符进行切割,最后采用改进的K近邻算法对分割后的单个车牌字符进行识别。实验结果表明,基于改进K近邻算法的车牌识别系统处理时间为2.08s,识别正确率达91.3%。与传统的K近邻算法相比有着更高的识别率,与神经网络法相比,有着更快的识别速度。
In order to optimize the existing license plate recognition system,improve the performance of the license plate character rec⁃ognition system,in this paper,with the aid of OpenCV image processing open source library,in the license plate image preprocessing stage,we use the average filtering method to improve the images’quality,adopt Sobel edge detection operator to extract images’edge,achieve the license plate contour positioning through the use of alternating dilation and erosion,and cut license plate character according to the column pixels.At last,the improved K-nearest neighbour algorithm is used to recognize the single plate character af⁃ter segmentation.Experimental results show that the processing time of the vehicle license plate recognition system based on the im⁃proved K-nearest neighbor algorithm is 2.08 seconds,and the recognition accuracy is 91.3%.Compared with traditional K-nearest neighbor algorithm,this algorithm has higher recognition rate,and it has faster recognition speed than neural network.
作者
马志远
余粟
MA Zhi-yuan;YU Su(School of Mechanical and Automotive Engineering,Shanghai University of Engineering Science;Engineering Training Center,Shanghai University of Engineering Science,Shanghai 201620,China)
出处
《软件导刊》
2020年第6期231-234,共4页
Software Guide
关键词
均值滤波
SOBEL边缘检测
车牌识别
改进的K近邻算法
mean filtering
Sobel edge detection
license plate recognition
improved K nearest neighbor algorithm