DocumentEnhancer

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

Inheritors

Functions

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

Straightens the document effectively straightening its edges and text.