File size: 778 Bytes
4945db7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
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