LCorleone / A-Simple-Chinese-License-Plate-Generator-and-Recognition-Framework

A simple code for creating licence plate images and train e2e network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hyperlpr-train_e2e

A simple code for creating licence plate images and train e2e network based on HyperLPR


Author LCorleone
E-mail lcorleone@foxmail.com

Requirements

  • tensorflow 1.5
  • keras 2.2.0
  • some common packages like numpy and so on.

Quick start

  • run create_train_data.py to create plate image and corresponding labels. This repository also contains the plate generator and can generate thousands of plates.
  • reset the train data path and run train_nn.py to train your model.

Attention

  • The image size created automatically is 120 * 30, fix the input size when you use the e2e network. You can create and train your own e2e network if you want.
  • Generate at least 50000 images for training, less may degrade the performance.
  • Also, when tested in real scene, the e2e network performs not very well due to that the images' quality created automatically are still poor. If you have real image dataset and labels, it may be perfect.

About

A simple code for creating licence plate images and train e2e network


Languages

Language:Python 100.0%