主办:陕西省汽车工程学会
ISSN 1671-7988  CN 61-1394/TH
创刊:1976年

Automobile Applied Technology ›› 2023, Vol. 48 ›› Issue (12): 44-47.DOI: 10.16638/j.cnki.1671-7988.2023.012.009

• Intelligent Connected Vehicle • Previous Articles    

A License Plate Location Algorithm Based on Contour Features

CAO Wenping, CHEN Houjin   

  1. College of Mechanical and Electrical Engineering, Xinxiang University
  • Online:2023-06-30 Published:2023-06-30
  • Contact: CAO Wenping

一种基于轮廓特征的车牌定位算法

曹文平,陈厚锦   

  1. 新乡学院 机电工程学院
  • 通讯作者: 曹文平
  • 作者简介:曹文平(1988-),男,硕士,助教,研究方向为汽车设计、机器视觉,E-mail:540158097@qq.com。

Abstract: In order to detect the location information of the license plate in the image quickly and conveniently, this paper proposes a license plate location algorithm based on image contour features. This algorithm is based on the correlation function in the OpenCV database. Firstly, using image preprocessing operations to enhance images, and then the license plate is located by contour search and area filtering. Then, the eligible contour is filtered according to the pixel information and width height ratio of the license plate. Finally, using the green border to frame the license plate and display and save the image after positioning.

Key words: Contour features; OpenCV database; License plate positioning algorithm

摘要: 为了方便快捷地检测到图片中汽车牌照的位置信息,文章提出了一种基于图像轮廓特 征的车牌定位算法。此算法基于 OpenCV 数据库中的相关函数,首先使用图像预处理操作来 增强图像,然后采用轮廓查找、面积筛选的方式定位车牌,接着根据车牌的像素信息和宽高 比例等特征筛选出符合条件的轮廓,最后使用绿色框线将车牌框选并显示和保存定位完成的 图像。

关键词: 轮廓特征;OpenCV 数据库;车牌定位算法