Giter VIP home page Giter VIP logo

slpnet_pytorch's Introduction

PRCV2020 paper

Our paper is included in PRCV2020 now! The paper is available in https://link.springer.com/chapter/10.1007/978-3-030-60639-8_25.

SLPNet_pytorch

SLPNet: Towards End-to-End Car License Plates Detection and Recognition Using Lightweight CNN
SLPNet structure

Update

The full source is available now! You can train your own LP detector and recognizer together with your data easiliy. We also provide the best model trained on CCPD dataset in weight/weight3_8/model_best.pth!

Background

This is a model for Automatic License Plate Detection and Recognition, which is trained on CCPD. Hence, it only supports for Chinese Blue LPs now.

Install

1. For demonstration

Now we just provide a demonstration for fun. But it's the best model we have trained and can show our SLPNet's performance.
Just run the main.py and a interface (by PyQt5) will appear and it's easy to operate.
cd SLPNet_Demo
python main.py

2. For train and test

First, you should put your license plate data in 'data' folder, including three part: train, val and test. The train and test part need images together with their labels. Some example are put in the folder and you can refer to the labels' format. The format is as following:
303 510,472 510,474 554,307 556,皖AG1191
It represents 8 corners of a LP and the number. If there is more than one LP, then write the information in next line.
The easiest usage:
For train: python train.py --savedir SLPNetweight
For test: python test_demo.py
More arguments can be adjust in the train_config.py, train.py and test_demo.py.

Environment

Pytorch >= 1.1.0
Opnecv
numpy
PyQt5

Results

We show some recognition results based on images from CCPD and shot personally.
example1 example2
example3 example4

Notice

We open our SLPNet in other platform now. It's a stand-alone program on Windows system and you can just run it in a PC without pytorch or opencv! Here is the URL: 百度网盘 链接:https://pan.baidu.com/s/13Cfb-LOhfa9ZrQnVBotQ9w 提取码:pp2n For successful operation, all the path (whether save path or input images path) of this project shouldn't contain Chinese characters!

Other

Our paper has acceted by PRCV2020, we have opened it now!

slpnet_pytorch's People

Contributors

jackeasson avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.