scanFromImageFileUri method

Future<Result<DocumentScanningResult>> scanFromImageFileUri(
  1. String image,
  2. DocumentScannerConfiguration configuration
)

Scans a document from the provided image.

image - The image to be scanned. configuration - The configuration to be used for scanning.

Returns a Future that completes with result of the scanning process.

Implementation

Future<Result<DocumentScanningResult>> scanFromImageFileUri(
    String image, DocumentScannerConfiguration configuration) {
  return ScanbotDocumentImpl.scanFromImageFileUri(image, configuration);
}