deepcopy commited on
Commit
4f82284
·
verified ·
1 Parent(s): 75ace98

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +88 -3
README.md CHANGED
@@ -28,7 +28,7 @@ dataset_info:
28
  num_bytes: 1635422184.212
29
  num_examples: 4649
30
  - name: val
31
- num_bytes: 308708516.0
32
  num_examples: 856
33
  - name: test
34
  num_bytes: 709594994.982
@@ -44,7 +44,92 @@ configs:
44
  path: data/val-*
45
  - split: test
46
  path: data/test-*
 
 
 
 
 
 
 
 
47
  ---
48
- # Dataset Card for "IBEM-v1-math-detection"
49
 
50
- [More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  num_bytes: 1635422184.212
29
  num_examples: 4649
30
  - name: val
31
+ num_bytes: 308708516
32
  num_examples: 856
33
  - name: test
34
  num_bytes: 709594994.982
 
44
  path: data/val-*
45
  - split: test
46
  path: data/test-*
47
+ task_categories:
48
+ - object-detection
49
+ tags:
50
+ - math
51
+ - equation
52
+ - latex
53
+ size_categories:
54
+ - 1K<n<10K
55
  ---
56
+ # IBEM Full: Mathematical Expression Annotations on Scientific Pages
57
 
58
+ 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.
59
+
60
+ ## Dataset Summary
61
+
62
+ 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:
63
+
64
+ * Mathematical expression detection (localization and classification)
65
+ * Document understanding and layout parsing
66
+ * End-to-end systems for recognizing math expressions in context
67
+
68
+ Each record in the dataset includes:
69
+
70
+ * A full-page image from a LaTeX source document
71
+ * A unique page identifier
72
+ * A list of expressions (`expressions`), where each item contains:
73
+
74
+ * The raw LaTeX string (`latex`)
75
+ * A normalized version of the LaTeX string (`latex_norm`)
76
+ * An expanded version with macros resolved (`latex_expand`)
77
+ * Normalized bounding box coordinates (`x_min`, `y_min`, `x_max`, `y_max`) relative to image dimensions
78
+ * The expression type (`expr_type`: either `"isolated"` or `"embedded"`)
79
+
80
+ ## Dataset Structure
81
+
82
+ ### Features
83
+
84
+ ```python
85
+ features = Features({
86
+ "image": Image(),
87
+ "page_id": Value("string"),
88
+ "expressions": Sequence({
89
+ "latex": Value("string"),
90
+ "latex_norm": Value("string"),
91
+ "latex_expand": Value("string"),
92
+ "x_min": Value("float32"),
93
+ "y_min": Value("float32"),
94
+ "x_max": Value("float32"),
95
+ "y_max": Value("float32"),
96
+ "expr_type": Value("string"),
97
+ }),
98
+ })
99
+ ```
100
+
101
+ ### Splits
102
+
103
+ 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.
104
+
105
+ ## Source
106
+
107
+ **Citation:**
108
+
109
+ > 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)
110
+
111
+ ## Original Dataset Description
112
+
113
+ The original IBEM dataset consists of 600 LaTeX documents with a total of 8,272 pages, containing:
114
+
115
+ * 29,603 isolated (displayed) mathematical expressions
116
+ * 137,089 embedded (in-line) mathematical expressions
117
+
118
+ It was created by parsing LaTeX source files from the KDD Cup Collection and supports a wide range of tasks such as:
119
+
120
+ * Mathematical expression detection and extraction
121
+ * LaTeX OCR / recognition
122
+ * Search and indexing in scientific literature
123
+
124
+ ## Preprocessing Notes
125
+
126
+ * Bounding boxes are provided in relative coordinates (percentage of image width/height).
127
+ * No cropping was applied — images retain their full-page content.
128
+ * Multiple expressions per page are stored in a single list under `"expressions"`.
129
+ * Expression-level `latex`, `latex_expand`, and `latex_norm` were directly taken from the original ground truth.
130
+ * Expressions split across lines are preserved with their full content.
131
+
132
+ ## Licensing
133
+
134
+ This dataset is distributed under the same license as the original IBEM dataset:
135
+ **Creative Commons Attribution 4.0 International (CC BY 4.0)**