setRestorationMode

public final void setRestorationMode(RestorationMode value)

Controls optional page-image restoration before vision inference. Keep this disabled unless the pipeline is processing a photographed document page that needs restoration. In particular, use only for badly taken document photos, not for regular scans, screenshots, born-digital PDFs, or already flat images.

Parameters

value

The value to set for the RestorationMode property.