Skip to main content

The implementation of ECCV 2018 paper "License Plate Detection and Recognition in Unconstrained Scenarios" in PyTorch

Project description

WPODNet: Build with Torch

Introduction

This repository implements the proposed method from ECCV 2018 paper "License Plate Detection and Recognition in Unconstrained Scenarios" in Torch.

The model in Keras is built by the essay author, see sergiomsilva/alpr-unconstrained.

Example
Annotated
Warp perspective
Confidence 0.9841 0.9945 0.9979

Quick Run

  1. Clone this repository
    git clone https://github.com/Pandede/WPODNet-Pytorch.git
    
  2. Install PyTorch depends on your environment.
  3. Install packages in requirements.txt
    pip3 install -r requirements.txt
    
  4. Download the pretrained weight wpodnet.pth from here
  5. Predict with an image
    python3 predict.py  docs/sample/original/03009.jpg          # The path to the an image
                        # docs/sample/original                  # OR the path to the directory with bulk of images
                        -w weights/wpodnet.pth                  # The path to the weight
                        --save-annotated docs/sample/annotated  # The directory to save the annotated images
                        --save-warped docs/sample/warped        # The directory to save the warped images
    

Future works

  • Inference with GPU
  • Inference with bulk of images
  • Inference with video
  • Introduce training procedure
  • The matrix multiplication seems weird in function postprocess, may improve the computation.

Citation

@inproceedings{silva2018license,
  title={License plate detection and recognition in unconstrained scenarios},
  author={Silva, Sergio Montazzolli and Jung, Cl{\'a}udio Rosito},
  booktitle={Proceedings of the European conference on computer vision (ECCV)},
  pages={580--596},
  year={2018}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wpodnet-pytorch-1.0.3.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

wpodnet_pytorch-1.0.3-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file wpodnet-pytorch-1.0.3.tar.gz.

File metadata

  • Download URL: wpodnet-pytorch-1.0.3.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for wpodnet-pytorch-1.0.3.tar.gz
Algorithm Hash digest
SHA256 fcc37376989bd972dee7b8cd0c7a8dd27c9e7314995197085647c1c332c118b0
MD5 e69d165521f14f8b69b581f4be459e33
BLAKE2b-256 083632a00c5ea160ae46b7bef6b6b90d31dd09615813f87e7f1ca38b53f170d2

See more details on using hashes here.

File details

Details for the file wpodnet_pytorch-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for wpodnet_pytorch-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 47a55bd7e8c65028ef4dd82d222d243fdc48846af596fae85f2e8570fdf2585b
MD5 5307c79eee7d4ee4cd4662befb1930fa
BLAKE2b-256 8e64155ee2a5252c441bf403c2f8f5566b7bfd33242dd607e99f2704e5ae2fbd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page