analyzeImage method

Future<BarcodeCapture?> analyzeImage(
  1. String path, {
  2. List<BarcodeFormat> formats = const <BarcodeFormat>[],
})

Analyze a local image file for barcodes.

The path is the path to the file on disk. The formats specify the barcode formats that should be detected.

If formats is empty, all barcode formats will be detected.

Returns the barcodes that were found in the image.

Implementation

Future<BarcodeCapture?> analyzeImage(
  String path, {
  List<BarcodeFormat> formats = const <BarcodeFormat>[],
}) {
  throw UnimplementedError('analyzeImage() has not been implemented.');
}