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+
---
|
| 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 |  |
|
| 81 |
+
| Armenian |  |
|
| 82 |
+
| Cherokee |  |
|
| 83 |
+
| Chinese |  |
|
| 84 |
+
| Georgian |  |
|
| 85 |
+
| Hanunoo |  |
|
| 86 |
+
| Japanese |  |
|
| 87 |
+
| Kaithi |  |
|
| 88 |
+
| Khmer |  |
|
| 89 |
+
| Lao |  |
|
| 90 |
+
| Lisu |  |
|
| 91 |
+
| Miao |  |
|
| 92 |
+
| Modi |  |
|
| 93 |
+
| Myanmar |  |
|
| 94 |
+
| Osage |  |
|
| 95 |
+
| Sharada |  |
|
| 96 |
+
| Siddham |  |
|
| 97 |
+
| Soyombo |  |
|
| 98 |
+
| Tai Tham |  |
|
| 99 |
+
| Tai Viet |  |
|
| 100 |
+
| Takri |  |
|
| 101 |
+
| Thaana |  |
|
| 102 |
+
| Tirhuta |  |
|
| 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 |
+
}
|