Skip to main content
QUICK REVIEW

[Paper Review] Vehicle and License Plate Recognition with Novel Dataset for Toll Collection

Muhammad Usama, Hafeez Anwar|arXiv (Cornell University)|Feb 11, 2022
Vehicle License Plate RecognitionEngineering10 citations
TL;DR

This paper proposes a three-stage deep learning framework for automatic toll collection using vehicle type recognition, license plate detection, and character recognition, leveraging a novel dataset (DVLPD) of 10,000 Pakistani vehicle images. YOLOv4 achieved the highest mAP of 98.8% for vehicle recognition, 98.5% for license plate detection, and 98.3% for character reading, with Tiny YOLOv4 enabling real-time inference on Raspberry Pi at 0.95s per image.

ABSTRACT

We propose an automatic framework for toll collection, consisting of three steps: vehicle type recognition, license plate localization, and reading. However, each of the three steps becomes non-trivial due to image variations caused by several factors. The traditional vehicle decorations on the front cause variations among vehicles of the same type. These decorations make license plate localization and recognition difficult due to severe background clutter and partial occlusions. Likewise, on most vehicles, specifically trucks, the position of the license plate is not consistent. Lastly, for license plate reading, the variations are induced by non-uniform font styles, sizes, and partially occluded letters and numbers. Our proposed framework takes advantage of both data availability and performance evaluation of the backbone deep learning architectures. We gather a novel dataset, \emph{Diverse Vehicle and License Plates Dataset (DVLPD)}, consisting of 10k images belonging to six vehicle types. Each image is then manually annotated for vehicle type, license plate, and its characters and digits. For each of the three tasks, we evaluate You Only Look Once (YOLO)v2, YOLOv3, YOLOv4, and FasterRCNN. For real-time implementation on a Raspberry Pi, we evaluate the lighter versions of YOLO named Tiny YOLOv3 and Tiny YOLOv4. The best Mean Average Precision (mAP@0.5) of 98.8% for vehicle type recognition, 98.5% for license plate detection, and 98.3% for license plate reading is achieved by YOLOv4, while its lighter version, i.e., Tiny YOLOv4 obtained a mAP of 97.1%, 97.4%, and 93.7% on vehicle type recognition, license plate detection, and license plate reading, respectively. The dataset and the training codes are available at https://github.com/usama-x930/VT-LPR

Motivation & Objective

  • To address challenges in automatic toll collection caused by intra-class variations, non-uniform license plate positions, and image degradation in real-world Pakistani traffic.
  • To develop a robust, end-to-end image-based system for vehicle and license plate recognition that avoids reliance on RFID infrastructure.
  • To evaluate state-of-the-art object detection and recognition models (YOLOv2–v4, FasterRCNN, Tiny YOLO) on a new, diverse dataset tailored for Pakistani vehicles.
  • To enable real-time deployment on low-cost hardware like Raspberry Pi for practical toll plaza applications.
  • To provide a publicly available dataset and codebase to support future research in vehicle and license plate recognition under real-world conditions.

Proposed method

  • Collected and annotated the Diverse Vehicle and License Plates Dataset (DVLPD), comprising 10,000 images across six vehicle types with manual annotations for vehicle type, license plate location, and character/digit content.
  • Designed a three-stage pipeline: Vehicle-Net (vehicle detection and classification), LP-Net (license plate localization), and CR-Net (character and digit recognition).
  • Trained and evaluated YOLOv2, YOLOv3, YOLOv4, FasterRCNN, and their lightweight variants (Tiny YOLOv3, Tiny YOLOv4) on all three tasks using mean average precision (mAP@0.5) as the primary metric.
  • Optimized for real-time inference by evaluating inference times on both GPU and Raspberry Pi hardware, focusing on Tiny YOLOv4 for edge deployment.
  • Developed a graphical user interface (GUI) supporting real-time video and image input with adjustable confidence thresholds and multi-stage output visualization.
  • Conducted end-to-end evaluation on a dedicated test set of 100 images per vehicle type to assess system-level accuracy under real toll plaza conditions.
Vehicle and License Plate Recognition with Novel Dataset for Toll Collection

Experimental results

Research questions

  • RQ1What is the performance of state-of-the-art object detection and recognition models on a real-world, diverse dataset of Pakistani vehicles with complex visual variations?
  • RQ2How do YOLO-based architectures and their lightweight variants compare in accuracy and inference speed for toll collection applications on edge devices?
  • RQ3To what extent do intra-class variations, non-uniform license plate positions, and occlusions affect recognition accuracy in real-world toll scenarios?
  • RQ4Can a three-stage deep learning pipeline achieve high end-to-end recognition accuracy on real-time video streams suitable for deployment on low-cost hardware?
  • RQ5How does the proposed framework compare to RFID-based systems in terms of accuracy, cost, and deployment feasibility in regions with non-standard license plate formats?

Key findings

  • YOLOv4 achieved the highest mAP of 98.8% for vehicle type recognition, 98.5% for license plate detection, and 98.3% for character recognition on the DVLPD dataset.
  • Tiny YOLOv4 achieved a mAP of 97.1% for vehicle recognition, 97.4% for license plate detection, and 93.7% for character recognition, demonstrating strong performance with reduced computational cost.
  • On Raspberry Pi, the full YOLOv4 pipeline took approximately 18.6 seconds per image (7.1 + 6.5 + 5.0 seconds), while Tiny YOLOv4 reduced inference time to 2.45 seconds (0.95 + 0.8 + 0.7 seconds).
  • End-to-end recognition accuracy was highest for cars (99%) and vans (98%), with trucks showing lower performance (96–97%) due to heavy decorations and non-standard plate formats.
  • The proposed framework achieved real-time inference capability on Raspberry Pi, with Tiny YOLOv4 completing the full pipeline in under 3 seconds per image, suitable for live toll plaza deployment.
  • The Diverse Vehicle and License Plates Dataset (DVLPD) and training code are publicly released at https://github.com/usama-x930/VT-LPR to support future research.
Vehicle and License Plate Recognition with Novel Dataset for Toll Collection

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.