Fine-tuned vehicle and license plate detectors
This repository packages two project-specific YOLO checkpoints and documents how they were developed. The project contribution is further fine-tuning and experimentation on existing models. It uses architectures and pretrained models from Ultralytics and morsetechlab, and data distributed through AIHub and Roboflow Universe. See Sources and attribution for creators, original links, local export evidence and license notices.
| Artifact | Initialization | Project experiment | Training data |
|---|---|---|---|
| yolo11x_plate-detect.pt | morsetechlab YOLO11 plate detector | Plate v7 | Merged Roboflow plate collections |
| yolo26x_car-detect.pt | Ultralytics YOLO26x | Vehicle v1 | AIHub road-driving imagery |
The checkpoint experiment names were confirmed in the local files. Checksums are in models/SHA256SUMS. The unmodified baseline, face detector, masking pipeline, videos and original datasets are excluded.
Recorded results
| Model / evaluation | Images | Precision | Recall | F1 |
|---|---|---|---|---|
| Pretrained plate baseline / merged Roboflow | 13,053 | 0.9114 | 0.9531 | 0.9318 |
| Plate v7 / merged Roboflow | 13,053 | 0.9725 | 0.9900 | 0.9812 |
| Vehicle v1 / AIHub dataset 195 | 736,761 | 0.4444 | 0.9731 | 0.6101 |
These are recorded fixed-threshold detection results at IoU >= 0.5, not a new benchmark or mAP scores. No experiments were rerun for this release. The upstream plate model currently reports contamination in its own training/test source data; overlap with this project's merged data has not been audited. These scores should not be described as verified independent held-out performance. The full comparison, v3/v6 reporting issues and limitations are documented in report.md.
Model development
Vehicle v1 uses recall-oriented YOLO26x fine-tuning. Plate v7 further fine-tunes the morsetechlab model with downscale/upscale degradation, blur, noise, compression and lighting augmentation. Its configured schedule is up to 120 epochs at training image size 1024, batch size 16 and AdamW learning rate 0.0001. See the report, training settings and training source for the recipe and reproduction limits.
Load a checkpoint
From a downloaded copy of this repository:
python -m pip install -r requirements.txt
from ultralytics import YOLO
model = YOLO("models/yolo11x_plate-detect.pt")
results = model.predict("your_vehicle_image.jpg", imgsz=1008, conf=0.1)
for result in results:
print(result.boxes.xyxy, result.boxes.conf)
To retrieve only a checkpoint from the Hub, replace the repository ID below with the actual uploaded ID. Private repositories require authentication.
from huggingface_hub import hf_hub_download
from ultralytics import YOLO
path = hf_hub_download(
repo_id="YOUR_USERNAME/vehicle-license-plate-detectors",
filename="models/yolo11x_plate-detect.pt",
)
model = YOLO(path)
Use models/yolo26x_car-detect.pt to load the vehicle model. Hardware-specific PyTorch installation may be required for GPU use. These examples have not been validated with fresh inference during release preparation. This repository does not provide a hosted inference service.
Attribution and release status
The upstream morsetechlab model card declares AGPL-3.0; Ultralytics 8.4.75 ships an AGPL-3.0 license. The local Roboflow exports declare CC BY 4.0. These statements apply to their respective upstream materials and are not a blanket repository license. A repository-wide license for project contributions has not yet been selected. Original dataset-creator credits, exact dataset versions and base checkpoint revisions remain partly unresolved; see SOURCES.md.
The package is prepared for private archival upload. Before public release, complete the outstanding attribution and release-license details. UPLOAD.md gives a folder upload command and an optional validation/upload helper.