Skip to content
Captcha OCR

Multilingual captcha solverbeta

Letters and digits in ten Brahmic scripts. Set script and decoding is limited to that script, so a Telugu captcha never comes back with Kannada letters. Bengali and Assamese have a model of their own (85.7% and 87.0% on fonts it never saw).

Telugu captcha with letters and digits

Supported scripts

scriptLanguagesCharacters
devanagariHindi, Marathi, Nepali, Konkaniक ख ग … ० १ २
bengaliBengaliক খ গ … ০ ১ ২
assameseAssamese (Bengali letters with ৰ and ৱ)ক ৰ ৱ … ০ ১ ২
gurmukhiPunjabiਕ ਖ ਗ … ੦ ੧ ੨
gujaratiGujaratiક ખ ગ … ૦ ૧ ૨
odiaOdiaକ ଖ ଗ … ୦ ୧ ୨
tamilTamilக ங ச … ௦ ௧ ௨
teluguTeluguక ఖ గ … ౦ ౧ ౨
kannadaKannadaಕ ಖ ಗ … ೦ ೧ ೨
malayalamMalayalamക ഖ ഗ … ൦ ൧ ൨

Vowels, consonants, vowel signs, virama, anusvara, visarga and the native digits are covered. Rare letters (vocalic R/L, nukta forms, Om) are not, since captcha generators do not use them.

Options

length is ignored for these scripts, because one letter can be several Unicode code points.

Synthetic accuracy

CaptchaExampleCorrectRight when reliable
DevanagariHindi, Marathi, Nepali74.7%85.5%
Bengaliits own Bengali-script model85.7%90.7%
AssameseBengali letters with ৰ ৱ; its own model87.0%91.6%
GurmukhiPunjabi80.0%87.9%
Gujarati75.0%87.1%
Odia80.3%92.9%
Tamil87.7%93.8%
Telugu58.7%78.5%
Kannada80.7%91.5%
Malayalam89.3%95.5%

300 fresh synthetic captchas per row, scored end to end through the solver. No live captchas of this kind have been measured yet, so treat these as an upper bound for clean images. Test on your own site first.

Send a request

Swap the sample options for the ones above. Install steps are on the SDK pages.

curl -s https://captchaocr.allvoraz.com/v1/solve \
  -H "Authorization: Bearer $CAPTCHA_API_KEY" \
  -H 'Content-Type: application/json' \
  -d "{\"image\": \"$(base64 < captcha.png | tr -d '\n')\", \"numeric\": true, \"length\": 6}"

Questions

What do I send?

POST the image to /v1/solve with script set to the captcha's script, for example {"script": "tamil"}. text is returned in Unicode (NFC). Add numeric: true when the captcha is only native digits.

Are native digits converted to 0-9?

No. text keeps the characters the captcha shows, such as ௩௭. Convert on your side if the form expects ASCII.

Does it read Hindi sums?

A sum written in Hindi words, such as बीस + पाँच, is the Hindi math engine: math: true and hindi: true. script is for codes that are just letters or digits.

Can I mix script with math, uppercase or symbols?

No. Those options are for Latin captchas, and the API returns 422 if you combine them with a non-Latin script.

How accurate is it?

It is beta. The table above is from synthetic captchas. No live captchas in these scripts have been measured yet, so try a batch from your site before you rely on it.