analyzeImage method

Future<ScanResult> analyzeImage(
  1. String imagePath, {
  2. ScanMode? mode,
})

Analyzes an image file from local path (mobile_scanner API compatibility).

Implementation

Future<ScanResult> analyzeImage(String imagePath, {ScanMode? mode}) async {
  return await processImageFile(imagePath, mode: mode);
}