Skip to main content

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}
}

Metadata

Release files for wpodnet-pytorch 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wpodnet-pytorch 1.1.1
File Size Uploaded
wpodnet_pytorch-1.1.1.tar.gz 1.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for wpodnet-pytorch 1.1.1
File Interpreter ABI Platform
wpodnet_pytorch-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 1.4 MB

Release files / wpodnet_pytorch-1.1.1.tar.gz

Download URL wpodnet_pytorch-1.1.1.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
a76f0e5d847e0c20c9972468613718227bc4d978c7a64d3d2f3b506097e99407
BLAKE2b-256 checksum
How to use checksums
233735d2a08a1d20d4b43cdfaf69bdd28fb02101bacecb3de33ecf5a9809863d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 2, 2025.

Transparency log

Release files / wpodnet_pytorch-1.1.1-py3-none-any.whl

Download URL wpodnet_pytorch-1.1.1-py3-none-any.whl
Size 18.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e4854d6036174dd309e88d8e156765eabdb718825dd1b28bd635dac38fc03175
BLAKE2b-256 checksum
How to use checksums
43a11ab8525d8b08e61edff0aa070270c0ec2a8e35b4a736e8d11d35a42e5c3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 2, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.3

2 release files

1.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page