Companion

object Companion

Functions

Link copied to clipboard
fun create(image: ImageRef, configuration: DocumentCleanupConfiguration = DocumentCleanupConfiguration( )): Result<ScanbotSdkDocumentCleanup>

Initializes the document cleanup. When the keepText option is enabled (see DocumentCleanupConfiguration), text detection will be run, which can be time-consuming. For better user experience, consider running the document cleanup constructor asynchronously.