File size: 2,952 Bytes
37eb0bd
 
a51b143
37eb0bd
fe33077
37eb0bd
 
 
25122da
 
37eb0bd
 
c9d43fa
37eb0bd
 
c9d43fa
37eb0bd
 
c9d43fa
37eb0bd
c9d43fa
 
a51b143
 
 
 
 
 
 
 
 
 
 
 
 
 
37eb0bd
 
 
 
 
 
 
 
 
a51b143
 
 
 
f086b2b
 
 
 
 
 
 
 
 
 
 
37eb0bd
8e572d3
4f8e1fb
8e572d3
4f8e1fb
8e572d3
4f8e1fb
8e572d3
4f8e1fb
 
 
 
8e572d3
4f8e1fb
 
 
 
079e868
8e572d3
4f8e1fb
 
 
 
 
 
8e572d3
4f8e1fb
 
 
 
 
8e572d3
4f8e1fb
 
8e572d3
4f8e1fb
8e572d3
4f8e1fb
 
8e572d3
4f8e1fb
8e572d3
4f8e1fb
8e572d3
 
 
4f8e1fb
 
 
 
 
 
 
 
079e868
4f8e1fb
 
 
 
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
---
dataset_info:
- config_name: default
  features:
  - name: id
    dtype: string
  - name: label
    dtype: string
  - name: image
    dtype: image
  splits:
  - name: train
    num_bytes: 12241195541
    num_examples: 601152
  - name: eval
    num_bytes: 1529748306
    num_examples: 75136
  - name: test
    num_bytes: 1533972964
    num_examples: 75168
  download_size: 15095694848
  dataset_size: 15304916811
- config_name: updated_schema
  features:
  - name: id
    dtype: string
  - name: label
    dtype: string
  - name: url
    dtype: string
  splits:
  - name: train
    num_bytes: 176527069
    num_examples: 601152
  download_size: 55583886
  dataset_size: 176527069
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
  - split: eval
    path: data/eval-*
  - split: test
    path: data/test-*
- config_name: updated_schema
  data_files:
  - split: train
    path: updated_schema/train-*
license: odc-by
task_categories:
- image-to-text
language:
- bo
tags:
- OCR
- Tibetan
- Line-to-text
size_categories:
- 100K<n<1M
---

# Dataset Card for OCR-Google_Books

A line-to-text dataset for Tibetan OCR.

## Dataset Details

### Dataset Description
- **Curated by:** Buddhist Digital Resource Center
- **Language:** Tibetan
- **Total Samples:** 751,456 line images with text transcriptions

### Dataset Structure
- **Features:**
  - `id`: Image file identifier
  - `label`: Text transcription
  - `image`: Image of a line of Tibetan text

- **Splits:**
  - **Train:** 601,152 samples (37.3M characters)
  - **Eval:** 75,136 samples (4.7M characters)  
  - **Test:** 75,168 samples (4.7M characters)

## Uses

### Direct Use
- Training and evaluation of Tibetan OCR models
- Multi-script OCR development
- Comparative analysis of modern vs. traditional printing methods
- Large-scale OCR model pretraining

### Out-of-Scope Use
- Not be suitable for handwritten Tibetan texts

## Dataset Creation

### Curation Rationale and Process
This dataset was created to support the development of robust OCR systems for Tibetan literature, encompassing both modern typography and traditional woodblock printing methods. The inclusion of multiple scripts and printing techniques makes it valuable for training models that can handle diverse Tibetan textual sources.

The dataset is constructed from Google Books scans of Tibetan texts, with Line-level image-text pairs extracted from scanned pages

## Usage

```python
from datasets import load_dataset

# Load training split
dataset = load_dataset("openpecha/OCR-Google_Books", split="train")

# Example features
print(dataset[0])
# {'id': 'I1KG1163750042_0025',
#'label':'ཡིན་པས་ཆབ་སྲིད་དང་འབྲེལ་བ་བྱུང་བ་ཙམ་ལ་ངོ་མཚར་དགོས་དོན་གང་',
#'image': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=860x45>}
```

## Dataset Contact
BDRC - help@bdrc.org