# recognizeGenericDocumentOnImage static method

Future<GenericDocumentRecognizerResult> recognizeGenericDocumentOnImage(

1. String imageUri

)

## Implementation

    static Future<GenericDocumentRecognizerResult>
        recognizeGenericDocumentOnImage(String imageUri) async {
      return _recognizeOnImage<GenericDocumentRecognizerResult>(
        'recognizeGenericDocumentOnImage',
        {'imagefileUri': imageUri},
        (json) => GenericDocumentRecognizerResult.fromJson(json),
        () => GenericDocumentRecognizerResult.canceled(),
        (error) => GenericDocumentRecognizerResult.error(error),
      );
    }