processImage method

Future<SdkImage> processImage(
  1. XFile image
)

Processes taken image and returns new one – cropped and with corrected perspective.

Implementation

Future<SdkImage> processImage(XFile image) async {
  return compute(_processImageAsync, _ImageData(_scanner.address, image));
}