duanshengliu / End-to-end-for-chinese-plate-recognition

基于u-net,cv2以及cnn的中文车牌定位,矫正和端到端识别软件,其中unet和cv2用于车牌定位和矫正,cnn进行车牌识别,unet和cnn都是基于tensorflow的keras实现
Apache License 2.0
517 stars 118 forks source link

小数据集下识别训练后无法识别车牌区域 #6

Closed Yangandmore closed 4 years ago

Yangandmore commented 4 years ago

你好,我尝试使用这个库进行车牌识别,但是中途遇到了问题, 我的环境 mac10.15 python3.6,其他环境有与您的环境相同, 下面是处理标注后将json数据提取的日志:

[WARNING] json_to_dataset:main:16 - This script is aimed to demonstrate how to convert the JSON file to a single image dataset.
[WARNING] json_to_dataset:main:20 - It won't handle multiple JSON files to generate a real-use dataset.
[INFO   ] json_to_dataset:main:77 - Saved to: /Users/yangshiqu/Documents/Cache/AndroidCodeAndApp/Demo/End-to-end-for-chinese-plate-recognition/pic/dst/53_json
0
(512, 512, 3)
255.0
{0.0, 255.0}

但是在训练unet后再使用这个模型去识别车牌,发现识别出来的是整张照片,因此显示无法找到显示区域,请问下这个是什么问题呢?

Yangandmore commented 4 years ago

找到问题了,还真是识别数据不够,我在300的数量下就可以完成车牌的识别了