# CLPR.pytorch **Repository Path**: jack508/CLPR.pytorch ## Basic Information - **Project Name**: CLPR.pytorch - **Description**: End to End Chinese License Plate Recognition - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: CLPR - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-03-17 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CLPR:End to End Chinese License Plate Recognition [中文版readme](https://github.com/chenjun2hao/CLPR.pytorch/blob/CLPR/Creadme.md) --- A [PyTorch](http://pytorch.org/) implementation of End to End Chinese License Plate Recognition, the whole project is mainly modified from [SSD](https://github.com/amdegroot/ssd.pytorch), which is a Single-stage object detector. And I mainly adopted the idea of this article([A Novel Integrated Framework for Learning both Text Detection and Recognition](https://arxiv.org/abs/1811.08611v1)) and designed an OCR ROI pooling operation, so that detection, classification and text recognition can be integrated into one net for training, and using VGG as the backbone network. ### Dataset And i use [CCPD: Chinese City Parking Dataset](https://github.com/detectRecog/CCPD) for training, i random choose 70000 sample for training. You can download the whole dataset or just use the images in `./data/test_data` ## Installation requirement 1. clone the project ```python git clone https://github.com/chenjun2hao/CLPR.pytorch.git ``` 2. install [cupy](https://github.com/cupy/cupy), for example: ```bash (Binary Package for CUDA 9.0) $ pip install cupy-cuda90 ``` 3. Other dependencies ```bash python 3.6 pytorch 0.4.0 ``` ## Test For testing, download the pretrained model from [Baidu disk](https://pan.baidu.com/s/1kxbXWjfOwoLgn1qaCSRQnw), password:16pk, and put the model in weights folder. ``` python test.py ``` here are some examples:
图1
图2
图3
图4
图5
图6
## Train **Coming later** ## TO DO - [] For strabismus license plate recognition effect is not good, can add amendments - [] Character recognition is easy to leak out, and it combines multi-layer features for character recognition. ## References - [CCPD: Chinese City Parking Dataset](https://github.com/detectRecog/CCPD) - [Chainer](https://github.com/Hakuyume/chainer-ssd) - [ssd.pytorch](https://github.com/amdegroot/ssd.pytorch)