Instructions to use manitriesCV/License-Plate-Reader with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use manitriesCV/License-Plate-Reader with ultralytics:
from huggingface_hub import hf_hub_download from ultralytics import YOLO # pick the weights file from this repo's "Files and versions" tab weights = hf_hub_download("manitriesCV/License-Plate-Reader", "<weights>.pt") model = YOLO(weights) source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
License Plate Reader
Live demo: Try it here
YOLOv8 model that detects license plates and outputs the license number in any provided image.
Training
- Base model: YOLOv8n
- Dataset: german-license-plates, 600 images
- Epochs: 39
Results
| mAP50 | mAP50-95 | Precision | Recall |
|---|---|---|---|
| 0.99246 | 0.68575 | 0.97529 | 0.97071 |
Usage
from ultralytics import YOLO
model = YOLO("best.pt")
model("car.jpg", save=True)
Limitations
Works best in good lighting and medium to high resolution images; may fail on unusual plate formats, extreme rotations and poor quality images.
- Downloads last month
- 65