create Document Scanner
fun createDocumentScanner(configuration: DocumentScannerConfiguration = DocumentScannerConfiguration.default()): Result<DocumentScanner>
Provides DocumentScanner.
Return
a Result.Success containing a new instance of DocumentScanner or a Result.*Error if something went wrong.
Parameters
configuration
configuration for the document scanner. If not provided, default configuration will be used.