Datasets:
File size: 4,410 Bytes
d6d8edf 127ae26 4f82284 127ae26 75ace98 d6d8edf 127ae26 75ace98 4f82284 d6d8edf 4f82284 d6d8edf 4f82284 |
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 |
---
dataset_info:
features:
- name: image
dtype: image
- name: page_id
dtype: string
- name: expressions
sequence:
- name: latex
dtype: string
- name: latex_norm
dtype: string
- name: latex_expand
dtype: string
- name: x_min
dtype: float32
- name: y_min
dtype: float32
- name: x_max
dtype: float32
- name: y_max
dtype: float32
- name: expr_type
dtype: string
splits:
- name: train
num_bytes: 1635422184.212
num_examples: 4649
- name: val
num_bytes: 308708516
num_examples: 856
- name: test
num_bytes: 709594994.982
num_examples: 1942
download_size: 2615759043
dataset_size: 2653725695.194
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
- split: val
path: data/val-*
- split: test
path: data/test-*
task_categories:
- object-detection
tags:
- math
- equation
- latex
size_categories:
- 1K<n<10K
---
# IBEM Full: Mathematical Expression Annotations on Scientific Pages
A structured version of the [IBEM Dataset](https://doi.org/10.5281/zenodo.7963703) (Anitei et al., 2023), designed for training and evaluation of mathematical expression detection models. This variant retains full page images and provides bounding box annotations for all mathematical expressions, enabling end-to-end layout analysis and object detection tasks.
## Dataset Summary
This dataset is derived from the original IBEM corpus by preserving full-page scientific document images and annotating all mathematical expressions using their corresponding bounding boxes and LaTeX transcriptions. It is intended for:
* Mathematical expression detection (localization and classification)
* Document understanding and layout parsing
* End-to-end systems for recognizing math expressions in context
Each record in the dataset includes:
* A full-page image from a LaTeX source document
* A unique page identifier
* A list of expressions (`expressions`), where each item contains:
* The raw LaTeX string (`latex`)
* A normalized version of the LaTeX string (`latex_norm`)
* An expanded version with macros resolved (`latex_expand`)
* Normalized bounding box coordinates (`x_min`, `y_min`, `x_max`, `y_max`) relative to image dimensions
* The expression type (`expr_type`: either `"isolated"` or `"embedded"`)
## Dataset Structure
### Features
```python
features = Features({
"image": Image(),
"page_id": Value("string"),
"expressions": Sequence({
"latex": Value("string"),
"latex_norm": Value("string"),
"latex_expand": Value("string"),
"x_min": Value("float32"),
"y_min": Value("float32"),
"x_max": Value("float32"),
"y_max": Value("float32"),
"expr_type": Value("string"),
}),
})
```
### Splits
The dataset is split into `train`, `val`, and `test` subsets using the official partition files (`Tr*.lst`, `Va*.lst`, `Ts*.lst`) provided by the original authors.
## Source
**Citation:**
> Anitei, D., Sánchez, J. A., & Benedí, J. M. (2023). The IBEM Dataset: a large printed scientific image dataset for indexing and searching mathematical expressions (1.0) \[Data set]. Zenodo. [https://doi.org/10.5281/zenodo.7963703](https://doi.org/10.5281/zenodo.7963703)
## Original Dataset Description
The original IBEM dataset consists of 600 LaTeX documents with a total of 8,272 pages, containing:
* 29,603 isolated (displayed) mathematical expressions
* 137,089 embedded (in-line) mathematical expressions
It was created by parsing LaTeX source files from the KDD Cup Collection and supports a wide range of tasks such as:
* Mathematical expression detection and extraction
* LaTeX OCR / recognition
* Search and indexing in scientific literature
## Preprocessing Notes
* Bounding boxes are provided in relative coordinates (percentage of image width/height).
* No cropping was applied — images retain their full-page content.
* Multiple expressions per page are stored in a single list under `"expressions"`.
* Expression-level `latex`, `latex_expand`, and `latex_norm` were directly taken from the original ground truth.
* Expressions split across lines are preserved with their full content.
## Licensing
This dataset is distributed under the same license as the original IBEM dataset:
**Creative Commons Attribution 4.0 International (CC BY 4.0)** |