ScanbotSdkDocumentStraightener

Provides functionality to straighten document photos by eliminating physical deformations and surface warping, such as folds, creases, wrinkles, crumples, page and geometric bends.

Required licence feature(s): DocumentScanner, ImageProcessing.

Types

Link copied to clipboard
object Companion

Functions

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

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