Controls optional restoration of the page image before vision inference.
using Nutrient;Values
| Name | Value | Description |
|---|---|---|
RestorationMode.Disabled | 0 | Do not run page-image restoration. This is the default and should be used for normal scans, PDF-rendered pages, born-digital documents, and reasonably captured document images. |
RestorationMode.Local | 1 | Use the local restoration path only when the input is a badly taken picture of a document page, for example a folded, warped, or perspective-distorted photo. Do not enable this for ordinary scans, screenshots, born-digital PDFs, or already flat document images. |