Accuracy
| Captcha | Example | Correct | Right when reliable |
|---|---|---|---|
| Rotate, disc and ring | within 10° | 90.3% | 94.8% |
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 works
With a ring, the colours just inside the disc's edge and just inside the ring's hole are a few pixels apart in the original photo, so at the right turn they line up. The engine compares them, and how they change around the circle, at every degree and keeps the best match. Puzzles were made from public-domain museum photos; the figures above use photos that were never used while building it.
Send a request
Install steps are on the SDK pages.
curl -s https://captchaocr.allvoraz.com/v1/solve_rotate \
-H "Authorization: Bearer $CAPTCHA_API_KEY" \
-H 'Content-Type: application/json' \
-d "{\"image\": \"$(base64 < disc.png | tr -d '\n')\", \"ring\": \"$(base64 < ring.png | tr -d '\n')\"}"Questions
What do I send?
The inner disc as image and the outer ring as ring, both base64, to POST /v1/solve_rotate.
What comes back?
angle: how many degrees to turn the inner disc clockwise, 0 to 359. Map it to the page's slider or drag as the page expects.
Does it work without the ring?
Not yet. Picture-only rotate captchas (turn a photo upright) come back with error model_unavailable, unreliable and not charged. With the ring, the disc is lined up by matching colours across the cut (method: ring).
How accurate is it?
90% of answers were within 10 degrees on 300 disc-and-ring puzzles from photos it never saw, and 95% of the answers it marked reliable were right.

