DocumentStraightener

Interface for DocumentStraightener API. See class documentation for more details.

Inheritors

Functions

Link copied to clipboard
abstract fun run(image: ImageRef, parameters: DocumentStraighteningParameters = DocumentStraighteningParameters( ), priorCornersNormalized: List<PointF> = listOf( )): Result<DocumentStraighteningResult>

Straightens document photos by eliminating physical deformations and surface warping, such as folds, creases, wrinkles, crumples, page curls, and geometric bends.