• Stars
    star
    1,837
  • Rank 25,264 (Top 0.5 %)
  • Language
    Python
  • License
    MIT License
  • Created over 8 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Using neural networks to build an automatic number plate recognition system

Deep ANPR

Using neural networks to build an automatic number plate recognition system. See this blog post for an explanation.

Note: This is an experimental project and is incomplete in a number of ways, if you're looking for a practical number plate recognition system this project is not for you. If however you've read the above blog post and wish to tinker with the code, read on. If you're really keen you can tackle some of the enhancements on the Issues page to help make this project more practical. Please comment on the relevant issue if you plan on making an enhancement and we can talk through the potential solution.

Usage is as follows:

  1. ./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.

  2. ./gen.py 1000: Generate 1000 test set images in test/. (test/ must not already exist.) This step requires UKNumberPlate.ttf to be in the fonts/ directory, which can be downloaded here.

  3. ./train.py: Train the model. A GPU is recommended for this step. It will take around 100,000 batches to converge. When you're satisfied that the network has learned enough press Ctrl+C and the process will write the weights to weights.npz and return.

  4. ./detect.py in.jpg weights.npz out.jpg: Detect number plates in an image.

The project has the following dependencies:

Different typefaces can be put in fonts/ in order to match different type faces. With a large enough variety the network will learn to generalize and will match as yet unseen typefaces. See #1 for more information.

More Repositories

1

faceswap

Python script to put facial features from one face onto another
Python
1,395
star
2

q1physrl

Quake 1 movement physics reinforcement learning
Jupyter Notebook
93
star
3

photo-a-day-aligner

Tools to help compose images from daily self-portrait time lapses
Python
84
star
4

pyquake

Python interface for Quake assets and protocols
Python
70
star
5

lorri-align

Script to register and combine images from the New Horizon's probe
Python
29
star
6

inversehaar

Haar Cascade Inverter
Python
17
star
7

quess-stockfish

Python
14
star
8

ioquake3

Fork of the official ioquake3 repo with various hacks added by me
C
12
star
9

gchq-xmas

A solver for GCHQ's christmas card puzzle
Python
12
star
10

height-map-vis

Program to calculate line-of-sight visibility given height map data.
Python
11
star
11

Raycaster

A small raycasting engine written some time between 2000 and 2005.
C
11
star
12

q1logic

Python
4
star
13

Telescope-Guide

A script to tell you where a telescope is pointing.
Python
4
star
14

demsuperimpose

Python
3
star
15

q3bsp2povray

Convert Q3 BSPs to Pov Ray scenes (SDL)
Python
3
star
16

quakespasm

My various quakespasm hacks
C
2
star
17

quake-notes

A collection of random notes on the Quake engine, descriptions of bugs and so on.
2
star
18

Quake-2-Tools

C
2
star
19

tasquakepy

Python
1
star
20

dem-transpose

Utility to transform Quake demos into a more compressible format
C
1
star
21

scope-motor

Project for controlling my telescope clock drive with an ATmega328
Python
1
star
22

anagram-solver

Python
1
star
23

matthewearl.github.io

HTML
1
star
24

timelapseutils

Utilities for creating timelapse photography sequences from CR2 files
Python
1
star