Yesianrohn commited on
Commit
a97a130
·
verified ·
1 Parent(s): ade1fb2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +182 -3
README.md CHANGED
@@ -1,3 +1,182 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ task_categories:
4
+ - image-to-text
5
+ language:
6
+ - en
7
+ tags:
8
+ - scene-text-recognition
9
+ - STR
10
+ - OCR
11
+ - artistic-text
12
+ - wordart
13
+ - synthetic-data
14
+ - lmdb
15
+ size_categories:
16
+ - 1M<n<10M
17
+ pretty_name: WATER-Data
18
+ configs: []
19
+ ---
20
+
21
+ # WATER-Data: Datasets for WordArt-Oriented Scene Text Recognition
22
+
23
+ **WATER-Data** is the official dataset release for the paper
24
+ **"Advancing WordArt-Oriented Scene Text Recognition: Datasets and Methods" (ECCV 2026)**.
25
+
26
+ WordArt (artistic text) features highly customized fonts, textures, and layouts, making
27
+ **WA**ordArt-oriented scene **TE**xt **R**ecognition (**WATER**) substantially more challenging
28
+ than general Scene Text Recognition (STR). The primary bottleneck for WATER is the lack of
29
+ large-scale, stylistically diverse, and reliably annotated data. WATER-Data addresses this gap
30
+ by providing a large-scale synthetic suite, a carefully deduplicated real training set, and a
31
+ dedicated artistic-text benchmark.
32
+
33
+ - 📄 **Paper (arXiv):** https://arxiv.org/abs/2606.24484
34
+ - 💻 **Code:** https://github.com/YesianRohn/WATER
35
+ - 🧠 **Model code (OpenOCR-WATERec):** https://github.com/YesianRohn/OpenOCR-WATERec
36
+ - 🏋️ **Model weights:** https://huggingface.co/Yesianrohn/WATERec-Models
37
+ - 🖋️ **Artistic fonts:** https://huggingface.co/datasets/Yesianrohn/artistic-fonts
38
+ - 📝 **WATER-Z captions:** https://huggingface.co/datasets/Yesianrohn/WATER-Z_Captions
39
+
40
+ ---
41
+
42
+ ## Dataset Overview
43
+
44
+ WATER-Data contains three components: a synthetic training suite (**WATER-S**), a real training
45
+ set (**WATER-R**), and an artistic-text evaluation benchmark (**WordArt-Bench**).
46
+
47
+ | Component | Subset | Role | #Instances | Source |
48
+ |-----------|--------|------|-----------|--------|
49
+ | **WATER-S** | WATER-T | Synthetic train | ~1M | Tool-based rendering (SynthWordArt) |
50
+ | **WATER-S** | WATER-Z | Synthetic train | ~1M | Generative model (Qwen3-VL + Z-Image) |
51
+ | **WATER-R** | – | Real train | 3,225,130 | Union14M-L + WordArt-Train + WAS-R (deduplicated) |
52
+ | **WordArt-Bench** | – | Evaluation | 1,511 | WordArt test split |
53
+
54
+ All subsets are English WordArt in the current release.
55
+
56
+ ---
57
+
58
+ ## Directory Structure
59
+
60
+ Every split is stored as a standalone **LMDB** database (`data.mdb` + `lock.mdb`), the format
61
+ used by the [OpenOCR](https://github.com/Topdu/OpenOCR) framework.
62
+
63
+ ```
64
+ WATER-Data/
65
+ ├── WATER-R/ # Real training set (~11.8 GB)
66
+ │ ├── data.mdb
67
+ │ └── lock.mdb
68
+ ├── WATER-S/ # Synthetic training suite
69
+ │ ├── WATER-T/ # Tool-rendered subset
70
+ │ │ ├── data.mdb
71
+ │ │ └── lock.mdb
72
+ │ └── WATER-Z/ # Model-generated subset
73
+ │ ├── data.mdb
74
+ │ └── lock.mdb
75
+ └── WordArt-Bench/ # Artistic-text benchmark (~325 MB)
76
+ ├── data.mdb
77
+ └── lock.mdb
78
+ ```
79
+
80
+ ---
81
+
82
+ ## Subset Details
83
+
84
+ ### WATER-S — Synthetic Suite (≈2M)
85
+ A 2M-scale synthetic artistic-text dataset, improving the scale of existing artistic text data
86
+ by hundreds of times. It consists of two complementary subsets:
87
+
88
+ - **WATER-T (Tool-based Rendering, ~1M).** Generated with **SynthWordArt**, an artistic-text
89
+ rendering engine built on SynthText / SynthTIGER. It replaces standard fonts with a library of
90
+ **11,250 artistic fonts** and adds rich layout patterns (curved lines, vertical text,
91
+ multi-orientation layouts, perspective and stretching). It offers **precise control** over text
92
+ content, font, and layout, with perfectly accurate labels.
93
+ - **WATER-Z (Model-based Generation, ~1M).** Generated by an automatic few-shot prompt-mining
94
+ pipeline: **Qwen3-VL-8B** mines fine-grained captions (with an editable text placeholder) from
95
+ real artistic text, expands them into **273,488 high-quality prompts**, and **Z-Image-Turbo**
96
+ synthesizes images at 256×256. It offers **higher realism and diversity** in background texture,
97
+ layout composition, and global visual style.
98
+
99
+ WATER-T and WATER-Z are complementary: WATER-T provides strong controllability and label accuracy,
100
+ while WATER-Z provides natural, design-like style diversity. Training on their combination covers
101
+ both the "strongly controlled" and "style-diverse" regimes.
102
+
103
+ ### WATER-R — Real Training Set (3.2M)
104
+ A real-world training set re-constructed from three sources:
105
+ [Union14M-L](https://github.com/Mountchicken/Union14M),
106
+ [WordArt-Train](https://github.com/xdxie/WordArt), and
107
+ [WAS-R](https://github.com/xdxie/WordArt). **Strict hashing deduplication** is performed against all
108
+ evaluation sets to avoid label leakage. It contains **3,225,130** text instances.
109
+
110
+ ### WordArt-Bench — Evaluation Benchmark
111
+ The artistic-text evaluation benchmark (test split of WordArt), with **1,511** images, used to
112
+ report recognition accuracy. In the paper, our WATERec baseline reaches **90.40%** accuracy on this
113
+ benchmark — the first result to exceed 90% — surpassing both general-purpose and OCR-specialized
114
+ vision-language models by a large margin.
115
+
116
+ ---
117
+
118
+ ## Usage
119
+
120
+ Each LMDB database stores image–label pairs in the OpenOCR convention. A minimal reading example:
121
+
122
+ ```python
123
+ import lmdb
124
+
125
+ env = lmdb.open(
126
+ "WATER-Data/WordArt-Bench", # folder containing data.mdb / lock.mdb
127
+ readonly=True, lock=False, readahead=False, meminit=False,
128
+ )
129
+
130
+ with env.begin(write=False) as txn:
131
+ num_samples = int(txn.get(b"num-samples"))
132
+ # keys follow the OpenOCR layout, e.g.:
133
+ # image-000000001 -> raw image bytes
134
+ # label-000000001 -> ground-truth text
135
+ img_buf = txn.get(b"image-000000001")
136
+ label = txn.get(b"label-000000001").decode("utf-8")
137
+
138
+ print(num_samples, label)
139
+ ```
140
+
141
+ For training and evaluation, we recommend using the official framework
142
+ [OpenOCR-WATERec](https://github.com/YesianRohn/OpenOCR-WATERec), which consumes these LMDB
143
+ databases directly.
144
+
145
+ To download the dataset:
146
+
147
+ ```bash
148
+ # Requires: pip install -U "huggingface_hub[cli]"
149
+ hf download Yesianrohn/WATER-Data --repo-type dataset --local-dir ./WATER-Data
150
+ ```
151
+
152
+ ---
153
+
154
+ ## Intended Use
155
+
156
+ WATER-Data is intended for **research** on scene text recognition, especially artistic / WordArt
157
+ text. Typical uses include: training and benchmarking STR models, studying synthetic-data
158
+ strategies (tool-based vs. generative), and evaluating general / OCR-specialized VLMs on
159
+ challenging stylized text.
160
+
161
+ ---
162
+
163
+ ## License
164
+
165
+ Released under the **Apache 2.0** license. The dataset is built upon publicly available STR data
166
+ sources (Union14M-L, WordArt, WAS-R) and synthetic content; please also respect the original
167
+ licenses of these underlying datasets.
168
+
169
+ ---
170
+
171
+ ## Citation
172
+
173
+ If you use WATER-Data in your research, please cite our paper:
174
+
175
+ ```bibtex
176
+ @inproceedings{water2026eccv,
177
+ title = {Advancing WordArt-Oriented Scene Text Recognition: Datasets and Methods},
178
+ author = {Ye, Xingsong and Du, Yongkun and Zhang, Jiaxin and Zhang, Haojie and Sun, Chong and Li, Chen and Lyu, Jing and Chen, Zhineng},
179
+ booktitle = {European Conference on Computer Vision (ECCV)},
180
+ year = {2026}
181
+ }
182
+ ```