# recognizeCreditCardOnImage method

Future<CreditCardScanningResult> recognizeCreditCardOnImage(

1. String imageUri,
2. CreditCardScannerConfiguration configuration

)

Recognizes credit card data from the image at `imageUri`.

## Implementation

    Future<CreditCardScanningResult> recognizeCreditCardOnImage(
        String imageUri, CreditCardScannerConfiguration configuration) async {
      return _recognizeOnImage<CreditCardScanningResult>(
          'recognizeCreditCardOnImage',
          {'imageFileUri': imageUri, 'configuration': configuration.toJson()},
          (json) => CreditCardScanningResult.fromJson(json));
    }