Image detect document
Try it interactively →POST /api/image-detect-documentDetect a paper document in a photo (the four corner points) and return a rectified, top-down PNG. Useful as a building block for scan-from-photo apps.
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| image* | file | — | JPEG, PNG, WebP, or BMP photograph containing a document. |
Response
Modes: json. Cache: yes (24h TTL).