recaptcha-67k / README.md
bd
Release recaptcha-67k
fae20e9
|
Raw History Blame Contribute Delete
9.91 kB
metadata
pretty_name: recaptcha-67k
license: other
license_name: mit-annotations-and-metadata
license_link: https://huggingface.co/datasets/bxding/recaptcha-67k#license
language:
  - en
task_categories:
  - image-classification
size_categories:
  - 10K<n<100K
tags:
  - image
  - recaptcha
  - computer-vision
  - grid-selection
  - multi-label-image-classification
dataset_info:
  - config_name: 3x3
    features:
      - name: file_name
        dtype: string
      - name: id
        dtype: string
      - name: grid
        dtype: string
      - name: target
        dtype: string
      - name: correct_answers
        list: int64
      - name: uncertain_cells
        list: int64
      - name: label_source
        dtype: string
      - name: label_method
        dtype: string
      - name: machine_answers
        list: int64
      - name: machine_uncertain_cells
        list: int64
      - name: machine_label_source
        dtype: string
      - name: machine_label_method
        dtype: string
      - name: reviewed
        dtype: bool
      - name: exclusion_reason
        dtype: string
  - config_name: 4x4
    features:
      - name: file_name
        dtype: string
      - name: id
        dtype: string
      - name: grid
        dtype: string
      - name: target
        dtype: string
      - name: correct_answers
        list: int64
      - name: uncertain_cells
        list: int64
      - name: label_source
        dtype: string
      - name: label_method
        dtype: string
      - name: machine_answers
        list: int64
      - name: machine_uncertain_cells
        list: int64
      - name: machine_label_source
        dtype: string
      - name: machine_label_method
        dtype: string
      - name: reviewed
        dtype: bool
      - name: exclusion_reason
        dtype: string
configs:
  - config_name: 3x3
    data_files:
      - split: train
        path: data/3x3/train/metadata.jsonl
      - split: validation
        path: data/3x3/validation/metadata.jsonl
      - split: test
        path: data/3x3/test/metadata.jsonl
      - split: review
        path: data/3x3/review/metadata.jsonl
  - config_name: 4x4
    data_files:
      - split: train
        path: data/4x4/train/metadata.jsonl
      - split: validation
        path: data/4x4/validation/metadata.jsonl
      - split: test
        path: data/4x4/test/metadata.jsonl
      - split: review
        path: data/4x4/review/metadata.jsonl

recaptcha-67k

recaptcha-67k is a dataset of 67,226 reCAPTCHA v2 image challenges. Each example includes the original challenge image, the target object (for example, "bus"), and the grid cells that contain that object. Counting each tile of a 3×3 grid as a separate photo, the challenges contain 390,210 photos.

The dataset was used to fine-tune RC1, a set of models that select the matching cells in reCAPTCHA v2 image grids.

Dataset structure

The dataset has two configurations, one for each grid type:

  • 3×3: nine separate photos arranged in a grid (300×300 JPEG, 100 px per tile).
  • 4×4: a single photo split into 16 cells (450×450 JPEG).

Each challenge is stored as a single image file, exactly as served, without resizing or recompression.

Configuration Challenges Photos Cells per challenge
3x3 40,373 363,357 9
4x4 26,853 26,853 16
Total 67,226 390,210 —

Targets

The table below shows the number of challenges for each target across all splits, including review and excluded. A dash means the target does not appear in that configuration.

Target 3×3 4×4
Bicycle 5,010 5,468
Bus 10,786 4,731
Car 5,980 —
Chimney — 13
Crosswalk 6,392 1,144
Fire hydrant 12,181 675
Motorcycle 14 8,998
Parking meter 2 7
Stairs 1 1,809
Taxi — 108
Tractor — 161
Traffic light 7 3,739

The targets are heavily imbalanced, and some appear only a few times in a given configuration.

Labels

Cells are numbered starting from 0, left to right and then top to bottom. For a 3×3 grid:

0 1 2
3 4 5
6 7 8

The correct_answers field holds the primary label for each challenge.

label_source label_method Challenges Applies to
Qwen/Qwen3.8-27B tiles-short 39,929 3×3 challenges
Qwen/Qwen3.8-27B tiles-full 144 3×3 challenges
facebook/sam3 sam 26,571 4×4 challenges
claude-opus-5-5 review 582 The review split

