matthewearl / deep-anpr
- вторник, 10 мая 2016 г. в 03:12:58
Python
Using neural networks to build an automatic number plate recognition system
Using neural networks to build an automatic number plate recognition system. See this blog post for an explanation.
Usage is as follows:
./extractbgs.py SUN397.tar.gz
: Extract ~3GB of background images from the SUN database
into bgs/
. (bgs/
must not already exist.) The tar file (36GB) can be downloaded here.
This step may take a while as it will extract 108,634 images.
./gen.py 1000
: Generate 1000 test set images in test/
. (test/
must not
already exist.) This step requires UKNumberPlate.ttf
to be in the current
directory, which can be downloaded here.
./train.py
: Train the model. A GPU is recommended for this step.
./detect.py in.jpg weights.npz out.jpg
: Detect number plates in an image.
The project has the following dependencies: