Skip to content
Captcha OCR

Number word captcha solverbeta

Some sites write the sum in words: seven plus 3 = ? or What is twenty one minus four? Send {"math": true, "words": true} and the API returns the answer.

Captcha reading seven plus 3

How it reads the image

The model reads the line as letters and symbols. A parser then finds the number words and operators, turns twenty one into 21, and does the sum. × and ÷ are applied before + and −, and a division that does not come out whole is not answered. If anything in the line is not a number, an operator or a known filler word, reliable is false and you are not charged.

Related engines

Synthetic accuracy

CaptchaExampleCorrectRight when reliable
English number wordsseven plus 3 = ?100.0%100.0%

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 with {"math": true, "words": true}. text is the answer (10) and expression is the sum that was parsed (7+3).

Which words are understood?

zero to nineteen, the tens up to ninety, hundred, and digits mixed with words. Operators: plus, add, minus, less, times, multiplied by, into, divided by, over, and the symbols + − × ÷.

What about the question around the sum?

Words such as "what is", "solve", "calculate" and "equals" are ignored. The answer depends only on the numbers and operators.

Is it case-sensitive?

No. SEVEN, Seven and seven are the same number.

How accurate is it?

It is beta. The table above is from synthetic captchas. No live word-sum captchas have been measured yet.