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
File size: 855 Bytes
2c88ad2 658bd61 2c88ad2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | ---
license: mit
tags:
- object-detection
- yolov8
- license-plate
library_name: ultralytics
language:
- en
pipeline_tag: object-detection
---
# License Plate Reader
**Live demo:** [Try it here](https://license-plate-reader-4s5i7djwdykuq42yxieqmz.streamlit.app)
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
```python
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. |