Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,21 +1,52 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
- name: train
|
| 12 |
-
num_bytes: 34006173
|
| 13 |
-
num_examples: 1555
|
| 14 |
-
download_size: 33800486
|
| 15 |
-
dataset_size: 34006173
|
| 16 |
-
configs:
|
| 17 |
-
- config_name: default
|
| 18 |
-
data_files:
|
| 19 |
-
- split: train
|
| 20 |
-
path: data/train-*
|
| 21 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- bn
|
| 4 |
+
task_categories:
|
| 5 |
+
- image-to-text
|
| 6 |
+
tags:
|
| 7 |
+
- ocr
|
| 8 |
+
- bangla
|
| 9 |
+
- document-understanding
|
| 10 |
+
- vision-language
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
# Bangla OCR Validation Dataset (Printed + Scanned)
|
| 15 |
+
|
| 16 |
+
## 📌 Description
|
| 17 |
+
|
| 18 |
+
This dataset is a Bangla OCR validation dataset containing a mix of printed document images and their corresponding text annotations. It is designed to evaluate OCR and vision-language models on both clean digital text and scanned document images.
|
| 19 |
+
|
| 20 |
+
## 📊 Dataset Composition
|
| 21 |
+
|
| 22 |
+
- 1507 **line-level images** with text annotations
|
| 23 |
+
- 50 **full-page document images** with text
|
| 24 |
+
- Data includes:
|
| 25 |
+
- Printed/typed Bangla text (clean)
|
| 26 |
+
- Scanned document images (noisy, real-world)
|
| 27 |
+
|
| 28 |
+
## 🧾 Features
|
| 29 |
+
|
| 30 |
+
Each sample contains:
|
| 31 |
+
|
| 32 |
+
- `image`: Input image (line or page)
|
| 33 |
+
- `text`: Ground-truth Bangla transcription
|
| 34 |
+
- `type`: Indicates data type (`line` or `page`)
|
| 35 |
+
|
| 36 |
+
## 🎯 Use Cases
|
| 37 |
+
|
| 38 |
+
- Bangla OCR evaluation
|
| 39 |
+
- Document understanding
|
| 40 |
+
- Vision-language model validation
|
| 41 |
+
- Robustness testing (clean vs scanned)
|
| 42 |
+
|
| 43 |
+
## 🚀 Usage
|
| 44 |
+
|
| 45 |
+
```python
|
| 46 |
+
from datasets import load_dataset
|
| 47 |
+
|
| 48 |
+
dataset = load_dataset("arobin79/bangla-ocr-validation_data_printed")
|
| 49 |
+
|
| 50 |
+
sample = dataset["train"][0]
|
| 51 |
+
print(sample["text"])
|
| 52 |
+
sample["image"].show()
|