README.md 1.07 KB
Newer Older
liuhy's avatar
liuhy committed
1
# License-Plate-Recoginition(LPR)
liuhy's avatar
liuhy committed
2
## 模型介绍
liuhy's avatar
liuhy committed
3
4
5
LPR是一个基于深度学习技术的车牌识别模型,主要识别目标是自然场景的车牌图像。

## 模型结构
liuhy's avatar
liuhy committed
6
模型采用LPRNet,模型结构主要包含三部分:一个轻量级CNN主干网络、基于预定位置的字符分类头部、基于贪婪算法的序列解码。此外模型使用CTC Loss和RMSprop优化器。
liuhy's avatar
liuhy committed
7

liuhy's avatar
liuhy committed
8
## 数据集
liuhy's avatar
liuhy committed
9
10
11
推荐使用一个车牌数据集[CCPD](https://github.com/detectRecog/CCPD "CCPD官网GITHub"),也可参考[CCPD](https://blog.csdn.net/LuohenYJ/article/details/117752120 "CCPD中文版介绍"),该数据集由中科大收集,可用于车牌的检测与识别。我们提供了一个脚本cut_ccpd.py用于剪裁出CCPD数据集中的车牌位置,以便用于LPR模型的训练,在cut_ccpd.py中修改img_path和save_path即可,分别是CCPD数据集中ccpd_base文件夹的路径和剪裁出的图像保存路径。

## 训练及推理
liuhy's avatar
liuhy committed
12
13
14
15
16
导出onnx模型:
python test.py --export_onnx true

推理onnx模型:
python LPRNet_ORT_infer.py
liuhy's avatar
liuhy committed
17
18
## 性能和准确率数据
## 参考