# performOCR static method

Future<PerformOCRResult> performOCR(

1. PerformOCRArguments args

)

Performs OCR on the given input `args`.

Use this method for advanced OCR scenarios.

## Implementation

    static Future<PerformOCRResult> performOCR(PerformOCRArguments args) async {
      try {
        var result =
            await ScanbotSdk.channel.invokeMethod('performOCR', args.toJson());

        return PerformOCRResult.fromJson(jsonDecode(result));
      } catch (e) {
        Logger.root.severe(e);
        rethrow;
      }
    }