readImageData method

Future<Result<String>> readImageData(
  1. String imageFileUri
)

Reads image data from the given file uri and returns it as a Base 64 encoded string.

imageFileUri - File uri of the image to be read.

Returns a Future that completes with the Base 64 encoded representation of the image.

Implementation

Future<Result<String>> readImageData(String imageFileUri) {
  return ScanbotImageProcessorImpl.readImageData(imageFileUri);
}