Yesianrohn commited on
Commit
23200ac
·
verified ·
1 Parent(s): 7241a5f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +67 -3
README.md CHANGED
@@ -1,3 +1,67 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # UnionST: A Strong Synthetic Engine for Scene Text Recognition
2
+
3
+ Official data synthesis code of the paper *"What’s Wrong with Synthetic Data for Scene Text Recognition? A Strong Synthetic Engine with Diverse Simulations and Self-Evolution"*.
4
+
5
+
6
+ ## Introduction
7
+ Scene Text Recognition (STR) relies critically on large-scale, high-quality training data. While synthetic data provides a cost-effective alternative to manually annotated real data, existing rendering-based synthetic datasets suffer from **insufficient diversity** (corpus/font/layout) and a large domain gap with real-world text.
8
+
9
+ ### Key Advantages
10
+ - 🎯 **100% Label Correctness**: Rendering-based paradigm ensures accurate labels (unlike generative models with aesthetic but error-prone outputs).
11
+ - ⚡ **Cost-Efficiency**: CPU-based generation costs only 1/20 of diffusion-based methods and 1/10,000 of closed-source alternatives.
12
+ - 🚀 **Strong Performance**: UnionST-S (5M samples) outperforms 36M-scale traditional synthetic datasets on challenging STR benchmarks.
13
+
14
+
15
+ ## Dataset
16
+
17
+ UnionST-S, UnionST-P, and UnionST-R datasets (each containing 5M samples) can be downloaded here.
18
+
19
+ ## Training Model
20
+ [OpenOCR](https://github.com/Topdu/OpenOCR)
21
+
22
+ ```bash
23
+ cd OpenOCR
24
+ torchrun --nproc_per_node=8 tools/train_rec.py --c configs/rec/nrtr/svtrv2_nrtr_unionst.yml
25
+ ```
26
+ Some of our trained models can be found at [Huggingface](https://huggingface.co/Yesianrohn/UnionST-Models).
27
+
28
+ ## Citation
29
+ ```bash
30
+ TBD
31
+ ```
32
+
33
+ ## License
34
+ ```bash
35
+ """
36
+ UnionST
37
+ Copyright (c) 2025-present YesianRohn
38
+ Based on SynthTIGER
39
+ Copyright (c) 2021-present NAVER Corp.
40
+ MIT License
41
+ """
42
+
43
+ Permission is hereby granted, free of charge, to any person obtaining a copy
44
+ of this software and associated documentation files (the "Software"), to deal
45
+ in the Software without restriction, including without limitation the rights
46
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
47
+ copies of the Software, and to permit persons to whom the Software is
48
+ furnished to do so, subject to the following conditions:
49
+
50
+ The above copyright notice and this permission notice shall be included in
51
+ all copies or substantial portions of the Software.
52
+
53
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
54
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
55
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
56
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
57
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
58
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
59
+ THE SOFTWARE.
60
+ ```
61
+
62
+
63
+ ## Acknowledgements
64
+ - We thank the [SynthText](https://github.com/ankush-me/SynthText), [SynthTIGER](https://github.com/clovaai/synthtiger), [SVTRv2](https://github.com/Topdu/OpenOCR/blob/main/docs/svtrv2.md) and [Union14M](https://github.com/Mountchicken/Union14M) for their open-source code/datasets.
65
+ - Special thanks also go to the training framework: [OpenOCR](https://github.com/Topdu/OpenOCR).
66
+
67
+