# detectBarcodesOnImages static method

Future<MultiImageBarcodeScanningResult> detectBarcodesOnImages(

1. List<Uri> imageFileUris,
2. List<BarcodeFormat> barcodeFormats,
3. {List<BarcodeDocumentFormat> acceptedDocumentFormats = const <BarcodeDocumentFormat>[]}

)

Detect barcodes from the given images list

## Implementation

    static Future<MultiImageBarcodeScanningResult> detectBarcodesOnImages(
        List<Uri> imageFileUris, List<BarcodeFormat> barcodeFormats,
        {List<BarcodeDocumentFormat> acceptedDocumentFormats =
            const <BarcodeDocumentFormat>[]}) async {
      try {
        var detectFromMultipleImageParams =
            DetectBarcodeFromImageParams.fromMultiple(
          imageFileUris,
          barcodeFormats,
          acceptedDocumentFormats,
        );
        var barcodeScanningResult = await _channel.invokeMethod(
            'detectBarcodesOnImages', detectFromMultipleImageParams.toJson());
        var result = MultiImageBarcodeScanningResult.fromJson(
            jsonDecode(barcodeScanningResult));
        return result;
      } catch (e) {
        Logger.root.severe(e);
        return MultiImageBarcodeScanningResult.error("parsing exception");
      }
    }