NeoCode77's picture
docs: tambah model card
4945db7 verified
---
license: mit
tags:
- object-detection
- yolov8
- obb
- receipt
- ocr
---
# 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
```python
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