Safe-Drive-TN/tunis-word-detection-yolov8s
By Safe-Drive-TN · ↓ 14 · ♥ 0 · Updated 2025-11-18
What's in this repo
This page lists the files in Safe-Drive-TN/tunis-word-detection-yolov8s, including best.onnx.
- 1 ONNX models (.onnx files)
- 73 files, including 45 .jpg, 19 .png, 4 .pt, 1 .md, 1 .yaml, 1 .csv
- Last updated 2025-11-18
ONNX files
| File | Size | Download |
|---|---|---|
| tunis_detector/yolov8s_run/weights/best.onnx | — | Download |
How to use
These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.
README
Tunisian License Plate - Arabic Text Detection (YOLOv8s)
This model detects the Arabic word "تونس" (Tunis) in Tunisian license plates using YOLOv8s.
Model Description
- Model Type: YOLOv8s (Small)
- Task: Object Detection
- Classes: 1 class - "tunis" (Arabic text region)
- Purpose: Detecting and localizing the word "تونس" in Tunisian license plates for OCR preprocessing
Use Case
This model is designed to be used as a preprocessing step for license plate OCR:
- Detect the Arabic text "تونس" region
- Mask or crop this region
- Apply OCR on the remaining numeric characters for better accuracy
Training Details
- Base Model: YOLOv8s pretrained weights
- Image Size: 512x512
- Framework: Ultralytics YOLOv8
- Training Dataset: Tunisian license plate images
Usage
from ultralytics import YOLO
# Load the model
model = YOLO("yassine-mhirsi/tunis-word-detection-yolov8s")
# Run inference
results = model.predict("path/to/license_plate.jpg", conf=0.5)
# Process results
for result in results:
boxes = result.boxes
for box in boxes:
print(f"Confidence: {box.conf[0]:.2f}")
print(f"Bounding Box: {box.xyxy[0]}")
Model Files
best.pt- Best weights from traininglast.pt- Last checkpoint- Training metrics and visualizations included
Example

Citation
If you use this model, please cite:
@misc{tunis-word-detection-yolov8s,
authors = {Yassine Mhirsi,Malek Messaoudi},
title = {Tunisian License Plate Arabic Text Detection},
year = {2025},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/Safe-Drive-TN/tunis-word-detection-yolov8s/}}
}
License
MIT License
Model info
Created: 2025-11-18
Updated: 2025-11-18
View on Hugging FaceFiles (73)
Related models
More from Safe-Drive-TN
No other models by this author.