Scan local document images
abox_document_scanCorrects perspective using explicit corners from a local JSON file, cleans photo, color, grayscale, or mono pages, and exports a new PDF or PNG with verified output.
Instructions
Perspective-correct explicit document corners from a local JSON file, then clean up photo, color, grayscale or monochrome pages into a new PDF or one PNG. Source warping insets edges by 3–6 pixels. Does not detect corners or perform OCR. Verifies rendered output pixels or PDF image payloads and page layout. Requires a local browser.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | ||
| mode | No | colour | |
| format | No | ||
| quality | No | ||
| max_side | No | ||
| strength | No | ||
| margin_mm | No | ||
| page_size | No | ||
| config_path | Yes | Absolute local filesystem path. URLs and network shares are refused. | |
| input_paths | Yes | ||
| output_path | Yes | Absolute local filesystem path. URLs and network shares are refused. |