Skip to content
Captcha OCR

Audio captcha solver

Many captchas have a speaker button that reads the code aloud. Send that sound to POST /v1/solve_audio and get the code back as text, ready to type. Built for the Securimage audio of the eCourts and High Court portals.

A synthetic Securimage-style audio captcha (6 characters under crowd noise).

Measured on live audio captchas

CaptchaWhereSampleCorrectReliable
Audio captchas (Securimage)the eCourts district-court and High Court portals120 live audio captchas, labelled by the image of the same session100%100%

Synthetic audio

CaptchaExampleCorrectRight when reliable
Audio: Securimage defaults6 characters under crowd noise99.7%99.7%
Audio: extra noise, other sample rates10-20 dB noise, 8-44.1 kHz, 4-8 characters99.7%99.7%
Audio: spoken sums"nine plus three" -> 12100.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.

How it reads the audio

Securimage builds its audio from fixed recordings of each character. The engine slides each recording along the audio and keeps the strongest matches that do not overlap, in time order. A clean match scores about 0.98 even under the background noise; a voice it does not know scores low, so the answer is marked unreliable instead of guessed. It is fast (about half a second for a 10-second clip) and needs no GPU.

Prefer images? The same captcha's image is read by the text engine.

Send a request

Install steps are on the SDK pages.

curl -s https://captchaocr.allvoraz.com/v1/solve_audio \
  -H "Authorization: Bearer $CAPTCHA_API_KEY" \
  -H 'Content-Type: application/json' \
  -d "{\"audio\": \"$(base64 < captcha.wav | tr -d '\n')\"}"

Questions

What do I send?

The audio file the captcha's play-audio button downloads, base64-encoded, to POST /v1/solve_audio. WAV (any sample rate) and MP3 work. The answer comes back in text, with confidence and the same reliable flag as image captchas.

Which audio captchas does it read?

Securimage audio: its recordings of the letters A-Z, 0-20 and "plus", "minus" and "times", joined with pauses and mixed with background noise. That is the PHP captcha behind the eCourts district-court portal and the High Court services portal, and many other PHP sites. Audio in another voice comes back unreliable (and free) rather than wrong.

Why does it return lower case?

Spoken letters have no case. Securimage codes are case-insensitive unless a site turns that on, so lower case is accepted. Set uppercase: true if a form wants capitals.

Does it solve spoken sums?

Yes. "Nine plus three" comes back as 12, with the sum in expression, like the image math engine.

How accurate is it?

It read all 120 live audio captchas collected from the two eCourts portals (each checked against the image captcha of the same session), and 99-100% of synthetic Securimage audio, including extra noise and other sample rates.

Is the image or the audio better for eCourts?

Both work. The image engine already reads these captchas well; the audio is a second, independent reading, useful when the image is hard to read or when you want to cross-check.