File size: 1,033 Bytes
a9973d5
d2959c0
 
 
 
 
 
 
 
 
 
 
 
 
a9973d5
d2959c0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
44
45
46
---
license: mit
language:
- km
task_categories:
- image-to-text
tags:
- ocr
- khmer-ocr
- benchmark
- synthetic
pretty_name: Khmer Printed Words
size_categories:
- 1K<n<10K
---

# Khmer Printed Words

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.

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.

| Column | |
| --- | --- |
| `image` | the word image |
| `label` | its text |
| `file_name` | the original file name |

## Use

```python
from datasets import load_dataset
ds = load_dataset("Netra-Lab/khmer-printed-words", split="train")
```

With the Netra OCR repository, the `printed-words` preset scores any model on it:

```bash
bash training/evaluate.sh published --test printed-words
bash training/evaluate.sh published --test Netra-Lab/khmer-printed-words:train[:500]   # as in the results
```

## License

MIT. Made by Netra Lab.