SafeDrive Tunisia
Collection
This collection includes models for safe driving: license plate and text detection, seat belt monitoring, and driver state analysis. β’ 7 items β’ Updated
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
This model detects and localizes Tunisian vehicle license plates using the lightweight YOLOv8n architecture.
1 class β "plate" This model is designed for real-time license plate detection:
The lightweight YOLOv8n architecture ensures fast inference even on low-power devices such as Jetson Nano, Raspberry Pi, and mobile CPUs.
from ultralytics import YOLO
# Load model from Hugging Face Hub
model = YOLO("Safe-Drive-TN/Tunisian-Licence-plate-Detection")
# Run prediction
results = model.predict("path/to/car.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"BBox: {box.xyxy[0]}")
licence-plate-detection.pt - Best weights from training
last-weights-licence-plate-detection.pt - Last checkpoint
If you use this model, please cite:
@misc{tunisian-license-plate-detection-2025,
author = {Yassine Mhirsi and Malek Messaoudi},
title = {Tunisian License Plate Detection},
year = {2025},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/Malek-Messaoudi/Tunisian-licence-plate-detection}}
}
license: mit