first submit.
Browse files
README.md
CHANGED
|
@@ -1,3 +1,96 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
---
|
| 3 |
+
language: multilingual
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
tags:
|
| 6 |
+
- invoice
|
| 7 |
+
- key-information-extraction
|
| 8 |
+
- kie
|
| 9 |
+
- document-understanding
|
| 10 |
+
- ocr
|
| 11 |
+
- visual-annotation
|
| 12 |
+
- checkmarks
|
| 13 |
+
- layout-analysis
|
| 14 |
+
- ukrainian
|
| 15 |
+
- chinese
|
| 16 |
+
- swedish
|
| 17 |
+
size_categories:
|
| 18 |
+
- 600 images
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
# Invoice Checkmark Annotations
|
| 22 |
+
|
| 23 |
+
**Multilingual dataset of real invoices with human-drawn visual checkmarks/circles indicating verified key fields.**
|
| 24 |
+
|
| 25 |
+
This dataset contains ~600 annotated invoice images (≈200 per language) in **Ukrainian**, **Chinese**, and **Swedish**. Each image shows **real-world invoices** where a human has manually added **checkmarks (✓)** or **circles** to highlight correctly extracted or verified fields (e.g. invoice number, buyer name, line totals, tax rate).
|
| 26 |
+
|
| 27 |
+
Every sample includes:
|
| 28 |
+
- The original scanned/photographed invoice image (with visible pen/circle markings)
|
| 29 |
+
- A JSON annotation file with:
|
| 30 |
+
- `file_name`: path to the image
|
| 31 |
+
- `data`: list of extracted fields, each with:
|
| 32 |
+
- `field`: field name (e.g. "Unique Invoice Identifier", "Vendor Business Address", "Customer/Buyer Name", "Invoice Table Row 1: Line Total Amount", "Applied Tax Percentage")
|
| 33 |
+
- `checked`: boolean (`true` if the field was marked)
|
| 34 |
+
- `text`: the extracted text string
|
| 35 |
+
|
| 36 |
+
Example annotation snippet:
|
| 37 |
+
```json
|
| 38 |
+
{
|
| 39 |
+
"file_name": "UK/187.jpeg",
|
| 40 |
+
"data": [
|
| 41 |
+
{"field": "Unique Invoice Identifier", "checked": true, "text": "#213253"},
|
| 42 |
+
{"field": "Vendor Business Address", "checked": true, "text": "Аллея Беринга 494"},
|
| 43 |
+
{"field": "Customer/Buyer Name", "checked": true, "text": "Владилена Басок"},
|
| 44 |
+
{"field": "Invoice Table Row 1: Line Total Amount", "checked": true, "text": "1,314.17 грн"},
|
| 45 |
+
{"field": "Applied Tax Percentage", "checked": true, "text": "15"}
|
| 46 |
+
]
|
| 47 |
+
}
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
Why this dataset?
|
| 51 |
+
Current public invoice datasets (e.g. FATURA, SROIE, CORD, etc.) focus mainly on clean text extraction or layout parsing.
|
| 52 |
+
This is (to our knowledge) the first public dataset that includes explicit visual human verification signals — checkmarks and circles drawn directly on the invoice images.
|
| 53 |
+
These visual cues are extremely valuable for training next-generation Document AI / VLM / KIE models that need to:
|
| 54 |
+
|
| 55 |
+
Understand human feedback/confirmation signals
|
| 56 |
+
Detect visual annotations (underlines, circles, ticks)
|
| 57 |
+
Improve reliability in high-stakes invoice processing (finance, logistics, auditing)
|
| 58 |
+
|
| 59 |
+
The idea was inspired by discussions on visual marking detection in complex documents (see the [Hacker News thread on GLM-OCR](https://news.ycombinator.com/item?id=46924075), where users highlighted the need for better handling of pen/pencil marks like checkmarks in contract/invoice analysis pipelines).
|
| 60 |
+
|
| 61 |
+
Languages & Size
|
| 62 |
+
|
| 63 |
+
```json
|
| 64 |
+
Ukrainian: ~200 images (UAH currency, Cyrillic addresses, typical UA invoice layouts)
|
| 65 |
+
Chinese: ~200 images
|
| 66 |
+
Swedish: ~200 images
|
| 67 |
+
|
| 68 |
+
Total: ≈600 images + corresponding JSON annotations.
|
| 69 |
+
Structure
|
| 70 |
+
textinvoice-checkmark-annotations/
|
| 71 |
+
├── Ukrainian/
|
| 72 |
+
│ ├── 001.jpeg
|
| 73 |
+
│ ├── 002.jpeg
|
| 74 |
+
│ ├── ...
|
| 75 |
+
│ └── label.txt
|
| 76 |
+
├── Chinese/
|
| 77 |
+
│ └── ...
|
| 78 |
+
├── Swedish/
|
| 79 |
+
│ └── ...
|
| 80 |
+
└── README.md
|
| 81 |
+
|
| 82 |
+
```
|
| 83 |
+
(You can load it easily with datasets.load_dataset("AlroWilde/invoice-checkmark-annotations") — split by language subfolders or add a language column if you prefer a flat/parquet structure later.)
|
| 84 |
+
License
|
| 85 |
+
Apache License 2.0 — feel free to use, modify, and build commercial models on top of this dataset. Attribution is appreciated but not required.
|
| 86 |
+
|
| 87 |
+
## Related Project
|
| 88 |
+
This dataset pairs well with [ocr-producer](https://github.com/alrowilde/ocr-producer) - a synthetic generator focused on documents.
|
| 89 |
+
|
| 90 |
+
Use real + synthetic data together with this checkmark-annotated set to train more robust KIE / visual-verification models.
|
| 91 |
+
|
| 92 |
+
Contact
|
| 93 |
+
Questions, collaborations, other language support, or bug reports?
|
| 94 |
+
Reach out at hi@support.alrowilde.com
|
| 95 |
+
|
| 96 |
+
Happy training! 🚀
|