Real-time Auto License Plate Recognition with Jetson Nano

Real-time Auto License Plate Recognition with Jetson Nano

This repository provides you with a detailed guide on how to build a real-time license plate detection and recognition system. The source code of the repository implemented on Jetson Nano reached 40 FPS.

The license plate data set for this repository was collected in Vietnam. You can train your model to detect and recognize number plates by following the instructions below.

Table of Contents

Pipeline

This project is developed based on the pipeline described below. From a set of data collected in practice to the problem you want to solve. For details in this project, we will use the dataset of Vietnamese license plates.

External Image

First, you need to prepare a labeled dataset. Then train the object detection model with the GPU on Google Colab or your computer. Depending on the Deeplearning Framework you use, it will output the model file in different formats. With ONNX you can convert most of the above formats to a single .onnx format. Then with TensorRT installed on the Jetpack Jetson Nano, you can run the object detection algorithms with high accuracy and FPS.

Setting up your Jetson

To get started with this project you need to install your jetson nano with the libraries and source code as follows:

Vienamese Plate Dataset

The project shares two sets of data for the license plate identification problem in Vietnam:

License PLate Detection

License PLate Detection results with 40 FPS on Jetson Nano:

License Plate Detection tutorial:

License Plate Recognition

License Plate Recognition results with 40 FPS on Jetson Nano:

License Plate Recognition tutorial:

Reference


[1] https://github.com/dusty-nv/jetson-inference

[2] Liu, Wei, et al. "Ssd: Single shot multibox detector." European conference on computer vision. Springer, Cham, 2016.

[3] Howard, Andrew G., et al. "Mobilenets: Efficient convolutional neural networks for mobile vision applications." arXiv preprint arXiv:1704.04861 (2017).

[4] Bochkovskiy, Alexey, Chien-Yao Wang, and Hong-Yuan Mark Liao. "YOLOv4: Optimal Speed and Accuracy of Object Detection." arXiv preprint arXiv:2004.10934 (2020).

6 Likes


im getting this error or smething when i run below cmd as given in github:python3 detectnet-camera.py --model=./networks/az_ocr/az_ocr_ssdmobilenetv1_2.onnx --class_labels=./networks/az_ocr/labels.txt --input_blob=input_0 --output_cvg=scores --output_bbox=boxes --camera=/dev/video0 --width=640 --height=480
can anyone explain why this is happening?
im using jetson orin nano jetpack 5.1.1 ubuntu 20.0

1 Like