**最全车牌识别算法,支持12种中文车牌类型**
**环境要求: python >=3.6 pytorch >=1.7**
#### **图片测试demo:**
直接运行detect_plate.py 或者运行如下命令行:
```
python detect_plate.py --detect_model weights/plate_detect.pt --rec_model weights/plate_rec_color.pth --image_path imgs --output result
```
测试文件夹imgs,结果保存再 result 文件夹中
#### 视频测试demo [2.MP4](https://pan.baidu.com/s/1O1sT8hCEwJZmVScDwBHgOg) 提取码:41aq
```
python detect_plate.py --detect_model weights/plate_detect.pt --rec_model weights/plate_rec_color.pth --video 2.mp4
```
视频文件为2.mp4 保存为result.mp4
## **车牌检测训练**
车牌检测训练链接如下:
[车牌检测训练](https://github.com/we0091234/Chinese_license_plate_detection_recognition/tree/main/readme)
## **车牌识别训练**
车牌识别训练链接如下:
[车牌识别训练](https://github.com/we0091234/crnn_plate_recognition)
#### **支持如下:**
- [X] 1.单行蓝牌
- [X] 2.单行黄牌
- [X] 3.新能源车牌
- [X] 4.白色警用车牌
- [X] 5.教练车牌
- [X] 6.武警车牌
- [X] 7.双层黄牌
- [X] 8.双层白牌
- [X] 9.使馆车牌
- [X] 10.港澳粤Z牌
- [X] 11.双层绿牌
- [X] 12.民航车牌
![Image ](image/README/test_1.jpg)
## 部署
1.[安卓NCNN](https://github.com/Ayers-github/Chinese-License-Plate-Recognition)
2.**onnx demo** 百度网盘: [k874](https://pan.baidu.com/s/1K3L3xubd6pXIreAydvUm4g)
```
python onnx_infer.py --detect_model weights/plate_detect.onnx --rec_model weights/plate_rec_color.onnx --image_path imgs --output result_onnx
```
3.**tensorrt** 部署见[tensorrt_plate](https://github.com/we0091234/chinese_plate_tensorrt)
4.**openvino demo** 版本2022.2
```
python openvino_infer.py --detect_model weights/plate_detect.onnx --rec_model weights/plate_rec.onnx --image_path imgs --output result_openvino
```
## References
* [https://github.com/deepcam-cn/yolov5-face](https://github.com/deepcam-cn/yolov5-face)
* [https://github.com/Sierkinhane/CRNN_Chinese_Characters_Rec](https://github.com/Sierkinhane/CRNN_Chinese_Characters_Rec)
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
基于yolov5 车牌检测 车牌识别 中文车牌识别检测 支持12种中文车牌 支持双层车牌源码+模型+项目说明.zip (146个子文件)
box_overlaps.c 313KB
Dockerfile 846B
single_blue.jpg 1.81MB
test_1.jpg 1.04MB
xue.jpg 999KB
single_green.jpg 903KB
hongkang1.jpg 571KB
police.jpg 382KB
yolov5n-face.jpg 177KB
yolov5n-0.5.jpg 177KB
yolov5m-face.jpg 177KB
yolov5s-face.jpg 176KB
yolov5l-face.jpg 176KB
single_yellow.jpg 85KB
sample.jpg 85KB
shi_lin_guan.jpg 47KB
double_yellow.jpg 29KB
wider_hard_val.mat 414KB
wider_medium_val.mat 403KB
wider_easy_val.mat 399KB
wider_face_val.mat 388KB
README.md 2KB
README.md 1KB
readme.md 1KB
readme_CN.md 1KB
README.md 534B
box_overlaps.o 364KB
box_overlaps.o 332KB
Quicker_20220930_180856.png 1.36MB
Quicker_20220930_180919.png 1.02MB
weixian.png 960KB
tmp8F1F.png 932KB
tmpA5E3.png 513KB
moto.png 400KB
Quicker_20220930_181044.png 328KB
Quicker_20220930_180938.png 241KB
1.png 26KB
105384078.png 19KB
plate_detect.pt 1.12MB
plate_rec_color.pth 733KB
datasets.py 42KB
face_datasets.py 39KB
train.py 31KB
general.py 27KB
common.py 19KB
plots.py 17KB
yolo.py 17KB
detect_plate.py 17KB
test.py 16KB
wandb_utils.py 16KB
loss.py 13KB
openvino_infer.py 13KB
torch_utils.py 12KB
onnx_infer.py 10KB
evaluation.py 9KB
detect_demo.py 9KB
plateNet.py 8KB
metrics.py 8KB
test_widerface.py 8KB
ccpd_process.py 7KB
autoanchor.py 7KB
export.py 7KB
train2yolo.py 7KB
retinaface2yolo.py 6KB
experimental.py 5KB
hubconf.py 5KB
google_utils.py 5KB
json2yolo.py 5KB
trt_model.py 4KB
plate_rec.py 4KB
main.py 4KB
val2yolo.py 3KB
activations.py 2KB
val2yolo_for_test.py 2KB
speed.py 2KB
infer_utils.py 1KB
resume.py 1KB
log_dataset.py 843B
cv_puttext.py 818B
double_plate_split_merge.py 476B
setup.py 341B
__init__.py 0B
__init__.py 0B
__init__.py 0B
__init__.py 0B
datasets.cpython-37.pyc 31KB
datasets.cpython-38.pyc 30KB
face_datasets.cpython-38.pyc 26KB
general.cpython-37.pyc 19KB
general.cpython-38.pyc 19KB
common.cpython-37.pyc 19KB
common.cpython-38.pyc 19KB
plots.cpython-37.pyc 15KB
plots.cpython-38.pyc 15KB
yolo.cpython-38.pyc 12KB
yolo.cpython-37.pyc 12KB
torch_utils.cpython-38.pyc 11KB
torch_utils.cpython-37.pyc 11KB
loss.cpython-38.pyc 7KB
metrics.cpython-38.pyc 7KB
共 146 条
- 1
- 2
资源评论
熬夜写代码的平头哥
- 粉丝: 3950
- 资源: 7362
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功