scanImage static method

Future<List<UCode>> scanImage({
  1. String? path,
  2. Uint8List? bytes,
  3. UCodeScanOptions options = const UCodeScanOptions(multiple: true),
  4. UScanEngine engine = UScanEngine.auto,
})

Finds every QR/barcode in an image file or bytes (all platforms, no camera needed). await UCamera.scanImage(bytes: imageBytes)

Implementation

static Future<List<UCode>> scanImage({String? path, Uint8List? bytes, UCodeScanOptions options = const UCodeScanOptions(multiple: true), UScanEngine engine = UScanEngine.auto}) =>
    UCameraController.analyzeImage(path: path, bytes: bytes, options: options, engine: engine);