Image-to-Text
TensorRT
ONNX
computer-vision
object-detection
yolov8
svtr
alpr
automatic-license-plate-recognition
automatic-number-plate-recognition
license-plate-recognition
onnxruntime
plate-recognition
plate-detection
ocr
Instructions to use anhone3/LiteALPR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TensorRT
How to use anhone3/LiteALPR with TensorRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -11,37 +11,38 @@ tags:
|
|
| 11 |
|
| 12 |
# LiteALPR Models
|
| 13 |
|
| 14 |
-
Pretrained weights for **LiteALPR**,
|
| 15 |
|
| 16 |
## Model Details
|
| 17 |
- **Architecture**:
|
| 18 |
- **Detector**: YOLOv8n-Efficient (utilizing Ghost Convolution via lightweight C3Ghost blocks).
|
| 19 |
-
- **Recognizer**: SVTR26-Tiny (featuring an Efficient RCTC Decoder to bypass heavy attention mechanisms).
|
| 20 |
- **License**: GNU Affero General Public License v3.0 (AGPL-3.0)
|
|
|
|
| 21 |
|
| 22 |
## Training Data
|
| 23 |
-
|
| 24 |
-
- **Brazil**: RodoSol-ALPR
|
| 25 |
-
- **China**: CBLPRD
|
| 26 |
-
- **Vietnam**:
|
| 27 |
|
| 28 |
-
Half of the recognition crops were synthetically degraded (motion blur, Gaussian noise, perspective skew) to ensure high
|
| 29 |
|
| 30 |
## Evaluation Results
|
| 31 |
- **Detection (YOLOv8n-Efficient)**: 99.45% mAP@50, 5.69 GFLOPs, 2.00M parameters.
|
| 32 |
- **Recognition (SVTR26-Tiny)**: 89.15% Sequence Accuracy, 3.28% Character Error Rate (CER), 4.22M parameters.
|
| 33 |
-
|
| 34 |
-
*Note: Tested on NVIDIA RTX 3060 and AMD Ryzen 5 CPU in ONNX FP32 format.*
|
| 35 |
|
| 36 |
## Known Limitations
|
| 37 |
-
- The model
|
|
|
|
| 38 |
|
| 39 |
## How to Cite
|
| 40 |
If you use these models in your research, please cite our paper:
|
| 41 |
|
| 42 |
```bibtex
|
| 43 |
@article{nguyen2026litealpr,
|
| 44 |
-
title={LiteALPR:
|
| 45 |
author={Nguyen, Anh and Hoang, Vinh Truong},
|
| 46 |
journal={SoftwareX},
|
| 47 |
year={2026}
|
|
|
|
| 11 |
|
| 12 |
# LiteALPR Models
|
| 13 |
|
| 14 |
+
Pretrained weights for **LiteALPR**, a lightweight open-source library for fast and accurate Automatic License Plate Recognition (ALPR), explicitly optimized for high-throughput execution on both edge and cloud environments.
|
| 15 |
|
| 16 |
## Model Details
|
| 17 |
- **Architecture**:
|
| 18 |
- **Detector**: YOLOv8n-Efficient (utilizing Ghost Convolution via lightweight C3Ghost blocks).
|
| 19 |
+
- **Recognizer**: SVTR26-Tiny (featuring an Efficient RCTC Decoder to bypass computationally heavy attention mechanisms).
|
| 20 |
- **License**: GNU Affero General Public License v3.0 (AGPL-3.0)
|
| 21 |
+
- **Repository**: [LiteALPR GitHub](https://github.com/vn-anhnth/LiteALPR)
|
| 22 |
|
| 23 |
## Training Data
|
| 24 |
+
To ensure robust, multi-national generalization, the models were trained and validated on a large-scale aggregated dataset of 52,595 images from diverse geographic regions:
|
| 25 |
+
- **Brazil**: [RodoSol-ALPR Dataset](https://github.com/laroca/RodoSol-ALPR)
|
| 26 |
+
- **China**: [CBLPRD Dataset](https://github.com/detectRecog/CBLPRD)
|
| 27 |
+
- **Vietnam**: [Kaggle License Plates Dataset](https://www.kaggle.com/datasets/duydieunguyen/licenseplates) alongside proprietary self-collected real-world traffic footage.
|
| 28 |
|
| 29 |
+
Half of the recognition crops were synthetically degraded (e.g., motion blur, Gaussian noise, perspective skew) during training to ensure high resilience against challenging real-world scenarios.
|
| 30 |
|
| 31 |
## Evaluation Results
|
| 32 |
- **Detection (YOLOv8n-Efficient)**: 99.45% mAP@50, 5.69 GFLOPs, 2.00M parameters.
|
| 33 |
- **Recognition (SVTR26-Tiny)**: 89.15% Sequence Accuracy, 3.28% Character Error Rate (CER), 4.22M parameters.
|
| 34 |
+
- **End-to-End Speed**: 66.5 FPS on GPU (NVIDIA RTX 3060) and 23.4 FPS on CPU (AMD Ryzen 5 4600G) using ONNX FP32 execution.
|
|
|
|
| 35 |
|
| 36 |
## Known Limitations
|
| 37 |
+
- The model currently provides highly accurate out-of-the-box support for **single-line alphanumeric license plates** (A–Z, Đ, 0–9) typical of many global regions.
|
| 38 |
+
- Recognition accuracy on heavily curved multi-line plates or non-Latin characters (e.g., Cyrillic, Arabic) may require custom fine-tuning using the provided training scripts.
|
| 39 |
|
| 40 |
## How to Cite
|
| 41 |
If you use these models in your research, please cite our paper:
|
| 42 |
|
| 43 |
```bibtex
|
| 44 |
@article{nguyen2026litealpr,
|
| 45 |
+
title={LiteALPR: A lightweight open-source library for fast and accurate license plate recognition},
|
| 46 |
author={Nguyen, Anh and Hoang, Vinh Truong},
|
| 47 |
journal={SoftwareX},
|
| 48 |
year={2026}
|