scanImage method

Future<ScanResult> scanImage(
  1. File imageFile, {
  2. ScanMode? mode,
})

Scans a local image file directly from a File object.

Implementation

Future<ScanResult> scanImage(File imageFile, {ScanMode? mode}) async {
  return await processImageFile(imageFile.path, mode: mode);
}