Label methods:

  • tiles-short: each 3×3 tile is shown to the model separately with a yes/no question that names only the target word.
  • tiles-full: the same, but the question also defines what counts as the target.
  • sam: SAM 3 segments the target in the 4×4 photo, and a cell is selected when the mask covers enough of it.
  • review: Claude Opus 5.5 reviewed the machine label and corrected it where needed.

Fields

Field Description
file_name Image path relative to the split directory
id Unique challenge ID: capture timestamp and a UUID
grid 3x3 or 4x4
target Object to select, in lowercase
correct_answers Primary label: indices of cells containing the target
uncertain_cells Cells the labeler flagged as uncertain, whether or not they are in correct_answers. Always empty for 4×4 (SAM 3 gives no uncertainty) and for the review split
label_source Model that produced the primary label
label_method How that model produced it (see above)
machine_answers Original machine-generated answer, kept even when a review changed it
machine_uncertain_cells Cells the machine labeler flagged as uncertain, with the same meaning as uncertain_cells
machine_label_source Model that produced the machine-generated answer
machine_label_method How that model produced it
reviewed true if Claude reviewed the challenge (only in the review split)
exclusion_reason Why a challenge is excluded. Null outside excluded

Outside the review split, the primary and machine fields are identical.

Some of the Claude-reviewed examples were also used to choose the labeling settings, so keep this in mind when using the review split for evaluation.

Splits

Split 3×3 4×4 Total Purpose
train 31,775 18,684 50,459 Training
validation 3,971 2,338 6,309 Model selection and hyperparameter tuning
test 3,977 2,338 6,315 Evaluation against machine-generated labels
review 300 282 582 Evaluation against Claude-reviewed labels
excluded 350 3,211 3,561 Reference only; not a configured split

Identical challenges (the same image with the same target) appear only once; extra copies are in excluded. The same image can still appear with different targets, and those copies are always in the same split. Near-duplicates are not deduplicated and may appear in different splits.

Excluded challenges

The excluded challenges are in data/<grid>/excluded/ but are not part of the configurations, so load_dataset does not return them by default. They are excluded for one of four reasons:

exclusion_reason 3×3 4×4 Meaning
duplicate_challenge 196 2,997 Extra copy of a challenge with the same image and target; the earliest copy is kept
shares_image_with_review 7 214 Exactly matches a review example, as a whole image or as a tile
empty_machine_label 133 — 3×3 machine label selected no cells; probably a labeling miss
conflicting_machine_labels 14 — Copies of the same image received different labels

To load them anyway:

from datasets import load_dataset

excluded = load_dataset(
    "json",
    data_files="recaptcha-67k/data/3x3/excluded/metadata.jsonl",
    split="train",
)

Usage

Run the following from the directory that contains recaptcha-67k, with Hugging Face Datasets installed:

from datasets import load_dataset
from pathlib import Path
from PIL import Image

data = load_dataset("./recaptcha-67k", "3x3", split="train")
example = data[0]
image = Image.open(Path("./recaptcha-67k/data/3x3/train") / example["file_name"])
example["correct_answers"]  # e.g. [0, 1, 3]

Replace "3x3" with "4x4" to load the 4×4 configuration.

Hugging Face Datasets loads file_name as a plain string rather than as an image, so you need the image files downloaded alongside the metadata to open them as shown above. Each split directory contains the image files and a metadata.jsonl file, which can also be read directly without Hugging Face Datasets.

Summary counts are available in dataset_summary.json.

Known issues

All labels are model-generated, and some are wrong. Measured on this release:

  • Machine labels disagree with Claude's review. On the review split, Claude changed the machine answer for 56 of 300 3×3 challenges (19%) and 83 of 282 4×4 challenges (29%).
  • Some 4×4 challenges have no answer. 959 of 18,684 4×4 training challenges (5%) have an empty correct_answers. This is expected: reCAPTCHA sometimes shows a 4×4 grid without the target. A few may be SAM 3 misses.
  • Some 4×4 photos are reused with different targets. 29 photos appear in two challenges each, with different targets (for example, motorcycle and bicycle).
  • Some targets are very rare. In 3×3, there is 1 stairs challenge, 2 parking meter challenges and 7 traffic light challenges. In 4×4, there are 7 parking meter and 13 chimney challenges.

Roadmap

  • Add more chimney and parking meter examples.
  • Add bridge examples so RC1 can learn to recognize bridges.

Disclaimer

This dataset was created for educational and research purposes. It is not affiliated with or endorsed by Google or reCAPTCHA.

License

The MIT License covers the contributors’ annotations and metadata. Source images are excluded.