环境要求: 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 提取码: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
车牌检测训练
车牌识别训练
支持如下:
- 1.单行蓝牌
- 2.单行黄牌
- 3.新能源车牌
- 4.白色警用车牌
- 5.教练车牌
- 6.武警车牌
- 7.双层黄牌
- 8.双层白牌
- 9.使馆车牌
- 10.港澳粤Z牌
- 11.双层绿牌
- 12.民航车牌
完整源码下载:https://download.csdn.net/download/FL1768317420/89325354