Darayut commited on
Commit
c569656
·
verified ·
1 Parent(s): 8ee2b96

Dataset card

Browse files
Files changed (1) hide show
  1. README.md +41 -19
README.md CHANGED
@@ -1,21 +1,43 @@
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: 1168907
13
- num_examples: 325
14
- download_size: 1149968
15
- dataset_size: 1168907
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
+ pretty_name: KHOB (325 lines)
12
+ size_categories:
13
+ - n<1K
 
 
 
 
 
 
 
14
  ---
15
+
16
+ # KHOB, 325 text lines
17
+
18
+ 325 Khmer text-line images with their transcriptions, cropped from the [Khmer OCR Benchmark (KHOB)](https://github.com/EKYCSolutions/khmer-ocr-benchmark-dataset) by EKYC Solutions: scanned Cambodian government documents with clean backgrounds and compression artefacts. One image is one line.
19
+
20
+ This is the KHOB test set in the [Netra OCR](https://github.com/netra-ai-lab/Netra-OCR) results, where the recognizer scores 0.96% CER with beam search and 1.29% greedy.
21
+
22
+ | Column | |
23
+ | --- | --- |
24
+ | `image` | the line crop |
25
+ | `label` | its text |
26
+ | `file_name` | the original crop's name: task, document and line number |
27
+
28
+ ## Use
29
+
30
+ ```python
31
+ from datasets import load_dataset
32
+ ds = load_dataset("Netra-Lab/khob-eval", split="train")
33
+ ```
34
+
35
+ With the Netra OCR repository, the `khob` preset scores any model on it:
36
+
37
+ ```bash
38
+ bash training/evaluate.sh published --test khob
39
+ ```
40
+
41
+ ## License
42
+
43
+ MIT, as the original KHOB dataset. Credit: EKYC Solutions, [khmer-ocr-benchmark-dataset](https://github.com/EKYCSolutions/khmer-ocr-benchmark-dataset).