-
-
Size: 6671 images
-
Classes:
{0: 'Discount_Percentage', 1: 'Due_Date', 2: 'Email_Client', 3: 'Name_Client', 4: 'Products', 5: 'Remise', 6: 'Subtotal', 7: 'Tax', 8: 'Tax_Precentage', 9: 'Tel_Client', 10: 'billing address', 11: 'header', 12: 'invoice date', 13:
'invoice number', 14: 'shipping address', 15: 'total'}
-
Preprocessing:
- Image resizing: 640 × 640 with letterboxing
1from ultralytics import YOLO
2
3# Load model
4model = YOLO("best.pt")
5
6# Run inference
7results = model.predict("invoice.jpg")
8
9# Access results
10for box in results[0].boxes:
11 print(box.xyxy, box.conf, box.cls)