Views
No views yet
| File | Model | Description |
|---|---|---|
yolov8_best_plate_detector.pt | YOLOv8n fine-tuned detector | Motorcycle license plate detection weights |
| Metric | Value |
|---|---|
| mAP50 | 0.995 |
| mAP50-95 | 0.93645 |
| Image size | 640 |
| Batch size | 64 |
| Epoch setting | 150 |
| Early stopping | 53 epochs |
pip install ultralytics huggingface_hub1from huggingface_hub import hf_hub_download
2from ultralytics import YOLO
3
4repo_id = "gkes-lab/motorcycle-license-plate-detection"
5
6model_path = hf_hub_download(
7 repo_id=repo_id,
8 filename="yolov8_best_plate_detector.pt",
9)
10
11model = YOLO(model_path)
12results = model("path/to/image.jpg", conf=0.5)
13
14for result in results:
15 for box in result.boxes:
16 print(box.xyxy, box.conf)