• Stars
    star
    162
  • Rank 231,006 (Top 5 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created about 5 years ago
  • Updated over 1 year ago

Reviews

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

Repository Details

ALPR model in unconstrained scenarios for Chinese license plates

ALPR utils

This is a DL model to detect & recognize Chinese license plates in unconstrained scenarios.

p1 p2 p3 p4 p5

Requirements

Download models

You can checkout the pre-trained models in pretrained/* branches.

Run a cli-demo

Simplest:

python3 test.py /path/to/image

Details:

$ python3 test.py --help
usage: test.py [-h] [--dims DIMS] [--threshold THRESHOLD] [--plt_w PLT_W]
               [--plt_h PLT_H] [--seq_len SEQ_LEN] [--no_yolo] [--beam]
               [--beam_size BEAM_SIZE] [--device_id DEVICE_ID] [--gpu]
               IMG [IMG ...]

Start a ALPR tester.

positional arguments:
  IMG                   path of the image file[s]

optional arguments:
  -h, --help            show this help message and exit
  --dims DIMS           set the sample dimentions (default: 208)
  --threshold THRESHOLD
                        set the positive threshold (default: 0.9)
  --plt_w PLT_W         set the max width of output plate images (default:
                        144)
  --plt_h PLT_H         set the max height of output plate images (default:
                        48)
  --seq_len SEQ_LEN     set the max length of output sequences (default: 8)
  --no_yolo             do not extract automobiles using YOLOv3
  --beam                using beam search
  --beam_size BEAM_SIZE
                        set the size of beam (default: 5)
  --device_id DEVICE_ID
                        select device that the model using (default: 0)
  --gpu                 using gpu acceleration

Run a demo server

Simplest:

python3 server.py

Details:

$ python3 server.py --help
usage: server.py [-h] [--dims DIMS] [--threshold THRESHOLD] [--plt_w PLT_W]
                 [--plt_h PLT_H] [--seq_len SEQ_LEN] [--beam_size BEAM_SIZE]
                 [--no_yolo] [--addr ADDR] [--port PORT]
                 [--device_id DEVICE_ID] [--gpu]

Start a ALPR demo server.

optional arguments:
  -h, --help            show this help message and exit
  --dims DIMS           set the sample dimentions (default: 208)
  --threshold THRESHOLD
                        set the positive threshold (default: 0.9)
  --plt_w PLT_W         set the max width of output plate images (default:
                        144)
  --plt_h PLT_H         set the max height of output plate images (default:
                        48)
  --seq_len SEQ_LEN     set the max length of output sequences (default: 8)
  --beam_size BEAM_SIZE
                        set the size of beam (default: 5)
  --addr ADDR           set address of ALPR server (default: 0.0.0.0)
  --port PORT           set port of ALPR server (default: 80)
  --device_id DEVICE_ID
                        select device that the model using (default: 0)
  --gpu                 using gpu acceleration

References

More Repositories

1

fake_chs_lp

Generate the fake Chinese license plate images for detection & recognition
Python
102
star
2

global-wheat-detection

Code for Kaggle competition: Global Wheat Detection
Python
32
star
3

ranger_event

This is a c++11/lua wrapper for libevent.
C++
14
star
4

nndl_cpp

The code samples of "Neural Networks and Deep Learning" by C++11.
C++
11
star
5

ranger_proxy

A SOCKS5 Proxy
C++
10
star
6

cycle_gan

CycleGAN with Spectral Normalization implemented and Class Activation Mapping Attention using MXNet.
Python
9
star
7

toy_chatbot

A toy chatbot built by simple seq2seq LSTM
Python
5
star
8

lua-resty-cppxml

Convert xml string to lua table or reverse convert lua table to xml string.
C++
4
star
9

ranger_bhvr_tree

This is a C++11 implementation of behavior tree.
C++
3
star
10

ai_challenger_zsl

AI Challenger 2018 零样本学习
C++
3
star
11

kml-corrector

火星坐标转地球坐标。
C++
2
star
12

lap_analysis

Lap Analysis uses the lap details page generated by stracker to draw a time-difference chart
Python
1
star
13

simple_thread_pool

A simple thread pool.
C++
1
star
14

ruge

Automatically exported from code.google.com/p/ruge
C++
1
star
15

lua-alisign

Lua module for alipay signature based LuaJIT
C++
1
star
16

char_lstm

A toy LSTM model to generate C++ code like CAF
Python
1
star
17

ai_challenger_scene

AI Challenger 场景分类
C++
1
star
18

ai_challenger_caption

Python
1
star
19

transformer_coupletbot

A toy couplet bot built by Transformer.
Python
1
star
20

toy_coupletbot

A toy couplet bot built by seq2seq LSTM with attention mechanism
Python
1
star
21

policy_gradient

Algorithm implementations of Policy Gradient using MXNet
Python
1
star
22

cpp-template-metaprogramming-exercises

Automatically exported from code.google.com/p/cpp-template-metaprogramming-exercises
C++
1
star
23

hello_vue

HTML
1
star
24

vimrc

Vim preferences for myself
Vim Script
1
star
25

hls_vod

HLS video-on-demand server
Lua
1
star
26

reinforcement_learning

The Python implementation of algorithms in the book "Reinforcement Learning 2nd Edition" by Richard S. Sutton and Andrew G. Barto.
Python
1
star
27

gpx2garmin

将普通的gpx格式文件转换为可上传至Garmin Connect的gpx格式。
C++
1
star