Skip to content

s-gv/libalpr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libalpr

libalpr locates and recognizes license plates in images. A convnet is used to generate a feature map of the image, and an LSTM reads the license plate character-by-character by paying attention to the part of the feature map corresponding to each character. The network architecture is fully convolutional, so it can accept images of arbitrary size, but it looks for number plates in windows of size 94x54 px.

Sample libalpr output

How-to

Try libalpr with the pre-trained model: python demo.py

To train the model, a synthetic dataset of number plates is generated, but font files and background images are required (location specified in train.py).

Dependencies

  • Python 2.7
  • PyTorch 0.3
  • Pillow
  • Numpy

About

Automatic license plate recognition in PyTorch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages