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
|
Download README.md from manitriesCV/License-Plate-Reader: direct link, hf CLI and curl.
- Browser
- Download file 855 Bytes
-
https://huggingface.co/manitriesCV/License-Plate-Reader/resolve/main/README.md
- Command line
-
hf download hf://manitriesCV/License-Plate-Reader/README.md
-
curl -L -o README.md https://huggingface.co/manitriesCV/License-Plate-Reader/resolve/main/README.md
855 Bytes
| 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. |