Datasets:
Upload CSV files and text_images archives
Browse files- K_STR_Bench/GIST_Signboard/text_images.tar +3 -0
- K_STR_Bench/KAIST_Corrected/text_images.tar +3 -0
- K_STR_Bench/text.v1.0.csv +0 -0
- README.md +40 -6
- Union14M_Benchmark/text.v1.0.csv +0 -0
- Union14M_Benchmark/text_images.tar +3 -0
- Union14M_General/text_images.tar +3 -0
- Union14M_General/text_v.1.0.csv +0 -0
K_STR_Bench/GIST_Signboard/text_images.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:39789e8362b0e83729110950f909635ce405701cbdaf03ee3943cd72bb9facb4
|
| 3 |
+
size 831595008
|
K_STR_Bench/KAIST_Corrected/text_images.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d2de67a85dcf784f9880221bee4310c6ea81e39fae4440a0cf7e97bc372f6cd6
|
| 3 |
+
size 51105280
|
K_STR_Bench/text.v1.0.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
README.md
CHANGED
|
@@ -33,9 +33,9 @@ Atomic multi-tag annotations for **K-STR-Bench** and **Union14M**. One text crop
|
|
| 33 |
|
| 34 |
Myounghun Han, Jin-Hyuk Hong · WACV 2027
|
| 35 |
|
| 36 |
-
[](#citation) [](https://huggingface.co/datasets/hoonisone/AtomicTags)
|
| 37 |
|
| 38 |
-
Accepted to **WACV 2027**. The proceedings link is not available yet. This release is [hoonisone/AtomicTags](https://huggingface.co/datasets/hoonisone/AtomicTags).
|
| 39 |
|
| 40 |
## Data Sources
|
| 41 |
|
|
@@ -43,19 +43,53 @@ Accepted to **WACV 2027**. The proceedings link is not available yet. This relea
|
|
| 43 |
|
| 44 |
**Union14M.** A scene text recognition dataset collected from 14 public datasets (Jiang et al., ICCV 2023). [GitHub](https://github.com/Mountchicken/Union14M). Union14M-L and Union14M-Benchmark are released from that repository. The splits here are `Union14M_Benchmark` and `Union14M_General`. Each CSV and its image folder already contain only the crops in this release. Tag columns in these tables are separate from the original Union14M annotations.
|
| 45 |
|
|
|
|
|
|
|
| 46 |
```text
|
| 47 |
K_STR_Bench/
|
| 48 |
├── text.v1.0.csv
|
| 49 |
-
├── GIST_Signboard/text_images
|
| 50 |
-
└── KAIST_Corrected/text_images
|
| 51 |
Union14M_Benchmark/
|
| 52 |
├── text.v1.0.csv
|
| 53 |
-
└── text_images
|
| 54 |
Union14M_General/
|
| 55 |
├── text_v.1.0.csv
|
| 56 |
-
└── text_images
|
| 57 |
```
|
| 58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
## License
|
| 60 |
|
| 61 |
Source code is under the MIT License. That license does not cover the images or the annotations.
|
|
|
|
| 33 |
|
| 34 |
Myounghun Han, Jin-Hyuk Hong · WACV 2027
|
| 35 |
|
| 36 |
+
[](#citation) [](https://huggingface.co/datasets/hoonisone/AtomicTags)
|
| 37 |
|
| 38 |
+
Accepted to **WACV 2027**. The proceedings link is not available yet. This release is [hoonisone/AtomicTags](https://huggingface.co/datasets/hoonisone/AtomicTags).
|
| 39 |
|
| 40 |
## Data Sources
|
| 41 |
|
|
|
|
| 43 |
|
| 44 |
**Union14M.** A scene text recognition dataset collected from 14 public datasets (Jiang et al., ICCV 2023). [GitHub](https://github.com/Mountchicken/Union14M). Union14M-L and Union14M-Benchmark are released from that repository. The splits here are `Union14M_Benchmark` and `Union14M_General`. Each CSV and its image folder already contain only the crops in this release. Tag columns in these tables are separate from the original Union14M annotations.
|
| 45 |
|
| 46 |
+
Image folders are stored as `text_images.tar`. The CSV files stay beside those archives. Extracting an archive recreates a `text_images` folder next to it. This release does not include the inclusive and exclusive label files.
|
| 47 |
+
|
| 48 |
```text
|
| 49 |
K_STR_Bench/
|
| 50 |
├── text.v1.0.csv
|
| 51 |
+
├── GIST_Signboard/text_images.tar
|
| 52 |
+
└── KAIST_Corrected/text_images.tar
|
| 53 |
Union14M_Benchmark/
|
| 54 |
├── text.v1.0.csv
|
| 55 |
+
└── text_images.tar
|
| 56 |
Union14M_General/
|
| 57 |
├── text_v.1.0.csv
|
| 58 |
+
└── text_images.tar
|
| 59 |
```
|
| 60 |
|
| 61 |
+
## How to use
|
| 62 |
+
|
| 63 |
+
Download this dataset, then extract each `text_images.tar`. The CSV files are already unpacked. `image_path` is relative to the folder that contains the CSV. Create the inclusive and exclusive label files from the CSV with the code on [GitHub](https://github.com/hoonisone/AtomicTags).
|
| 64 |
+
|
| 65 |
+
```bash
|
| 66 |
+
git clone https://github.com/hoonisone/AtomicTags.git
|
| 67 |
+
cd AtomicTags
|
| 68 |
+
pip install -U huggingface_hub
|
| 69 |
+
hf download hoonisone/AtomicTags --repo-type dataset --local-dir data
|
| 70 |
+
tar -xf data/K_STR_Bench/GIST_Signboard/text_images.tar -C data/K_STR_Bench/GIST_Signboard
|
| 71 |
+
tar -xf data/K_STR_Bench/KAIST_Corrected/text_images.tar -C data/K_STR_Bench/KAIST_Corrected
|
| 72 |
+
tar -xf data/Union14M_Benchmark/text_images.tar -C data/Union14M_Benchmark
|
| 73 |
+
tar -xf data/Union14M_General/text_images.tar -C data/Union14M_General
|
| 74 |
+
python prepare.py --dataset-dir data --pipeline make_tag_labels
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
`labels/inclusive/stylized.txt`
|
| 78 |
+
|
| 79 |
+
```text
|
| 80 |
+
0/gist_7_4.jpg 이글
|
| 81 |
+
0/gist_7_5.jpg 피플
|
| 82 |
+
```
|
| 83 |
+
|
| 84 |
+
`labels/inclusive/stylized.jsonl`
|
| 85 |
+
|
| 86 |
+
```json
|
| 87 |
+
{"filename":"0/gist_7_4.jpg","text":"이글","width":87,"height":74}
|
| 88 |
+
{"filename":"0/gist_7_5.jpg","text":"피플","width":104,"height":202}
|
| 89 |
+
```
|
| 90 |
+
|
| 91 |
+
`labels/exclusive/stylized.txt` and `labels/exclusive/stylized.jsonl` use the same two formats.
|
| 92 |
+
|
| 93 |
## License
|
| 94 |
|
| 95 |
Source code is under the MIT License. That license does not cover the images or the annotations.
|
Union14M_Benchmark/text.v1.0.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
Union14M_Benchmark/text_images.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9fda4dcba71cb3f1dcdcd6621488c60562516ab1b3ccc74e4570066d0a574511
|
| 3 |
+
size 188221440
|
Union14M_General/text_images.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b448bc0638d9f2f1cc4dcc3486caf682f3ca347d9a52882d9f51440ff33b776
|
| 3 |
+
size 38471680
|
Union14M_General/text_v.1.0.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|