ConstForces the Ready-To-Use UI Document Cleanup screen to close if it is currently open.
Opens the Ready-To-Use UI screen to clean up the document using the provided configuration.
The configuration to be used for the cleanup RTU-UI.
Straightens the document effectively straightening its edges and text.
The image of the document to straighten.
OptionalpriorCornersNormalized?: Point[]If the corners are already known (e.g. from a prior detection), they can be provided here. The enhancer may take them into account to locate the document more accurately.
The parameters to use for straightening.
Entry point for all Document Enhancer features.