Glossary
Image classification CAPTCHA
An image classification CAPTCHA shows a grid of pictures and a label, such as "select all images with traffic lights", and asks the visitor to pick every matching tile.
Definition
Instead of reading text, the visitor recognises objects. The challenge presents either one image split into a grid (often 4 by 4) or several separate images (often 3 by 3), plus an instruction naming a category: buses, bicycles, crosswalks, stairs, beds, chairs. The visitor clicks the tiles that contain the object and confirms. Some grids refresh clicked tiles with new pictures until none match, which adds rounds to the same challenge.
The two families you meet most are the reCAPTCHA v2 image challenge, which appears after a checkbox click when Google wants more evidence, and the AWS WAF CAPTCHA action, which shows a grid of photos with a question about one object type.
Labels and question formats
The instruction shown to people is natural language, but the widget also carries a machine label. reCAPTCHA uses knowledge graph identifiers such as /m/015qff for traffic lights or /m/01bjv for buses. AWS WAF uses strings such as aws:grid:bed. Sending the machine label, when you can read it, removes any ambiguity from translations or wording changes in the visible text.
How solvers return tile indexes
A classification solver looks at the images, decides which ones contain the object, and returns their positions. Indexes start at 0 in the top left corner and increase left to right, then row by row. In a 3 by 3 grid, the centre tile is 4 and the bottom right is 8.
// reCAPTCHA grid task
{"type": "ReCaptchaV2Classification",
"image": "/9j/4AAQSkZJRgABAQ...",
"question": "/m/015qff"}
// solution: {"objects": [0, 3, 6]}
// AWS WAF grid task
{"type": "AwsWafClassification",
"images": ["/9j/4AAQ...", "/9j/4AAQ..."],
"question": "aws:grid:bed"}
// solution: {"objects": [1, 4]}
Your automation then clicks those tiles in the browser and presses the confirm button. For refreshing grids, capture the replaced tiles after each round and solve again until the widget lets you confirm.
When to use classification instead of a token task
For reCAPTCHA, a token task on reCAPTCHA v2 skips the grid completely: you receive a token and never see an image. That is usually simpler. Classification makes sense when you must interact with the visible widget, for example in end-to-end tests that exercise the real UI, in RPA flows recorded against the screen, or in accessibility tooling that describes the grid to a user. For AWS WAF the cookie task AWS WAF plays the same role as the token route.
Price and speed
reCAPTCHA Image Classification costs $0.28 per 1,000 solved images and AWS WAF Image Classification costs $0.42. Both are image tasks, so they return quickly; poll every second.
Capturing the images correctly
Take the images from the challenge iframe itself, at their natural size. Send the challenge as one picture, the way the widget shows it, rather than cutting it into separate tiles yourself; for AWS WAF, pass the images in the order they appear. Screenshots work too, as long as the crop is exact and the scale is not changed. A shifted crop moves every index by one, which is the most common cause of clicks landing on the wrong tiles.
Clicking the answer
Map each index to a tile element rather than to pixel coordinates when the DOM allows it; reCAPTCHA tiles are table cells you can select by position. Pause briefly between clicks, as a person would, then press verify. The grid classification guide shows the full loop, and the image CAPTCHA entry covers text pictures, which need a different task.
Why these grids keep coming back
A grid is shown only when the vendor wants more evidence, so meeting many of them is itself a signal. If your browser flow sees a grid on nearly every page, look at what raised the risk first: a datacenter IP, a headless browser with default settings, or a burst of requests. Lowering that risk often means fewer grids to solve at all.
Common questions
Where do tile indexes start?
At 0 in the top left corner, counting left to right and then row by row.
Should I send the visible question or the machine label?
Send the machine label, such as /m/015qff, when you can read it; it avoids wording and language differences.
Is the token task better than classification for reCAPTCHA?
For most automation, yes, since it skips the grid. Classification is for flows that must click the real widget.
What about grids that replace tiles after a click?
Capture the new tiles after each round and solve again until no matching tiles remain.
Why do my clicks land on the wrong tiles?
Usually the crop was shifted or scaled. Send the challenge image at natural size with an exact crop.
Keep reading
- reCAPTCHA image grids with classification tasksAnswer the reCAPTCHA picture grid inside a real browser: capture the challenge image, map the object, click the returned tile numbers.
- AWS WAF image puzzles explainedWhen to answer the AWS WAF picture grid tile by tile with AwsWafClassification, and when a token task is simpler.
- Image CAPTCHAClassic warped text pictures, how OCR models read them, and the case and length details that decide a match.
- reCAPTCHA Image Classification solver$0.28 per 1,000 tasks, answers under 1 seconds.