← All models / Table Transformer Structure v1.1-all / Multi-model

multi-model · 2-stage document AI pipeline · WASM · 30 MB + 30.3 MB

Two-Stage Document Table Pipeline

Real documents aren't pre-cropped tables — they mix headings, paragraphs, footers, and multiple tables on one page. Here two real models run locally in parallel Web Workers: Stage 1 (Xenova/table-transformer-detection) locates every table region on the page, crops it with a 6% margin, and hands that crop to Stage 2 (Xenova/table-transformer-structure-recognition-v1.1-all) to extract exact rows, columns, headers, and cells.

Two on-device models

Each stage manages its own local cache and memory independently via the shared auto-init loader. Once both stages are ready, run the complete two-stage pipeline in a single click.

Stage 1 · Detection Xenova/table-transformer-detection (~30 MB, q8)

Stage 2 · Structure v1.1-all Xenova/table-transformer-structure-recognition-v1.1-all (30.3 MB, q8)

Run the two-stage document pipeline

Drop a full-page document screenshot/scan here, or click to choose

Stage 1 · Full Document Page — detected table regions:

Stage 2 · Cropped Table Structure — rows, columns, headers & spans:

Run both stages to see the reconstructed table grid extracted from the full document…

End-to-end JSON payload

Combines Stage 1 page-level table coordinates with Stage 2 crop-level row, column, and cell coordinates.

Run both stages to produce the combined document + cell structure JSON.