ConstStraightens 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.