Downloads · 30 days
36
29% of all-time downloads
zeyadtarek03/alpr-ocr
alpr-ocr is a object detection model from zeyadtarek03. Use it when you need objects located in an image. It is set up for ultralytics. The card lists the license as mit.
This repository contains a custom-trained OCR model for recognizing characters from Saudi vehicle license plates as part of a complete Automatic License Plate Recognition (ALPR) pipeline.
Downloads · 30 days
36
29% of all-time downloads
All-time downloads
124
Public
Repo size
22.5 MB
Likes
0
Public
Click a slice to open those files.
.pt22.5 MB · 100%
From the Hugging Face model README
This repository contains a custom-trained OCR model for recognizing characters from Saudi vehicle license plates as part of a complete Automatic License Plate Recognition (ALPR) pipeline.
The model processes cropped license plate images and detects individual characters, which are then decoded into the final license plate text.
This model is intended for:
ocr_best_v3.pt — Fine-tuned OCR model weightsclass_names.yaml — Character class mapping used during inferenceThe OCR model was trained on a private proprietary dataset specifically prepared for Saudi license plate character recognition.
To respect data ownership and licensing, the training dataset is not included in this repository.
Only the trained model weights are provided for inference and educational purposes.
Load the model using the Ultralytics YOLO API:
from ultralytics import YOLO
model = YOLO("ocr_best_v3.pt")
results = model("plate_image.jpg")
The predicted character detections can then be decoded into the final license plate string using the ALPR pipeline.
The complete ALPR system—including license plate detection, preprocessing, OCR decoding, visualization, and application logic—is available in the corresponding GitHub repository.