Datasets:
File size: 4,326 Bytes
214c9e2 2fe2dc4 34d0caf 2fe2dc4 34d0caf 2fe2dc4 2ed04f4 214c9e2 ee97a7b 33bed70 83749f3 33bed70 ed8c9c1 214c9e2 33bed70 214c9e2 33bed70 214c9e2 33bed70 c863b61 214c9e2 33bed70 214c9e2 881fb74 214c9e2 33bed70 214c9e2 33bed70 214c9e2 33bed70 ee97a7b 214c9e2 33bed70 ee97a7b 214c9e2 33bed70 214c9e2 33bed70 214c9e2 33bed70 214c9e2 33bed70 214c9e2 33bed70 214c9e2 33bed70 214c9e2 33bed70 214c9e2 33bed70 214c9e2 33bed70 881fb74 33bed70 214c9e2 33bed70 214c9e2 33bed70 214c9e2 6cd08cf 214c9e2 6cd08cf 214c9e2 33bed70 214c9e2 33bed70 214c9e2 33bed70 214c9e2 30d12a1 214c9e2 33bed70 214c9e2 33bed70 214c9e2 33bed70 214c9e2 33bed70 214c9e2 33bed70 214c9e2 33bed70 214c9e2 33bed70 214c9e2 33bed70 214c9e2 33bed70 214c9e2 33bed70 214c9e2 33bed70 214c9e2 33bed70 47eb068 33bed70 47eb068 33bed70 214c9e2 33bed70 214c9e2 47eb068 214c9e2 33bed70 214c9e2 33bed70 214c9e2 2ed04f4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 | ---
license: cc-by-4.0
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
- split: test
path: data/test-*
dataset_info:
features:
- name: image
dtype: image
- name: ocr_text
dtype: string
- name: result
dtype: int64
splits:
- name: train
num_bytes: 60582512.0
num_examples: 10000
- name: test
num_bytes: 70989855.334
num_examples: 11766
download_size: 132297385
dataset_size: 131572367.334
task_categories:
- question-answering
tags:
- captcha
- math
- mathcaptcha
- math-captcha
- mvccaptcha
---
<p align="center">
<img src="https://cdn-uploads.huggingface.co/production/uploads/65e3c559d26b426e3e1994f8/gI5XYkSxvcw3E9GAfDEZG.png" />
</p>
<div align="center">

</div>
## Dataset Details
* **Dataset Name:** MathCaptcha10k
* **Curated by:** Atalay Denknalbant
* **License:** Creative Commons Attribution 4.0 International (CC BY 4.0)
* **Repository:** [https://www.kaggle.com/datasets/atalaydenknalbant/mathcaptcha10k](https://www.kaggle.com/datasets/atalaydenknalbant/mathcaptcha10k)
### Dataset Description
A corpus of 10 000 synthetic arithmetic‐captcha images rendered at 200×70 px. Each image contains exactly two base-10 numbers (1–2 digits), a single `+` or `–` operator, an `=` sign and a trailing question mark (e.g. `96-41=?`). Every example in the **train** split includes:
| image | ocr\_text | result |
| -------------------------- | --------- | ------ |
| `96-41=?` | "96-41=?" | 55 |
…where `ocr_text` is the exact characters in the image, and `result` is the integer answer.
The **test** split consists of 11 766 unlabeled captchas in `Unlabeled/` folder.
---
## Examples of the Captchas
**Easy example**

**Challenging example**

> Even state-of-the-art vision-language models often mis‐OCR the more distorted variants (see the “challenging” sample above).
---
## Uses
* **Direct uses**:
* Train and evaluate OCR/vision-language models on simple arithmetic recognition.
* Benchmark visual math-solving capabilities.
* **Out-of-scope uses**:
* Handwritten digit OCR.
* Complex mathematical notation beyond two-term arithmetic.
---
## Dataset Structure
* **Splits**
* `train` (10 000 labeled examples)
* `test` (11 766 `.png` files in `Unlabeled/`)
* **Features**
* `image` (PNG file)
* `ocr_text` (string, e.g. `"75-26=?"`)
* `result` (int, e.g. `49`)
---
## Dataset Creation
### Curation Rationale
Synthetic captchas provide a controlled environment for training and benchmarking. Even top tier vision language methods struggle with some distortions motivating manual QA to ensure label accuracy.
### Source Data
Programmatically generated using [CaptchaMvc.Mvc5](https://www.nuget.org/packages/CaptchaMvc.Mvc5)’s standard arithmetic template.
### Data Collection & Processing
1. Generate 10 000 PNG captchas via CaptchaMvc.Mvc5.
2. Run a VLM-based OCR pipeline, then manually verify and correct every label in a Streamlit QA app.
**Annotator:**
* Atalay Denknalbant
---
## Personal & Sensitive Information
None. Captchas contain no personal data.
---
## Bias, Risks & Limitations
* Purely synthetic; may not generalize to natural or handwritten text.
* Limited to two-term, 1–2 digit arithmetic.
---
## Recommendations
Combine with broader OCR datasets for real-world text recognition tasks.
---
## Citation
```bibtex
@misc{atalay_denknalbant_2025,
title = {MathCaptcha10k},
author = {Atalay Denknalbant},
year = {2025},
howpublished = {\url{https://www.kaggle.com/ds/7779792}},
publisher = {Kaggle},
DOI = {10.34740/KAGGLE/DS/7779792}
}
```
**APA**
> Denknalbant, A. (2025). *MathCaptcha10k* \[Data set]. Kaggle. [https://doi.org/10.34740/KAGGLE/DS/7779792](https://doi.org/10.34740/KAGGLE/DS/7779792)
## Dataset Card Authors
* Atalay Denknalbant
## Dataset Card Contact
* Atalay Denknalbant (questions & feedback) |