Darayut commited on
Commit
d2959c0
·
verified ·
1 Parent(s): a9973d5

Dataset card

Browse files
Files changed (1) hide show
  1. README.md +43 -19
README.md CHANGED
@@ -1,21 +1,45 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: image
5
- dtype: image
6
- - name: label
7
- dtype: string
8
- - name: file_name
9
- dtype: string
10
- splits:
11
- - name: train
12
- num_bytes: 9950864
13
- num_examples: 5000
14
- download_size: 9902504
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.