# detectBarcodesOnImage static method

Future<BarcodeScannerResult> detectBarcodesOnImage(

1. Uri imageFileUri,
2. BarcodeScannerConfiguration barcodeScannerConfiguration

)

Detects barcodes on an image file at `imageFileUri` using the specified `barcodeScannerConfiguration`.

This method runs barcode detection in the background without showing any UI.

## Implementation

    static Future<BarcodeScannerResult> detectBarcodesOnImage(
      Uri imageFileUri,
      BarcodeScannerConfiguration barcodeScannerConfiguration,
    ) async {
      return await SharedCalls.detectBarcodesFromImage(
          channel, imageFileUri, barcodeScannerConfiguration);
    }