STRAIGHTEN

In addition to perspective correction, remove paper deformations such as creases, curl, folds and crinkles. This does not apply any filtering to enhance the image, such as shadow removal or contrast enhancement - it only straightens the geometry of the document. Requires the docstraighten asset to be present at runtime (on platforms where assets can be optional). Will fail if the asset is not available.