ScanbotDocumentEnhancer

Functions

Link copied to clipboard

Forces the Ready-To-Use UI Document Cleanup screen to close if it is currently open.

Link copied to clipboard
abstract fun startDocumentCleanupScreen(configuration: DocumentCleanupStandaloneConfiguration, onResult: (Result<DocumentData>) -> Unit, onCanceled: () -> Unit? = null)

Opens the Ready-To-Use UI screen to clean up the document using the provided configuration.

Link copied to clipboard
abstract fun straightenImage(image: ImageRef, straighteningParameters: DocumentStraighteningParameters, priorCornersNormalized: List<PointF>? = null): Result<DocumentStraighteningResult>

Straightens the document effectively straightening its edges and text.