remiai3 commited on
Commit
f5f9e63
Β·
verified Β·
1 Parent(s): 86f7d38

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +162 -0
README.md ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ language:
4
+ - hi
5
+ size_categories:
6
+ - 100K<n<1M
7
+ ---
8
+
9
+
10
+ # 🌍 Tiny Multilingual CAPTCHA Library
11
+
12
+ **Repository:** `remiai3/tiny-captcha-library`
13
+
14
+ A multilingual dataset of **synthetic 4-character CAPTCHA images** designed for **OCR, multilingual vision models, and script recognition research**.
15
+
16
+ This dataset spans **23 world writing systems** and is especially useful for **low-resource script OCR training**.
17
+
18
+ ---
19
+
20
+ ## πŸ“Œ Dataset Summary
21
+
22
+ Each script includes **10,000 unique CAPTCHA images**.
23
+ The dataset is provided in **two parallel formats**:
24
+
25
+ - **CSV version** (standard ML workflows)
26
+ - **Parquet version** (faster loading for large-scale pipelines)
27
+
28
+ ⚠️ The images inside both folders are **identical** β€” only the label file format differs.
29
+
30
+ So per language:
31
+ - 10,000 unique images
32
+ - 10,000 duplicate copies (same images, different label format)
33
+
34
+ ---
35
+
36
+ ## πŸ—‚ Dataset Structure
37
+
38
+ tiny-captcha-library/
39
+ β”‚
40
+ β”œβ”€β”€ 4char/
41
+ β”‚ β”œβ”€β”€ <Language_Name>/
42
+ β”‚ β”‚ β”œβ”€β”€ images.zip
43
+ β”‚ β”‚ └── labels.csv
44
+ β”‚ └── ...
45
+ β”‚
46
+ β”œβ”€β”€ 4char_parquet/
47
+ β”‚ β”œβ”€β”€ <Language_Name>/
48
+ β”‚ β”‚ β”œβ”€β”€ images.zip
49
+ β”‚ β”‚ └── labels.parquet
50
+ β”‚ └── ...
51
+ β”‚
52
+ β”œβ”€β”€ Amharic.png
53
+ β”œβ”€β”€ Armenian.png
54
+ └── ...
55
+
56
+
57
+ ### Folder Details
58
+
59
+ | Folder | Contains | Purpose |
60
+ |-------|----------|---------|
61
+ | **4char/** | Images + `labels.csv` | Standard format |
62
+ | **4char_parquet/** | Same images + `labels.parquet` | Efficient ML pipelines |
63
+
64
+ Each language folder includes:
65
+ - `images.zip` β†’ CAPTCHA images
66
+ - Label file mapping image filename β†’ correct 4-character text
67
+
68
+ ---
69
+
70
+ ## 🌐 Supported Scripts
71
+
72
+ Amharic, Armenian, Cherokee, Chinese, Georgian, Hanunoo, Japanese, Kaithi, Khmer, Lao, Lisu, Miao, Modi, Myanmar, Osage, Sharada, Siddham, Soyombo, Tai Tham, Tai Viet, Takri, Thaana, Tirhuta
73
+
74
+ ---
75
+
76
+ ## πŸ–Ό Sample CAPTCHA Styles
77
+
78
+ | Script | Example |
79
+ |--------|---------|
80
+ | Amharic | ![](./Amharic.png) |
81
+ | Armenian | ![](./Armenian.png) |
82
+ | Cherokee | ![](./Cherokee.png) |
83
+ | Chinese | ![](./Chinese.png) |
84
+ | Georgian | ![](./Georgian.png) |
85
+ | Hanunoo | ![](./Hanunoo.png) |
86
+ | Japanese | ![](./Japanese.png) |
87
+ | Kaithi | ![](./Kaithi.png) |
88
+ | Khmer | ![](./Khmer.png) |
89
+ | Lao | ![](./Lao.png) |
90
+ | Lisu | ![](./Lisu.png) |
91
+ | Miao | ![](./Miao.png) |
92
+ | Modi | ![](./Modi.png) |
93
+ | Myanmar | ![](./Myanmar.png) |
94
+ | Osage | ![](./Osage.png) |
95
+ | Sharada | ![](./Sharada.png) |
96
+ | Siddham | ![](./Siddham.png) |
97
+ | Soyombo | ![](./Soyombo.png) |
98
+ | Tai Tham | ![](./TaiTham.png) |
99
+ | Tai Viet | ![](./TaiViet.png) |
100
+ | Takri | ![](./Takri.png) |
101
+ | Thaana | ![](./Thaana.png) |
102
+ | Tirhuta | ![](./Tirhuta.png) |
103
+
104
+ ---
105
+
106
+ ## 🏷 Label Format
107
+
108
+ ### CSV
109
+ | filename | label |
110
+ |----------|-------|
111
+ | img_00001.png | text |
112
+ | img_00002.png | text |
113
+
114
+ ### Parquet
115
+ Same structure as CSV but stored in columnar format.
116
+
117
+ ---
118
+
119
+ ## πŸ“Š Dataset Statistics
120
+
121
+ | Metric | Value |
122
+ |-------|------|
123
+ | Total Scripts | 23 |
124
+ | Unique Images per Script | 10,000 |
125
+ | Total Unique Images | 230,000 |
126
+ | Images Including Duplicates | 460,000 |
127
+ | Characters per CAPTCHA | 4 |
128
+
129
+ ---
130
+
131
+ ## 🎯 Intended Use
132
+
133
+ This dataset is designed for:
134
+
135
+ - Multilingual OCR training
136
+ - Vision-language model pretraining
137
+ - Script recognition research
138
+ - Robust text recognition under distortion
139
+
140
+ 🚫 Not intended for bypassing real-world CAPTCHA security systems.
141
+
142
+ ---
143
+
144
+ ## βš™οΈ Example Loading
145
+
146
+ ```python
147
+ import pandas as pd
148
+
149
+ df = pd.read_csv("labels.csv")
150
+ print(df.head())
151
+
152
+ πŸ“œ License
153
+
154
+ CC-BY 4.0
155
+
156
+ 🀝 Citation
157
+ @dataset{remiai3_tiny_captcha_library,
158
+ title={Tiny Multilingual CAPTCHA Library},
159
+ author={remiai3},
160
+ year={2026},
161
+ publisher={Hugging Face}
162
+ }