Datasets:
Dataset card
Browse files
README.md
CHANGED
|
@@ -1,21 +1,45 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
dataset_size: 9950864
|
| 16 |
-
configs:
|
| 17 |
-
- config_name: default
|
| 18 |
-
data_files:
|
| 19 |
-
- split: train
|
| 20 |
-
path: data/train-*
|
| 21 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: mit
|
| 3 |
+
language:
|
| 4 |
+
- km
|
| 5 |
+
task_categories:
|
| 6 |
+
- image-to-text
|
| 7 |
+
tags:
|
| 8 |
+
- ocr
|
| 9 |
+
- khmer-ocr
|
| 10 |
+
- benchmark
|
| 11 |
+
- synthetic
|
| 12 |
+
pretty_name: Khmer Printed Words
|
| 13 |
+
size_categories:
|
| 14 |
+
- 1K<n<10K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
---
|
| 16 |
+
|
| 17 |
+
# Khmer Printed Words
|
| 18 |
+
|
| 19 |
+
5,000 synthetic images of short, isolated Khmer words in 10 fonts, with their text. Most training lines are mid-to-long, so this set tests short input.
|
| 20 |
+
|
| 21 |
+
It is the "Printed Words" test set in the [Netra OCR](https://github.com/netra-ai-lab/Netra-OCR) results, which use its first 500 lines.
|
| 22 |
+
|
| 23 |
+
| Column | |
|
| 24 |
+
| --- | --- |
|
| 25 |
+
| `image` | the word image |
|
| 26 |
+
| `label` | its text |
|
| 27 |
+
| `file_name` | the original file name |
|
| 28 |
+
|
| 29 |
+
## Use
|
| 30 |
+
|
| 31 |
+
```python
|
| 32 |
+
from datasets import load_dataset
|
| 33 |
+
ds = load_dataset("Netra-Lab/khmer-printed-words", split="train")
|
| 34 |
+
```
|
| 35 |
+
|
| 36 |
+
With the Netra OCR repository, the `printed-words` preset scores any model on it:
|
| 37 |
+
|
| 38 |
+
```bash
|
| 39 |
+
bash training/evaluate.sh published --test printed-words
|
| 40 |
+
bash training/evaluate.sh published --test Netra-Lab/khmer-printed-words:train[:500] # as in the results
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
## License
|
| 44 |
+
|
| 45 |
+
MIT. Made by Netra Lab.
|