Doc Scan
A paper invoice read by a machine: a scan bar sweeps the sheet, each field gets a highlight, and its value is typed into an extracted panel with a check and a confidence meter.
pixikit.com/docs/blocks/illustrations/doc-scan
Customize
Autoplay
Loop
Speed1.0x
Height360px
Width560px
Props
10| Name | Type | Default | Description |
|---|---|---|---|
fields | DocScanField[] | DEFAULT_FIELDS | The fields found on the sheet; the last one sits in the total row. Up to nine are drawn. |
title | string | "Tax invoice" | The heading printed at the top of the sheet. |
doneLabel | string | "All fields read" | The line shown in the panel header when every field is read. |
autoplay | boolean | true | Starts when the scene scrolls into view; when off it waits for the replay button. |
loop | boolean | true | Starts over after a short hold. |
speed | number | 1 | A multiplier for the pace of the scene. |
height | number | 360 | The height of the scene in px. |
width | number | 560 | The widest the scene grows, in px. It shrinks to fit a narrower parent. |
replayLabel | string | "Replay" | What screen readers call the replay button. |
className | string | None |