--- title: OCR Math Captcha emoji: 🔢 colorFrom: indigo colorTo: blue sdk: static app_file: index.html short_description: In-browser math captcha OCR, no server models: - arkhabbazan/ocr-math-captcha --- # OCR Math Captcha In-browser demo of [`arkhabbazan/ocr-math-captcha`](https://huggingface.co/arkhabbazan/ocr-math-captcha), a TrOCR fine-tune that reads short arithmetic captchas such as `26+7=?` and then evaluates the expression it read. Inference runs client-side through [transformers.js](https://github.com/huggingface/transformers.js) on ONNX weights — there is no backend, and images never leave the browser. Weights are downloaded once and cached by the browser. **Limitations.** Training data was primarily synthetic, so unseen fonts and layouts degrade accuracy. Built for short single-line expressions at 130x30, not document OCR. Use only on images you are authorized to process.