NotePay โ YOLOv8s OBB Receipt Region Detector
Model YOLOv8s dengan Oriented Bounding Box (OBB) untuk mendeteksi 4 region pada struk belanja.
Classes
| ID | Label |
|---|---|
| 0 | nama_toko |
| 1 | line_item |
| 2 | tanggal_waktu |
| 3 | total_belanja |
Usage
from ultralytics import YOLO
from huggingface_hub import hf_hub_download
model_path = hf_hub_download(repo_id="NeoCode77/notepay-yolo-receipt", filename="best.pt")
model = YOLO(model_path)
results = model("struk.jpg", conf=0.3)
results[0].show()
Training
- Base model: YOLOv8s-OBB
- Dataset: Receipt images dengan anotasi OBB
- Input size: 640ร640
- Optimizer: AdamW, lr=0.001