scanFromImageRef method

Future<Result<BarcodeScannerResult>> scanFromImageRef(
  1. ImageRef image,
  2. BarcodeScannerConfiguration configuration
)

Scans Barcode from a given image with the desired configuration.

image - The image to be used for scanning. configuration - The Barcode scanner configuration to be used for scanning.

Returns a Future that completes with the result of the Barcode scanning operation.

Implementation

Future<Result<BarcodeScannerResult>> scanFromImageRef(
    ImageRef image, BarcodeScannerConfiguration configuration) {
  return ScanbotBarcodeImpl.scanFromImageRef(image, configuration);
}