Skip to content

chunchet-ng/paddleocr_lpr

Repository files navigation

Introduction

This repo contains the demo code for License Plate Recognition using PaddleOCR. Google Colab is used for this demonstration.

Code Structure/Explanation

  1. Setup on Google Colab or ➡️Click here to kickstart this demo directly at Google Colab
  2. HMean Calculation for Text Detection & Spotting Tasks
  3. Accuracy & Edit Distance Calculation for Text Recognition Task
  4. Data Exploration for the CCPD 2019 dataset
  5. Text Detection, Recognition & Spotting on the CCPD 2019 dataset

Do note that you need to run the CCPD_2019 notebook before going into EAST_CRNN_LPR for the first time.

Takeaways

  1. You will learn how the HMean is calculated for the text detection and text spotting tasks with detailed examples.
  2. You will learn how the accuracy, number of correctly recognized words, and total edit distance are calculated for the text recognition task.
  3. You will learn how to make use of the CCPD 2019, a commonly used license plate recognition dataset. Convert the dataset to PaddleOCR format and fine-tune text detection (EAST) and text recognition (CRNN) methods on it. Then, compare the results of using pre-trained and fine-tuned checkpoints using the evaluation methods mentioned above.

Credits

  1. CCPD 2019 dataset
  2. PaddleOCR
  3. Huge thanks to @nwjun and @alex for making the notebooks better and provide valuable feedbacks to this demo! 💪😇👍