Datasets:
File size: 3,851 Bytes
25953f5 | 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 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 | ---
license: other
license_name: krutrim-community-license-agreement-version-1.0
license_link: LICENSE.md
task_categories:
- zero-shot-classification
language:
- en
- hi
- bn
- as
- ml
- mr
- ta
- pa
- or
- te
- kn
- gu
tags:
- image
- OCR
- rotation
- classification
pretty_name: seeingstraight
---
# ORB Rotation Benchmark
This repository contains the dataset for **“Seeing Straight: Document Orientation Detection for Efficient OCR”** (arXiv:2511.04161).
ORB Rotation Benchmark is a structured multi-domain dataset designed to evaluate document orientation detection models and their impact on downstream OCR performance.
Unlike prior document datasets that assume correct orientation, this benchmark explicitly introduces controlled rotation settings (4-class, 8-class, and 12-class configurations) across English and Indic document datasets, enabling systematic evaluation of rotation classification accuracy and OCR robustness.
The benchmark supports:
- Rotation classification benchmarking
- OCR performance evaluation with/without rotation correction
- Angle-wise error analysis
- Multilingual document evaluation
---
## Dataset Structure
The dataset consists of multiple splits corresponding to different language settings and rotation granularities.
### Splits
- `orb_en_4_class_sroie`
- `orb_en_4_class_synthdog`
- `orb_en_12_class`
- `orb_indic_4_class`
- `orb_indic_8_class`
Each split is stored as a Parquet file and is directly compatible with the Hugging Face Dataset Viewer.
---
## Data Format
Each dataset item contains:
| Field | Description |
|-------|------------|
| `image` | Document image |
| `rotation_label` | Rotation angle (integer degrees) |
| `ground_truth` | OCR ground-truth text (when available) |
### Rotation Settings
- 4-class: {0°, 90°, 180°, 270°}
- 8-class: evenly spaced rotations
- 12-class: finer-grained rotation classification
---
## Subset Description
### orb_en_4_class_sroie
English receipt dataset (SROIE-based) with 4 rotation classes and field-level OCR annotations.
### orb_en_4_class_synthdog
Synthetic English document dataset with 4 rotation classes and OCR ground truth.
### orb_en_12_class
English dataset with finer-grained 12-class rotation labels.
### orb_indic_4_class
Indic-language documents with 4 rotation classes.
### orb_indic_8_class
Indic-language documents with 8 rotation classes for higher granularity evaluation.
---
## Using the Dataset
Example usage:
```python
from datasets import load_dataset
ds = load_dataset("krutrim-ai-labs/orb_rotation_benchmark", split="orb_en_4_class_sroie")
print(ds[0])
```
## This dataset is intended for:
- Document orientation detection research
- OCR robustness evaluation
- Vision-language model benchmarking
- Multilingual document understanding
- Angle-wise performance analysis
- Evaluation Protocol
## The dataset enables:
- Rotation classification accuracy
- Angle-wise breakdown analysis
- OCR CER/WER before and after rotation correction
- Cross-language performance comparison
For full evaluation pipelines and experimental setup, refer to the paper.
## The official inference and evaluation pipeline is described in:
"Seeing Straight: Document Orientation Detection for Efficient OCR"
arXiv: https://arxiv.org/abs/2511.04161
### License
This repository is licensed under the Krutrim Community License.
### Citation
If you use this dataset, please cite:
```bibtex
@article{goswami2025seeing,
title={Seeing Straight: Document Orientation Detection for Efficient OCR},
author={Suranjan Goswami and Abhinav Ravi and Raja Kolla and Ali Faraz and Shaharukh Khan and Akash and Chandra Khatri and Shubham Agarwal},
year={2025},
eprint={2511.04161},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/pdf/2511.04161},
}
``` |