基于PYNQ的车牌定位与识别算法

License Plate Positioning and Recognition Algorithm Based on PYNQ

  • 摘要: 针对车牌上下边缘的铆钉造成定位不准确的问题,提出一种新的矩阵阈值法对车牌边缘进行界定. 通过颜色和边缘特征定位车牌区域,然后构建3阶矩阵算子判断车牌边缘坐标. 该算法将车牌坐标的误差从传统极点法的10%缩小到了5%以内. 在此基础上,为提高识别准确率,提出深浅层特征短路式融合算法,获取到车牌字符更多的细节信息. 与经典的CRNN字符识别算法相比,该算法对车牌字符的识别准确率从89.1%提高到了89.9%. 最后针对小型设备嵌入式系统的应用需求,将该算法部署在基于FPGA的PYNQ平台上,通过可编程逻辑实现图像采集与显示,通过处理系统实现图像处理和字符识别,在现实场景中验证了算法的有效性.

     

    Abstract: To solve the problem of inaccurate positioning caused by rivets on the upper and lower edges of the license plate, a new matrix threshold method was proposed to define the edges of the license plate. The license plate area was located by color and edge features, and then a three-order matrix operator was constructed to judge the coordinates of the edges of the license plate. The algorithm reduced the error of license plate coordinates from 10% to less than 5%, compared with that of the traditional pole method. On this basis, in order to improve recognition accuracy, the deep-shallow features short-circuit fusion algorithm was proposed to obtain more detailed information of the characters on the plate. Compared with the classic CRNN character recognition algorithm, the accuracy of the algorithm for license plate characters was increased from 89.1% to 89.9%. Finally, for the application requirements of small device embedded systems, the algorithm was deployed on the PYNQ platform based on FPGA. The image acquisition and display was realized on the programmable logic, and the image processing and character recognition was realized on the processing system, and the effectiveness of the algorithm was verified in the real scene.

     

/

返回文章
返回
Baidu
map