APP下载

基于颜色定位和边缘检测的车牌定位方法

2017-03-17吴雷汪小飞李艳

电脑知识与技术 2016年32期

吴雷++汪小飞++李艳

摘要:车牌识别技术是智能交通管理系统的关键技术之一,而车牌定位则是车牌识别的实现基础。快速,准确,高鲁棒性的车牌定位技术可以给车牌识别带来极大的辅助。针对车牌定位的问题,研究提出了基于HSV颜色模型的颜色定位方法和通过垂直边缘检测的边缘检测定位这两种方法。两种方法的结合使用不仅实现了车牌快速,准确的定位,更为车牌识别后续的字符分割,字符定位等步骤奠定了坚实的基础。

关键词: 车牌定位;图像处理;HSV颜色模型;边缘检测;数学形态学

中图分类号:TP391 文献标识码:A 文章编号:1009-3044(2016)32-0184-03

Vehicle License Plate Locating Method Based On Color Positioning and Edge Detection

WU Lei, WANG Xiao-fei, LI Yan*

(School of Information Engineering,Hubei University for Nationalities, Enshi 445000, China)

Abstract:License plate recognition technology is one of the key technologies of intelligent traffic management system, license plate location is the basis for the realization of license plate recognition. Fast, accurate and robust license plate location technology can give a great help to the license plate recognition. In view of the problem of license plate location, this paper proposes a color location method based on HSV color model and the edge detection method based on vertical edge detection. Combined with the use of the two methods not only to achieve a fast, accurate positioning, but also for the license plate recognition follow the character segmentation, character positioning and other steps to lay a solid foundation.

Key words:vehicle license plate recognition; image processing; HSV color model;edge detection; mathematical morphology

1 引言

隨着当今社会经济的飞速发展,车辆的数量也变得与日聚增起来。高速增长的汽车数量和落后的停车场管理模式形成了鲜明的矛盾冲突。于是,智能车辆管理系统的实现变得尤为重要。实现智能车辆管理系统的核心内容就是能够自动化识别车辆车牌,而作为车牌识别核心技术的第一步——车牌定位技术的好坏极大程度上决定了车牌识别的性能。

目前车牌定位的实现方法大体分为两类,一类是基于灰度图像的车牌区域定位方法,另一类是基于彩色图像的车牌区域定位方法。前者主要有基于纹理特征法、基于数学形态学法、基于小波分析法等方法。后者主要有基于RGB颜色法、基于神经网络法等。本文结合两类不同的方法,先采用改良的RGB颜色法——HSV颜色模型来识别车牌,可以定位出大部分颜色鲜明的车牌,由于此方法受图片质量影响较大,我们在颜色法后采用边缘检测定位法,通过垂直边缘检测,将图片中垂直边缘较多的区域定位出来,两种方法的结合可以获得车辆图片中车牌所在的区域,判断出真正的车牌位置。……

登录APP查看全文